Lines Matching +full:delta +full:- +full:sigma
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>
19 * struct ad_sigma_delta_calib_data - Calibration data for Sigma Delta devices
33 * struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options
41 * if there is just one read-only sample data shift register.
66 * struct ad_sigma_delta - Sigma Delta device struct
67 * @spi: The spi device associated with the Sigma Delta device.
68 * @trig: The IIO trigger associated with the Sigma Delta device.
70 * Most of the fields are private to the sigma delta library code and should not
109 if (sd->info->set_channel) in ad_sigma_delta_set_channel()
110 return sd->info->set_channel(sd, channel); in ad_sigma_delta_set_channel()
119 if (sd->info->append_status) { in ad_sigma_delta_append_status()
120 ret = sd->info->append_status(sd, append); in ad_sigma_delta_append_status()
124 sd->status_appended = append; in ad_sigma_delta_append_status()
132 if (sd->info->disable_all) in ad_sigma_delta_disable_all()
133 return sd->info->disable_all(sd); in ad_sigma_delta_disable_all()
141 if (sd->info->set_mode) in ad_sigma_delta_set_mode()
142 return sd->info->set_mode(sd, mode); in ad_sigma_delta_set_mode()
150 if (sd->info->postprocess_sample) in ad_sigma_delta_postprocess_sample()
151 return sd->info->postprocess_sample(sd, raw_sample); in ad_sigma_delta_postprocess_sample()