Searched refs:bq25890_field_write (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/power/supply/ |
D | bq25890_charger.c | 374 static int bq25890_field_write(struct bq25890_device *bq, in bq25890_field_write() function 480 bq25890_field_write(bq, F_CONV_START, 1); in bq25890_update_state() 698 return bq25890_field_write(bq, F_ICHG, lval); in bq25890_power_supply_set_property() 702 return bq25890_field_write(bq, F_VREG, lval); in bq25890_power_supply_set_property() 705 return bq25890_field_write(bq, F_IINLIM, lval); in bq25890_power_supply_set_property() 707 ret = bq25890_field_write(bq, F_EN_HIZ, !val->intval); in bq25890_power_supply_set_property() 777 bq25890_field_write(bq, F_IINLIM, input_current_limit); in bq25890_charger_external_power_changed() 835 ret = bq25890_field_write(bq, F_EN_HIZ, bq->force_hiz); in __bq25890_handle_irq() 846 ret = bq25890_field_write(bq, F_CONV_RATE, new_adc_conv_rate); in __bq25890_handle_irq() 878 ret = bq25890_field_write(bq, F_REG_RST, 1); in bq25890_chip_reset() [all …]
|