Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/iio/adc/
Dad_sigma_delta.h28 struct ad_sigma_delta;
51 int (*set_channel)(struct ad_sigma_delta *, unsigned int channel);
52 int (*append_status)(struct ad_sigma_delta *, bool append);
53 int (*set_mode)(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode);
54 int (*disable_all)(struct ad_sigma_delta *);
55 int (*postprocess_sample)(struct ad_sigma_delta *, unsigned int raw_sample);
73 struct ad_sigma_delta { struct
106 static inline int ad_sigma_delta_set_channel(struct ad_sigma_delta *sd, in ad_sigma_delta_set_channel() argument
115 static inline int ad_sigma_delta_append_status(struct ad_sigma_delta *sd, bool append) in ad_sigma_delta_append_status()
130 static inline int ad_sigma_delta_disable_all(struct ad_sigma_delta *sd) in ad_sigma_delta_disable_all()
[all …]
/linux-5.19.10/drivers/iio/adc/
Dad_sigma_delta.c40 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm) in ad_sd_set_comm()
58 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg, in ad_sd_write_reg()
100 static int ad_sd_read_reg_raw(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg_raw()
145 int ad_sd_read_reg(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg()
185 int ad_sd_reset(struct ad_sigma_delta *sigma_delta, in ad_sd_reset()
205 int ad_sd_calibrate(struct ad_sigma_delta *sigma_delta, in ad_sd_calibrate()
252 int ad_sd_calibrate_all(struct ad_sigma_delta *sigma_delta, in ad_sd_calibrate_all()
279 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sigma_delta_single_conversion()
345 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_buffer_postenable()
411 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()
Dad7124.c169 struct ad_sigma_delta sd;
249 static int ad7124_set_mode(struct ad_sigma_delta *sd, in ad7124_set_mode()
505 static int __ad7124_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in __ad7124_set_channel()
512 static int ad7124_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7124_set_channel()
524 static int ad7124_append_status(struct ad_sigma_delta *sd, bool append) in ad7124_append_status()
542 static int ad7124_disable_all(struct ad_sigma_delta *sd) in ad7124_disable_all()
Dad7192.c193 struct ad_sigma_delta sd;
266 static struct ad7192_state *ad_sigma_delta_to_ad7192(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7192()
271 static int ad7192_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7192_set_channel()
281 static int ad7192_set_mode(struct ad_sigma_delta *sd, in ad7192_set_mode()
292 static int ad7192_append_status(struct ad_sigma_delta *sd, bool append) in ad7192_append_status()
310 static int ad7192_disable_all(struct ad_sigma_delta *sd) in ad7192_disable_all()
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()
DMakefile8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o