Searched refs:dac_max (Results 1 – 1 of 1) sorted by relevance
60 u32 dac_max; member149 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()