Lines Matching defs:bq256xx_device
209 * struct bq256xx_device -
230 struct bq256xx_device {
290 int (*bq256xx_get_ichg)(struct bq256xx_device *bq);
291 int (*bq256xx_get_iindpm)(struct bq256xx_device *bq);
292 int (*bq256xx_get_vbatreg)(struct bq256xx_device *bq);
293 int (*bq256xx_get_iterm)(struct bq256xx_device *bq);
294 int (*bq256xx_get_iprechg)(struct bq256xx_device *bq);
295 int (*bq256xx_get_vindpm)(struct bq256xx_device *bq);
297 int (*bq256xx_set_ichg)(struct bq256xx_device *bq, int ichg);
298 int (*bq256xx_set_iindpm)(struct bq256xx_device *bq, int iindpm);
299 int (*bq256xx_set_vbatreg)(struct bq256xx_device *bq, int vbatreg);
300 int (*bq256xx_set_iterm)(struct bq256xx_device *bq, int iterm);
301 int (*bq256xx_set_iprechg)(struct bq256xx_device *bq, int iprechg);
302 int (*bq256xx_set_vindpm)(struct bq256xx_device *bq, int vindpm);
303 int (*bq256xx_set_charge_type)(struct bq256xx_device *bq, int type);
304 int (*bq256xx_set_ts_ignore)(struct bq256xx_device *bq, bool ts_ignore);
372 struct bq256xx_device *bq =
373 container_of(nb, struct bq256xx_device, usb_nb);
383 struct bq256xx_device *bq =
384 container_of(data, struct bq256xx_device, usb_work);
435 static int bq256xx_get_state(struct bq256xx_device *bq,
464 static int bq256xx_set_charge_type(struct bq256xx_device *bq, int type)
485 static int bq256xx_get_ichg_curr(struct bq256xx_device *bq)
501 static int bq25618_619_get_ichg_curr(struct bq256xx_device *bq)
520 static int bq256xx_set_ichg_curr(struct bq256xx_device *bq, int ichg)
532 static int bq25618_619_set_ichg_curr(struct bq256xx_device *bq, int ichg)
551 static int bq25618_619_get_chrg_volt(struct bq256xx_device *bq)
574 static int bq25611d_get_chrg_volt(struct bq256xx_device *bq)
596 static int bq2560x_get_chrg_volt(struct bq256xx_device *bq)
614 static int bq25601d_get_chrg_volt(struct bq256xx_device *bq)
632 static int bq25618_619_set_chrg_volt(struct bq256xx_device *bq, int vbatreg)
654 static int bq25611d_set_chrg_volt(struct bq256xx_device *bq, int vbatreg)
676 static int bq2560x_set_chrg_volt(struct bq256xx_device *bq, int vbatreg)
691 static int bq25601d_set_chrg_volt(struct bq256xx_device *bq, int vbatreg)
706 static int bq256xx_set_ts_ignore(struct bq256xx_device *bq, bool ts_ignore)
712 static int bq256xx_get_prechrg_curr(struct bq256xx_device *bq)
730 static int bq256xx_set_prechrg_curr(struct bq256xx_device *bq, int iprechg)
744 static int bq25618_619_get_prechrg_curr(struct bq256xx_device *bq)
762 static int bq25618_619_set_prechrg_curr(struct bq256xx_device *bq, int iprechg)
776 static int bq256xx_get_term_curr(struct bq256xx_device *bq)
793 static int bq256xx_set_term_curr(struct bq256xx_device *bq, int iterm)
806 static int bq25618_619_get_term_curr(struct bq256xx_device *bq)
823 static int bq25618_619_set_term_curr(struct bq256xx_device *bq, int iterm)
836 static int bq256xx_get_input_volt_lim(struct bq256xx_device *bq)
853 static int bq256xx_set_input_volt_lim(struct bq256xx_device *bq, int vindpm)
866 static int bq256xx_get_input_curr_lim(struct bq256xx_device *bq)
883 static int bq256xx_set_input_curr_lim(struct bq256xx_device *bq, int iindpm)
898 struct bq256xx_device *bq = data;
914 struct bq256xx_device *bq = power_supply_get_drvdata(psy);
975 struct bq256xx_device *bq = power_supply_get_drvdata(psy);
997 struct bq256xx_device *bq = power_supply_get_drvdata(psy);
1178 static bool bq256xx_state_changed(struct bq256xx_device *bq,
1192 struct bq256xx_device *bq = private;
1544 static int bq256xx_power_supply_init(struct bq256xx_device *bq,
1565 static int bq256xx_hw_init(struct bq256xx_device *bq)
1659 static int bq256xx_parse_dt(struct bq256xx_device *bq,
1697 struct bq256xx_device *bq;