Home
last modified time | relevance | path

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

/external/u-boot/include/
Dpalmas.h124 static inline int palmas_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in palmas_i2c_write_u8() argument
126 return i2c_write(chip_no, reg, 1, &val, 1); in palmas_i2c_write_u8()
129 static inline int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) in palmas_i2c_read_u8() argument
131 return i2c_read(chip_no, reg, 1, val, 1); in palmas_i2c_read_u8()
Dtwl6030.h189 static inline int twl6030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in twl6030_i2c_write_u8() argument
191 return i2c_write(chip_no, reg, 1, &val, 1); in twl6030_i2c_write_u8()
194 static inline int twl6030_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) in twl6030_i2c_read_u8() argument
196 return i2c_read(chip_no, reg, 1, val, 1); in twl6030_i2c_read_u8()
Dtwl4030.h651 static inline int twl4030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in twl4030_i2c_write_u8() argument
653 return i2c_write(chip_no, reg, 1, &val, 1); in twl4030_i2c_write_u8()
656 static inline int twl4030_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) in twl4030_i2c_read_u8() argument
658 return i2c_read(chip_no, reg, 1, val, 1); in twl4030_i2c_read_u8()