Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/dac/
H A Dltc2688.c78 long dither_frequency[LTC2688_DITHER_FREQ_AVAIL_N]; member
421 for (f = 0; f < ARRAY_SIZE(chan->dither_frequency); f++) in ltc2688_dither_freq_avail()
422 sz += sysfs_emit_at(buf, sz, "%ld ", chan->dither_frequency[f]); in ltc2688_dither_freq_avail()
448 if (freq >= ARRAY_SIZE(c->dither_frequency)) in ltc2688_dither_freq_get()
451 return sysfs_emit(buf, "%ld\n", c->dither_frequency[freq]); in ltc2688_dither_freq_get()
472 for (freq = 0; freq < ARRAY_SIZE(c->dither_frequency); freq++) { in ltc2688_dither_freq_set()
473 if (val == c->dither_frequency[freq]) in ltc2688_dither_freq_set()
477 if (freq == ARRAY_SIZE(c->dither_frequency)) in ltc2688_dither_freq_set()
727 for (f = 0; f < ARRAY_SIZE(chan->dither_frequency); f++) in ltc2688_tgp_clk_setup()
728 chan->dither_frequency[f] = DIV_ROUND_CLOSEST(rate, ltc2688_period[f]); in ltc2688_tgp_clk_setup()