Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/dac/
Dltc2688.c78 long dither_frequency[LTC2688_DITHER_FREQ_AVAIL_N]; member
422 for (f = 0; f < ARRAY_SIZE(chan->dither_frequency); f++) in ltc2688_dither_freq_avail()
423 sz += sysfs_emit_at(buf, sz, "%ld ", chan->dither_frequency[f]); in ltc2688_dither_freq_avail()
449 if (freq >= ARRAY_SIZE(c->dither_frequency)) in ltc2688_dither_freq_get()
452 return sysfs_emit(buf, "%ld\n", c->dither_frequency[freq]); in ltc2688_dither_freq_get()
473 for (freq = 0; freq < ARRAY_SIZE(c->dither_frequency); freq++) { in ltc2688_dither_freq_set()
474 if (val == c->dither_frequency[freq]) in ltc2688_dither_freq_set()
478 if (freq == ARRAY_SIZE(c->dither_frequency)) in ltc2688_dither_freq_set()
728 for (f = 0; f < ARRAY_SIZE(chan->dither_frequency); f++) in ltc2688_tgp_clk_setup()
729 chan->dither_frequency[f] = DIV_ROUND_CLOSEST(rate, ltc2688_period[f]); in ltc2688_tgp_clk_setup()