Searched defs:iadc (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/iio/adc/ |
D | qcom-spmi-iadc.c | 118 static int iadc_read(struct iadc_chip *iadc, u16 offset, u8 *data) in iadc_read() 131 static int iadc_write(struct iadc_chip *iadc, u16 offset, u8 data) in iadc_write() 136 static int iadc_reset(struct iadc_chip *iadc) in iadc_reset() 158 static int iadc_set_state(struct iadc_chip *iadc, bool state) in iadc_set_state() 163 static void iadc_status_show(struct iadc_chip *iadc) in iadc_status_show() 197 static int iadc_configure(struct iadc_chip *iadc, int channel) in iadc_configure() 247 static int iadc_poll_wait_eoc(struct iadc_chip *iadc, unsigned int interval_us) in iadc_poll_wait_eoc() 272 static int iadc_read_result(struct iadc_chip *iadc, u16 *data) in iadc_read_result() 277 static int iadc_do_conversion(struct iadc_chip *iadc, int chan, u16 *data) in iadc_do_conversion() 314 struct iadc_chip *iadc = iio_priv(indio_dev); in iadc_read_raw() local [all …]
|