Searched refs:isl29018_scales (Results 1 – 1 of 1) sorted by relevance
73 } isl29018_scales[4][4] = { variable118 for (i = 0; i < ARRAY_SIZE(isl29018_scales[int_time]); ++i) { in isl29018_set_integration_time()119 if (chip->scale.scale == isl29018_scales[int_time][i].scale && in isl29018_set_integration_time()120 chip->scale.uscale == isl29018_scales[int_time][i].uscale) { in isl29018_set_integration_time()121 chip->scale = isl29018_scales[new_int_time][i]; in isl29018_set_integration_time()136 for (i = 0; i < ARRAY_SIZE(isl29018_scales[chip->int_time]); ++i) { in isl29018_set_scale()137 if (scale == isl29018_scales[chip->int_time][i].scale && in isl29018_set_scale()138 uscale == isl29018_scales[chip->int_time][i].uscale) { in isl29018_set_scale()139 new_scale = isl29018_scales[chip->int_time][i]; in isl29018_set_scale()144 if (i >= ARRAY_SIZE(isl29018_scales[chip->int_time])) in isl29018_set_scale()[all …]