Home
last modified time | relevance | path

Searched refs:ctlr_base (Results 1 – 1 of 1) sorted by relevance

/arch/powerpc/boot/
Dmv64x60_i2c.c58 static u8 *ctlr_base; variable
67 status = in_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_STATUS)) in mv64x60_i2c_wait_for_status()
77 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_CONTROL), control & 0xff); in mv64x60_i2c_control()
83 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_CONTROL), control & 0xff); in mv64x60_i2c_read_byte()
86 return in_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_DATA)) & 0xff; in mv64x60_i2c_read_byte()
91 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_DATA), data & 0xff); in mv64x60_i2c_write_byte()
92 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_CONTROL), control & 0xff); in mv64x60_i2c_write_byte()
104 if (ctlr_base == NULL) in mv64x60_i2c_read()
108 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_SOFT_RESET), 0); in mv64x60_i2c_read()
109 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_SLAVE_ADDR), 0); in mv64x60_i2c_read()
[all …]