Lines Matching refs:davinci_i2c_read_reg
150 static inline u16 davinci_i2c_read_reg(struct davinci_i2c_dev *i2c_dev, int reg) in davinci_i2c_read_reg() function
160 w = davinci_i2c_read_reg(i2c_dev, DAVINCI_I2C_MDR_REG); in davinci_i2c_reset_ctrl()
272 davinci_i2c_read_reg(dev, DAVINCI_I2C_PSC_REG)); in i2c_davinci_init()
274 davinci_i2c_read_reg(dev, DAVINCI_I2C_CLKL_REG)); in i2c_davinci_init()
276 davinci_i2c_read_reg(dev, DAVINCI_I2C_CLKH_REG)); in i2c_davinci_init()
336 val = davinci_i2c_read_reg(dev, DAVINCI_I2C_DIN_REG); in davinci_i2c_get_scl()
346 val = davinci_i2c_read_reg(dev, DAVINCI_I2C_DIN_REG); in davinci_i2c_get_sda()
391 if (!(davinci_i2c_read_reg(dev, DAVINCI_I2C_STR_REG) & DAVINCI_I2C_STR_BB)) in i2c_davinci_wait_bus_not_busy()
403 if (davinci_i2c_read_reg(dev, DAVINCI_I2C_STR_REG) & DAVINCI_I2C_STR_BB) in i2c_davinci_wait_bus_not_busy()
454 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_IMR_REG); in i2c_davinci_xfer_msg()
520 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG); in i2c_davinci_xfer_msg()
576 u16 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG); in terminate_read()
581 davinci_i2c_read_reg(dev, DAVINCI_I2C_DRR_REG); in terminate_read()
587 u16 w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG); in terminate_write()
609 while ((stat = davinci_i2c_read_reg(dev, DAVINCI_I2C_IVR_REG))) { in i2c_davinci_isr()
635 w = davinci_i2c_read_reg(dev, in i2c_davinci_isr()
647 davinci_i2c_read_reg(dev, in i2c_davinci_isr()
670 w = davinci_i2c_read_reg(dev, in i2c_davinci_isr()