Lines Matching defs:dither_frequency
78 long dither_frequency[LTC2688_DITHER_FREQ_AVAIL_N];
421 for (f = 0; f < ARRAY_SIZE(chan->dither_frequency); f++)
422 sz += sysfs_emit_at(buf, sz, "%ld ", chan->dither_frequency[f]);
448 if (freq >= ARRAY_SIZE(c->dither_frequency))
451 return sysfs_emit(buf, "%ld\n", c->dither_frequency[freq]);
472 for (freq = 0; freq < ARRAY_SIZE(c->dither_frequency); freq++) {
473 if (val == c->dither_frequency[freq])
477 if (freq == ARRAY_SIZE(c->dither_frequency))
639 LTC2688_CHAN_EXT_INFO("dither_frequency", 0, IIO_SEPARATE,
727 for (f = 0; f < ARRAY_SIZE(chan->dither_frequency); f++)
728 chan->dither_frequency[f] = DIV_ROUND_CLOSEST(rate, ltc2688_period[f]);