Searched refs:state_fields (Results 1 – 2 of 2) sorted by relevance
443 } state_fields[] = { in bd9995x_get_chip_state() local456 for (i = 0; i < ARRAY_SIZE(state_fields); i++) { in bd9995x_get_chip_state()457 ret = regmap_field_read(state_fields[i].id, &tmp); in bd9995x_get_chip_state()461 *state_fields[i].data = tmp; in bd9995x_get_chip_state()
789 } state_fields[] = { in bq25890_get_chip_state() local800 for (i = 0; i < ARRAY_SIZE(state_fields); i++) { in bq25890_get_chip_state()801 ret = bq25890_field_read(bq, state_fields[i].id); in bq25890_get_chip_state()805 *state_fields[i].data = ret; in bq25890_get_chip_state()