Lines Matching refs:ASPEED_I2C_CMD_REG
34 #define ASPEED_I2C_CMD_REG 0x14 macro
177 writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_do_stop()
187 command = readl(bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_recover_bus()
209 else if (!(readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_recover_bus()
220 bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_recover_bus()
232 else if (!(readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_recover_bus()
298 command = readl(bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
324 writel(ASPEED_I2CD_S_TX_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
335 writel(ASPEED_I2CD_S_TX_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
345 writel(ASPEED_I2CD_M_S_RX_CMD_LAST, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
397 writel(command, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_do_start()
486 writel(readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_master_irq()
488 bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_master_irq()
536 bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_master_irq()
572 writel(command, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_master_irq()
692 (readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_master_xfer()
722 (readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_master_xfer()