Lines Matching refs:lv0104cs_scales
118 static const struct lv0104cs_mapping lv0104cs_scales[] = { variable
167 regval |= lv0104cs_scales[lv0104cs->scale].regval; in lv0104cs_get_lux()
253 *val = lv0104cs_scales[lv0104cs->scale].val; in lv0104cs_read_raw()
254 *val2 = lv0104cs_scales[lv0104cs->scale].val2; in lv0104cs_read_raw()
327 for (i = 0; i < ARRAY_SIZE(lv0104cs_scales); i++) { in lv0104cs_set_scale()
328 if (val != lv0104cs_scales[i].val) in lv0104cs_set_scale()
331 if (val2 == lv0104cs_scales[i].val2) in lv0104cs_set_scale()
335 if (i == ARRAY_SIZE(lv0104cs_scales)) in lv0104cs_set_scale()
416 for (i = 0; i < ARRAY_SIZE(lv0104cs_scales); i++) { in lv0104cs_show_scale_avail()
418 lv0104cs_scales[i].val, in lv0104cs_show_scale_avail()
419 lv0104cs_scales[i].val2); in lv0104cs_show_scale_avail()