Searched refs:bq27xxx_device_info (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/include/linux/power/ |
D | bq27xxx_battery.h | 39 struct bq27xxx_device_info; 41 int (*read)(struct bq27xxx_device_info *di, u8 reg, bool single); 42 int (*write)(struct bq27xxx_device_info *di, u8 reg, int value, bool single); 43 int (*read_bulk)(struct bq27xxx_device_info *di, u8 reg, u8 *data, int len); 44 int (*write_bulk)(struct bq27xxx_device_info *di, u8 reg, u8 *data, int len); 60 struct bq27xxx_device_info { struct 79 void bq27xxx_battery_update(struct bq27xxx_device_info *di); argument 80 int bq27xxx_battery_setup(struct bq27xxx_device_info *di); 81 void bq27xxx_battery_teardown(struct bq27xxx_device_info *di);
|
/linux-6.1.9/drivers/power/supply/ |
D | bq27xxx_battery.c | 1077 struct bq27xxx_device_info *di; in poll_interval_param_set() 1109 static inline int bq27xxx_read(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read() 1125 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write() 1144 static inline int bq27xxx_read_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_read_block() 1163 static inline int bq27xxx_write_block(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write_block() 1182 static int bq27xxx_battery_seal(struct bq27xxx_device_info *di) in bq27xxx_battery_seal() 1195 static int bq27xxx_battery_unseal(struct bq27xxx_device_info *di) in bq27xxx_battery_unseal() 1231 static int bq27xxx_battery_read_dm_block(struct bq27xxx_device_info *di, in bq27xxx_battery_read_dm_block() 1271 static void bq27xxx_battery_update_dm_block(struct bq27xxx_device_info *di, 1320 static int bq27xxx_battery_cfgupdate_priv(struct bq27xxx_device_info *di, bool active) [all …]
|
D | bq27xxx_battery_i2c.c | 21 struct bq27xxx_device_info *di = data; in bq27xxx_battery_irq_handler_thread() 28 static int bq27xxx_battery_i2c_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_read() 63 static int bq27xxx_battery_i2c_write(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_write() 95 static int bq27xxx_battery_i2c_bulk_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_i2c_bulk_read() 112 static int bq27xxx_battery_i2c_bulk_write(struct bq27xxx_device_info *di, in bq27xxx_battery_i2c_bulk_write() 142 struct bq27xxx_device_info *di; in bq27xxx_battery_i2c_probe() 210 struct bq27xxx_device_info *di = i2c_get_clientdata(client); in bq27xxx_battery_i2c_remove()
|
D | bq27xxx_battery_hdq.c | 40 static int bq27xxx_battery_hdq_read(struct bq27xxx_device_info *di, u8 reg, in bq27xxx_battery_hdq_read() 77 struct bq27xxx_device_info *di; in bq27xxx_battery_hdq_add_slave() 95 struct bq27xxx_device_info *di = dev_get_drvdata(&sl->dev); in bq27xxx_battery_hdq_remove_slave()
|