/external/u-boot/include/ |
D | palmas.h | 125 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);
|
D | twl6030.h | 190 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);
|
D | twl4030.h | 652 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/ |
D | twl4030.c | 184 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()
|
D | palmas.c | 180 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()
|
D | twl6030.c | 273 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()
|