Home
last modified time | relevance | path

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

/external/u-boot/include/
Dpalmas.h125 static inline int palmas_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in palmas_i2c_write_u8() argument
127 return i2c_write(chip_no, reg, 1, &val, 1); in palmas_i2c_write_u8()
130 static inline int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) in palmas_i2c_read_u8() argument
132 return i2c_read(chip_no, reg, 1, val, 1); in palmas_i2c_read_u8()
135 int palmas_i2c_write_u8(u8 chip_no, u8 reg, u8 val);
136 int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val);
Dtwl6030.h190 static inline int twl6030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in twl6030_i2c_write_u8() argument
192 return i2c_write(chip_no, reg, 1, &val, 1); in twl6030_i2c_write_u8()
195 static inline int twl6030_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) in twl6030_i2c_read_u8() argument
197 return i2c_read(chip_no, reg, 1, val, 1); in twl6030_i2c_read_u8()
200 int twl6030_i2c_write_u8(u8 chip_no, u8 reg, u8 val);
201 int twl6030_i2c_read_u8(u8 chip_no, u8 reg, u8 *val);
Dtwl4030.h652 static inline int twl4030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in twl4030_i2c_write_u8() argument
654 return i2c_write(chip_no, reg, 1, &val, 1); in twl4030_i2c_write_u8()
657 static inline int twl4030_i2c_read_u8(u8 chip_no, u8 reg, u8 *val) in twl4030_i2c_read_u8() argument
659 return i2c_read(chip_no, reg, 1, val, 1); in twl4030_i2c_read_u8()
662 int twl4030_i2c_write_u8(u8 chip_no, u8 reg, u8 val);
663 int twl4030_i2c_read_u8(u8 chip_no, u8 reg, u8 *val);
/external/u-boot/drivers/power/
Dtwl4030.c184 int twl4030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in twl4030_i2c_write_u8() argument
189 ret = i2c_get_chip_for_busnum(0, chip_no, 1, &dev); in twl4030_i2c_write_u8()
202 int twl4030_i2c_read_u8(u8 chip_no, u8 reg, u8 *valp) in twl4030_i2c_read_u8() argument
207 ret = i2c_get_chip_for_busnum(0, chip_no, 1, &dev); in twl4030_i2c_read_u8()
Dpalmas.c180 int palmas_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in palmas_i2c_write_u8() argument
185 ret = i2c_get_chip_for_busnum(0, chip_no, 1, &dev); in palmas_i2c_write_u8()
198 int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *valp) in palmas_i2c_read_u8() argument
203 ret = i2c_get_chip_for_busnum(0, chip_no, 1, &dev); in palmas_i2c_read_u8()
Dtwl6030.c273 int twl6030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) in twl6030_i2c_write_u8() argument
278 ret = i2c_get_chip_for_busnum(0, chip_no, 1, &dev); in twl6030_i2c_write_u8()
291 int twl6030_i2c_read_u8(u8 chip_no, u8 reg, u8 *valp) in twl6030_i2c_read_u8() argument
296 ret = i2c_get_chip_for_busnum(0, chip_no, 1, &dev); in twl6030_i2c_read_u8()