Lines Matching refs:iadc_chip
105 struct iadc_chip { struct
117 static int iadc_read(struct iadc_chip *iadc, u16 offset, u8 *data) in iadc_read() argument
130 static int iadc_write(struct iadc_chip *iadc, u16 offset, u8 data) in iadc_write()
135 static int iadc_reset(struct iadc_chip *iadc) in iadc_reset()
157 static int iadc_set_state(struct iadc_chip *iadc, bool state) in iadc_set_state()
162 static void iadc_status_show(struct iadc_chip *iadc) in iadc_status_show()
196 static int iadc_configure(struct iadc_chip *iadc, int channel) in iadc_configure()
246 static int iadc_poll_wait_eoc(struct iadc_chip *iadc, unsigned int interval_us) in iadc_poll_wait_eoc()
271 static int iadc_read_result(struct iadc_chip *iadc, u16 *data) in iadc_read_result()
276 static int iadc_do_conversion(struct iadc_chip *iadc, int chan, u16 *data) in iadc_do_conversion()
313 struct iadc_chip *iadc = iio_priv(indio_dev); in iadc_read_raw()
354 struct iadc_chip *iadc = dev_id; in iadc_isr()
361 static int iadc_update_offset(struct iadc_chip *iadc) in iadc_update_offset()
394 static int iadc_version_check(struct iadc_chip *iadc) in iadc_version_check()
429 static int iadc_rsense_read(struct iadc_chip *iadc, struct device_node *node) in iadc_rsense_read()
489 struct iadc_chip *iadc; in iadc_probe()