Searched refs:BQ2515X_PCHRGCTRL (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | bq2515x_charger.c | 30 #define BQ2515X_PCHRGCTRL 0x14 macro 202 {BQ2515X_PCHRGCTRL, 0x2}, 241 {BQ2515X_PCHRGCTRL, 0x2}, 390 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, in bq2515x_get_battery_current_now() 405 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_get_battery_current_now() 459 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_get_const_charge_current() 489 ret = regmap_update_bits(bq2515x->regmap, BQ2515X_PCHRGCTRL, in bq2515x_set_const_charge_current() 511 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_get_precharge_current() 535 ret = regmap_read(bq2515x->regmap, BQ2515X_PCHRGCTRL, &pchrgctrl); in bq2515x_set_precharge_current() 557 ret = regmap_update_bits(bq2515x->regmap, BQ2515X_PCHRGCTRL, in bq2515x_set_precharge_current()
|