Searched refs:state_fields (Results 1 – 4 of 4) sorted by relevance
450 } state_fields[] = { in bd9995x_get_chip_state() local463 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()
397 } state_fields[] = { in sc89890_get_chip_state() local406 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()
561 } state_fields[] = { in bq25890_get_chip_state() local570 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()
634 } state_fields[] = { in bq25700_get_chip_state() local651 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()