Searched refs:pchrgctrl (Results 1 – 1 of 1) sorted by relevance
369 unsigned int icharge_range = 0, pchrgctrl; in bq2515x_get_battery_current_now() local396 &pchrgctrl); in bq2515x_get_battery_current_now()400 reg_code = pchrgctrl & BQ2515X_PRECHARGE_MASK; in bq2515x_get_battery_current_now()410 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_get_battery_current_now()414 icharge_range = pchrgctrl & BQ2515X_ICHARGE_RANGE; in bq2515x_get_battery_current_now()457 unsigned int pchrgctrl; in bq2515x_get_const_charge_current() local464 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_get_const_charge_current()468 icharge_range = pchrgctrl & BQ2515X_ICHARGE_RANGE; in bq2515x_get_const_charge_current()511 unsigned int pchrgctrl; in bq2515x_get_precharge_current() local516 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_get_precharge_current()[all …]