Lines Matching +full:sigma +full:- +full:delta
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Support code for Analog Devices Sigma-Delta ADCs
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
21 * struct ad_sigma_delta_calib_data - Calibration data for Sigma Delta devices
35 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options
47 * if there is just one read-only sample data shift register.
55 * @irq_line: IRQ for reading conversions. If 0, spi->irq will be used
75 * struct ad_sigma_delta - Sigma Delta device struct
76 * @spi: The spi device associated with the Sigma Delta device.
77 * @trig: The IIO trigger associated with the Sigma Delta device.
79 * Most of the fields are private to the sigma delta library code and should not
119 if (sd->info->set_channel) in ad_sigma_delta_set_channel()
120 return sd->info->set_channel(sd, channel); in ad_sigma_delta_set_channel()
129 if (sd->info->append_status) { in ad_sigma_delta_append_status()
130 ret = sd->info->append_status(sd, append); in ad_sigma_delta_append_status()
134 sd->status_appended = append; in ad_sigma_delta_append_status()
142 if (sd->info->disable_all) in ad_sigma_delta_disable_all()
143 return sd->info->disable_all(sd); in ad_sigma_delta_disable_all()
151 if (sd->info->disable_one) in ad_sigma_delta_disable_one()
152 return sd->info->disable_one(sd, chan); in ad_sigma_delta_disable_one()
160 if (sd->info->set_mode) in ad_sigma_delta_set_mode()
161 return sd->info->set_mode(sd, mode); in ad_sigma_delta_set_mode()
169 if (sd->info->postprocess_sample) in ad_sigma_delta_postprocess_sample()
170 return sd->info->postprocess_sample(sd, raw_sample); in ad_sigma_delta_postprocess_sample()