Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mfd/
H A Dtwl.h172 int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes);
182 return twl_i2c_read(mod_no, val, reg, 1); in twl_i2c_read_u8()
196 ret = twl_i2c_read(mod_no, (u8 *) &value, reg, 2); in twl_i2c_read_u16()
/openbmc/linux/drivers/mfd/
H A Dtwl-core.c471 int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes) in twl_i2c_read() function
488 EXPORT_SYMBOL(twl_i2c_read);
529 err = twl_i2c_read(TWL4030_MODULE_INTBR, (u8 *)(&twl_priv->twl_idcode), in twl_read_idcode_register()
H A Dtwl4030-irq.c384 status = twl_i2c_read(sih->module, rxbuf, in twl4030_init_sih_modules()
511 status = twl_i2c_read(sih->module, bytes, in twl4030_sih_bus_sync_unlock()
571 status = twl_i2c_read(sih->module, isr.bytes, in sih_read_isr()
H A Dtwl6030-irq.c171 ret = twl_i2c_read(TWL_MODULE_PIH, sts.bytes, REG_INT_STS_A, 3); in twl6030_irq_thread()
/openbmc/linux/drivers/rtc/
H A Drtc-twl.c298 ret = twl_i2c_read(TWL_MODULE_RTC, rtc_data, in twl_rtc_read_time()
375 ret = twl_i2c_read(TWL_MODULE_RTC, rtc_data, in twl_rtc_read_alarm()
493 return twl_i2c_read((long)priv, val, offset, bytes); in twl_nvram_read()
/openbmc/linux/drivers/iio/adc/
H A Dtwl6030-gpadc.c360 return twl_i2c_read(TWL6030_MODULE_GPADC, val, reg, 2); in twl6030_gpadc_read()
634 ret = twl_i2c_read(TWL6030_MODULE_ID2, trim_regs, in twl6030_calibration()
713 ret = twl_i2c_read(TWL6030_MODULE_ID2, trim_regs, in twl6032_calibration()
/openbmc/linux/drivers/input/keyboard/
H A Dtwl4030_keypad.c128 int ret = twl_i2c_read(TWL4030_MODULE_KEYPAD, data, reg, num_bytes); in twl4030_kpread()