Lines Matching refs:writeb
159 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_writeb()
161 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
162 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_writeb()
166 writeb(off, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
171 writeb(val, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
178 writeb(I2C_PCF_STOP, bp->i2c_control_regs + 0x0); in bbc_i2c_writeb()
189 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_readb()
191 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
192 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
196 writeb(off, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
201 writeb(I2C_PCF_STOP, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
205 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
206 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
217 writeb(I2C_PCF_ESO | I2C_PCF_ENI, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
225 writeb(I2C_PCF_STOP, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
288 writeb(I2C_PCF_PIN, bp->i2c_control_regs + 0x0); in reset_one_i2c()
289 writeb(bp->own, bp->i2c_control_regs + 0x1); in reset_one_i2c()
290 writeb(I2C_PCF_PIN | I2C_PCF_ES1, bp->i2c_control_regs + 0x0); in reset_one_i2c()
291 writeb(bp->clock, bp->i2c_control_regs + 0x1); in reset_one_i2c()
292 writeb(I2C_PCF_IDLE, bp->i2c_control_regs + 0x0); in reset_one_i2c()
340 writeb(I2C_PCF_PIN, bp->i2c_control_regs + 0x0); in attach_one_i2c()
342 writeb(I2C_PCF_PIN | I2C_PCF_ES1, bp->i2c_control_regs + 0x0); in attach_one_i2c()