Lines Matching refs:writeb
181 writeb(idx, base + (IFDR << reg_shift)); in bus_i2c_set_bus_speed()
184 writeb(I2CR_IDIS, base + (I2CR << reg_shift)); in bus_i2c_set_bus_speed()
185 writeb(0, base + (I2SR << reg_shift)); in bus_i2c_set_bus_speed()
205 writeb(sr | I2SR_IAL, base + in wait_for_sr_state()
208 writeb(sr & ~I2SR_IAL, base + in wait_for_sr_state()
234 writeb(I2SR_IIF_CLEAR, base + (I2SR << reg_shift)); in tx_byte()
235 writeb(byte, base + (I2DR << reg_shift)); in tx_byte()
266 writeb(temp, base + (I2CR << reg_shift)); in i2c_imx_stop()
295 writeb(I2CR_IEN, base + (I2CR << reg_shift)); in i2c_init_transfer_()
301 writeb((chip << 1) ^ 2, base + (IADR << reg_shift)); in i2c_init_transfer_()
302 writeb(I2SR_IIF_CLEAR, base + (I2SR << reg_shift)); in i2c_init_transfer_()
310 writeb(temp, base + (I2CR << reg_shift)); in i2c_init_transfer_()
317 writeb(temp, base + (I2CR << reg_shift)); in i2c_init_transfer_()
437 writeb(I2CR_IDIS, i2c_bus->base + (I2CR << reg_shift)); in i2c_init_transfer()
487 writeb(temp, base + (I2CR << reg_shift)); in i2c_read_data()
488 writeb(I2SR_IIF_CLEAR, base + (I2SR << reg_shift)); in i2c_read_data()
510 writeb(temp, base + (I2CR << reg_shift)); in i2c_read_data()
512 writeb(I2SR_IIF_CLEAR, base + (I2SR << reg_shift)); in i2c_read_data()
545 writeb(temp, base + (I2CR << reg_shift)); in bus_i2c_read()
705 writeb(I2C_IFDR_DIV_CONSERVATIVE, base + (IFDR << reg_shift)); in i2c_early_init_f()
707 writeb(I2CR_IDIS, base + (I2CR << reg_shift)); in i2c_early_init_f()
708 writeb(0, base + (I2SR << reg_shift)); in i2c_early_init_f()
710 writeb(I2CR_IEN, base + (I2CR << reg_shift)); in i2c_early_init_f()
920 writeb(ret, base + (I2CR << reg_shift));