• Home
  • Raw
  • Download

Lines Matching refs:bm

295 	struct ab8500_bm_data *bm;  member
1032 if (curr < di->bm->chg_output_curr[0]) in ab8500_current_to_regval()
1035 for (i = 0; i < di->bm->n_chg_out_curr; i++) { in ab8500_current_to_regval()
1036 if (curr < di->bm->chg_output_curr[i]) in ab8500_current_to_regval()
1041 i = di->bm->n_chg_out_curr - 1; in ab8500_current_to_regval()
1042 if (curr == di->bm->chg_output_curr[i]) in ab8500_current_to_regval()
1052 if (curr < di->bm->chg_input_curr[0]) in ab8500_vbus_in_curr_to_regval()
1055 for (i = 0; i < di->bm->n_chg_in_curr; i++) { in ab8500_vbus_in_curr_to_regval()
1056 if (curr < di->bm->chg_input_curr[i]) in ab8500_vbus_in_curr_to_regval()
1061 i = di->bm->n_chg_in_curr - 1; in ab8500_vbus_in_curr_to_regval()
1062 if (curr == di->bm->chg_input_curr[i]) in ab8500_vbus_in_curr_to_regval()
1264 min_value = min(di->bm->chg_params->usb_curr_max, ich_in); in ab8500_charger_set_vbus_in_curr()
1421 di->bm->chg_params->ac_curr_max); in ab8500_charger_ac_en()
1438 di->bm->chg_params->ac_curr_max); in ab8500_charger_ac_en()
1454 if (!di->bm->enable_overshoot) in ab8500_charger_ac_en()
1614 if (!di->bm->enable_overshoot) in ab8500_charger_usb_en()
2676 curr = di->bm->chg_input_curr[ in ab8500_charger_vbus_drop_end_work()
3144 (di->bm->bkup_bat_v & 0x3) | di->bm->bkup_bat_i); in ab8500_charger_init_hw_registers()
3414 di->bm = &ab8500_bm_data; in ab8500_charger_probe()
3416 ret = ab8500_bm_of_probe(dev, np, di->bm); in ab8500_charger_probe()
3509 di->bm->chg_output_curr[di->bm->n_chg_out_curr - 1]; in ab8500_charger_probe()
3530 di->bm->chg_output_curr[di->bm->n_chg_out_curr - 1]; in ab8500_charger_probe()