Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/iio/adc/
Dad_sigma_delta.h28 struct ad_sigma_delta;
45 int (*set_channel)(struct ad_sigma_delta *, unsigned int channel);
46 int (*set_mode)(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode);
47 int (*postprocess_sample)(struct ad_sigma_delta *, unsigned int raw_sample);
62 struct ad_sigma_delta { struct
84 static inline int ad_sigma_delta_set_channel(struct ad_sigma_delta *sd, in ad_sigma_delta_set_channel() argument
93 static inline int ad_sigma_delta_set_mode(struct ad_sigma_delta *sd, in ad_sigma_delta_set_mode()
102 static inline int ad_sigma_delta_postprocess_sample(struct ad_sigma_delta *sd, in ad_sigma_delta_postprocess_sample()
111 void ad_sd_set_comm(struct ad_sigma_delta *sigma_delta, uint8_t comm);
112 int ad_sd_write_reg(struct ad_sigma_delta *sigma_delta, unsigned int reg,
[all …]
/Linux-v5.4/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()
101 static int ad_sd_read_reg_raw(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg_raw()
146 int ad_sd_read_reg(struct ad_sigma_delta *sigma_delta, in ad_sd_read_reg()
188 int ad_sd_reset(struct ad_sigma_delta *sigma_delta, in ad_sd_reset()
208 static int ad_sd_calibrate(struct ad_sigma_delta *sigma_delta, in ad_sd_calibrate()
254 int ad_sd_calibrate_all(struct ad_sigma_delta *sigma_delta, in ad_sd_calibrate_all()
281 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sigma_delta_single_conversion()
347 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_buffer_postenable()
383 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.c147 struct ad_sigma_delta sd;
166 static struct ad7791_state *ad_sigma_delta_to_ad7791(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7791()
171 static int ad7791_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7791_set_channel()
178 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()
Dad7124.c123 struct ad_sigma_delta sd;
196 static int ad7124_set_mode(struct ad_sigma_delta *sd, in ad7124_set_mode()
207 static int ad7124_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7124_set_channel()
DMakefile7 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
/Linux-v5.4/drivers/staging/iio/adc/
Dad7192.c173 struct ad_sigma_delta sd;
176 static struct ad7192_state *ad_sigma_delta_to_ad7192(struct ad_sigma_delta *sd) in ad_sigma_delta_to_ad7192()
181 static int ad7192_set_channel(struct ad_sigma_delta *sd, unsigned int channel) in ad7192_set_channel()
191 static int ad7192_set_mode(struct ad_sigma_delta *sd, in ad7192_set_mode()
/Linux-v5.4/include/
DKbuild212 header-test- += linux/iio/adc/ad_sigma_delta.h