Searched refs:rpr0521_gain (Results 1 – 1 of 1) sorted by relevance
79 struct rpr0521_gain { struct84 static const struct rpr0521_gain rpr0521_als_gain[4] = { argument91 static const struct rpr0521_gain rpr0521_pxs_gain[3] = {127 const struct rpr0521_gain *gain;129 } rpr0521_gain[] = { variable587 ret = regmap_read(data->regmap, rpr0521_gain[chan].reg, ®); in rpr0521_get_gain()591 idx = (rpr0521_gain[chan].mask & reg) >> rpr0521_gain[chan].shift; in rpr0521_get_gain()592 *val = rpr0521_gain[chan].gain[idx].scale; in rpr0521_get_gain()593 *val2 = rpr0521_gain[chan].gain[idx].uscale; in rpr0521_get_gain()604 for (i = 0; i < rpr0521_gain[chan].size; i++) in rpr0521_set_gain()[all …]