Home
last modified time | relevance | path

Searched refs:state_fields (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dbd99954-charger.c450 } state_fields[] = { in bd9995x_get_chip_state() local
463 for (i = 0; i < ARRAY_SIZE(state_fields); i++) { in bd9995x_get_chip_state()
464 ret = regmap_field_read(state_fields[i].id, &tmp); in bd9995x_get_chip_state()
468 *state_fields[i].data = tmp; in bd9995x_get_chip_state()
H A Dsc89890_charger.c397 } state_fields[] = { in sc89890_get_chip_state() local
406 for (i = 0; i < ARRAY_SIZE(state_fields); i++) { in sc89890_get_chip_state()
407 ret = sc89890_field_read(sc89890, state_fields[i].id); in sc89890_get_chip_state()
411 *state_fields[i].data = ret; in sc89890_get_chip_state()
H A Dbq25890_charger.c561 } state_fields[] = { in bq25890_get_chip_state() local
570 for (i = 0; i < ARRAY_SIZE(state_fields); i++) { in bq25890_get_chip_state()
571 ret = bq25890_field_read(bq, state_fields[i].id); in bq25890_get_chip_state()
575 *state_fields[i].data = ret; in bq25890_get_chip_state()
H A Dbq25700_charger.c634 } state_fields[] = { in bq25700_get_chip_state() local
651 for (i = 0; i < ARRAY_SIZE(state_fields); i++) { in bq25700_get_chip_state()
652 ret = bq25700_field_read(charger, state_fields[i].id); in bq25700_get_chip_state()
656 *state_fields[i].data = ret; in bq25700_get_chip_state()