Lines Matching refs:ASPEED_I2C_CMD_REG
39 #define ASPEED_I2C_CMD_REG 0x14 macro
169 command = readl(bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_recover_bus()
179 writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_recover_bus()
191 else if (!(readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_recover_bus()
202 bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_recover_bus()
214 else if (!(readl(bus->base + ASPEED_I2C_CMD_REG) & in aspeed_i2c_recover_bus()
243 command = readl(bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
294 writel(ASPEED_I2CD_S_TX_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
303 writel(ASPEED_I2CD_S_TX_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_slave_irq()
350 writel(command, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_do_start()
357 writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_do_stop()
467 bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_master_irq()
503 writel(command, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_master_irq()
588 if (readl(bus->base + ASPEED_I2C_CMD_REG) & ASPEED_I2CD_BUS_BUSY_STS) { in aspeed_i2c_master_xfer()