Lines Matching refs:icharge_range
369 unsigned int icharge_range = 0, pchrgctrl; in bq2515x_get_battery_current_now() local
414 icharge_range = pchrgctrl & BQ2515X_ICHARGE_RANGE; in bq2515x_get_battery_current_now()
416 if (icharge_range) in bq2515x_get_battery_current_now()
458 unsigned int icharge_range; in bq2515x_get_const_charge_current() local
468 icharge_range = pchrgctrl & BQ2515X_ICHARGE_RANGE; in bq2515x_get_const_charge_current()
470 if (icharge_range) in bq2515x_get_const_charge_current()
482 unsigned int icharge_range = 0; in bq2515x_set_const_charge_current() local
489 icharge_range = BQ2515X_ICHARGE_RANGE; in bq2515x_set_const_charge_current()
495 BQ2515X_ICHARGE_RANGE, icharge_range); in bq2515x_set_const_charge_current()
512 unsigned int icharge_range; in bq2515x_get_precharge_current() local
520 icharge_range = pchrgctrl & BQ2515X_ICHARGE_RANGE; in bq2515x_get_precharge_current()
522 if (icharge_range) in bq2515x_get_precharge_current()
535 unsigned int icharge_range; in bq2515x_set_precharge_current() local
544 icharge_range = pchrgctrl & BQ2515X_ICHARGE_RANGE; in bq2515x_set_precharge_current()
546 if (icharge_range) { in bq2515x_set_precharge_current()