Searched refs:lv0104cs_scales (Results 1 – 1 of 1) sorted by relevance
118 static const struct lv0104cs_mapping lv0104cs_scales[] = { variable167 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()[all …]