Searched refs:rpr0521_gain (Results 1 – 1 of 1) sorted by relevance
82 struct rpr0521_gain { struct87 static const struct rpr0521_gain rpr0521_als_gain[4] = { argument94 static const struct rpr0521_gain rpr0521_pxs_gain[3] = {130 const struct rpr0521_gain *gain;132 } rpr0521_gain[] = { variable586 ret = regmap_read(data->regmap, rpr0521_gain[chan].reg, ®); in rpr0521_get_gain()590 idx = (rpr0521_gain[chan].mask & reg) >> rpr0521_gain[chan].shift; in rpr0521_get_gain()591 *val = rpr0521_gain[chan].gain[idx].scale; in rpr0521_get_gain()592 *val2 = rpr0521_gain[chan].gain[idx].uscale; in rpr0521_get_gain()603 for (i = 0; i < rpr0521_gain[chan].size; i++) in rpr0521_set_gain()[all …]