Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/iio/adc/
Dad_sigma_delta.h28 struct ad_sigma_delta;
47 int (*set_channel)(struct ad_sigma_delta *, unsigned int channel);
48 int (*set_mode)(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode);
49 int (*postprocess_sample)(struct ad_sigma_delta *, unsigned int raw_sample);
65 struct ad_sigma_delta { struct
91 static inline int ad_sigma_delta_set_channel(struct ad_sigma_delta *sd, in ad_sigma_delta_set_channel() argument
100 static inline int ad_sigma_delta_set_mode(struct ad_sigma_delta *sd, in ad_sigma_delta_set_mode()
109 static inline int ad_sigma_delta_postprocess_sample(struct ad_sigma_delta *sd, in ad_sigma_delta_postprocess_sample()
118 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm);
119 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg,
[all …]
/Linux-v5.15/drivers/iio/adc/
Dad_sigma_delta.c39 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm) in ad_sd_set_comm()
57 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg, in ad_sd_write_reg()
99 static int ad_sd_read_reg_raw(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg_raw()
144 int ad_sd_read_reg(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg()
184 int ad_sd_reset(struct ad_sigma_delta *sigma_delta, in ad_sd_reset()
204 int ad_sd_calibrate(struct ad_sigma_delta *sigma_delta, in ad_sd_calibrate()
251 int ad_sd_calibrate_all(struct ad_sigma_delta *sigma_delta, in ad_sd_calibrate_all()
278 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sigma_delta_single_conversion()
344 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_buffer_postenable()
376 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_buffer_postdisable()
[all …]
Dad7780.c69 struct ad_sigma_delta sd;
79 static struct ad7780_state *ad_sigma_delta_to_ad7780(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7780()
84 static int ad7780_set_mode(struct ad_sigma_delta *sigma_delta, in ad7780_set_mode()
184 static int ad7780_postprocess_sample(struct ad_sigma_delta *sigma_delta, in ad7780_postprocess_sample()
Dad7791.c195 struct ad_sigma_delta sd;
214 static struct ad7791_state *ad_sigma_delta_to_ad7791(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7791()
219 static int ad7791_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7791_set_channel()
226 static int ad7791_set_mode(struct ad_sigma_delta *sd, in ad7791_set_mode()
Dad7793.c161 struct ad_sigma_delta sd;
177 static struct ad7793_state *ad_sigma_delta_to_ad7793(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7793()
182 static int ad7793_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7793_set_channel()
192 static int ad7793_set_mode(struct ad_sigma_delta *sd, in ad7793_set_mode()
Dad7192.c192 struct ad_sigma_delta sd;
264 static struct ad7192_state *ad_sigma_delta_to_ad7192(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7192()
269 static int ad7192_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7192_set_channel()
279 static int ad7192_set_mode(struct ad_sigma_delta *sd, in ad7192_set_mode()
Dad7124.c167 struct ad_sigma_delta sd;
248 static int ad7124_set_mode(struct ad_sigma_delta *sd, in ad7124_set_mode()
504 static int ad7124_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7124_set_channel()
DMakefile8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o