Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Denvelope-detector.c60 u32 dac_max; member
149 ret = iio_write_channel_raw(env->dac, env->invert ? 0 : env->dac_max); in envelope_detector_setup_compare()
206 env->high = env->dac_max + env->invert; in envelope_detector_read_raw()
214 *val = env->invert ? env->dac_max - env->level : env->level; in envelope_detector_read_raw()
382 ret = iio_read_max_channel_raw(env->dac, &env->dac_max); in envelope_detector_probe()