Searched refs:arates_hz (Results 1 – 1 of 1) sorted by relevance
179 static const u16 arates_hz[] = {10, 5, 2, 1}; variable704 for (i = 0; i < ARRAY_SIZE(arates_hz); i++) in apds990x_rate_avail()705 pos += sprintf(buf + pos, "%d ", arates_hz[i]); in apds990x_rate_avail()722 for (i = 0; i < ARRAY_SIZE(arates_hz); i++) in apds990x_set_arate()723 if (rate >= arates_hz[i]) in apds990x_set_arate()726 if (i == ARRAY_SIZE(arates_hz)) in apds990x_set_arate()731 chip->arate = arates_hz[i]; in apds990x_set_arate()