Searched refs:iadc_chip (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/iio/adc/
H A Dqcom-spmi-iadc.c103 * struct iadc_chip - IADC Current ADC device structure.
114 struct iadc_chip { struct
126 static int iadc_read(struct iadc_chip *iadc, u16 offset, u8 *data) iadc_read()
139 static int iadc_write(struct iadc_chip *iadc, u16 offset, u8 data) iadc_write()
144 static int iadc_reset(struct iadc_chip *iadc) iadc_reset()
166 static int iadc_set_state(struct iadc_chip *iadc, bool state) iadc_set_state()
171 static void iadc_status_show(struct iadc_chip *iadc) iadc_status_show()
205 static int iadc_configure(struct iadc_chip *iadc, int channel) iadc_configure()
255 static int iadc_poll_wait_eoc(struct iadc_chip *iadc, unsigned int interval_us) iadc_poll_wait_eoc()
280 static int iadc_read_result(struct iadc_chip *iadc, u16 *data) iadc_read_result()
285 static int iadc_do_conversion(struct iadc_chip *iadc, int chan, u16 *data) iadc_do_conversion()
322 struct iadc_chip *iadc = iio_priv(indio_dev); iadc_read_raw()
364 struct iadc_chip *iadc = dev_id; iadc_isr()
371 static int iadc_update_offset(struct iadc_chip *iadc) iadc_update_offset()
404 static int iadc_version_check(struct iadc_chip *iadc) iadc_version_check()
439 static int iadc_rsense_read(struct iadc_chip *iadc, struct device_node *node) iadc_rsense_read()
499 struct iadc_chip *iadc; iadc_probe()

Completed in 57 milliseconds