Searched refs:ad_sigma_delta (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 28 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/ |
D | ad_sigma_delta.c | 40 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 …]
|
D | ad7780.c | 69 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()
|
D | ad7791.c | 195 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()
|
D | ad7124.c | 169 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()
|
D | ad7192.c | 193 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()
|
D | ad7793.c | 161 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()
|
D | Makefile | 8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
|