Home
last modified time | relevance | path

Searched refs:tfreq_len (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c139 unsigned int tfreq_len; member
226 .tfreq_len = ARRAY_SIZE(common_tfreqs),
234 .tfreq_len = ARRAY_SIZE(mt6372_tfreqs),
307 unsigned int tfreq_len = pdata->tfreq_len; in mt6370_set_led_freq() local
312 if (tsum > pdata->tfreq[0] || tsum < pdata->tfreq[tfreq_len - 1]) in mt6370_set_led_freq()
315 sel = find_closest_descending(tsum, pdata->tfreq, tfreq_len); in mt6370_set_led_freq()