Lines Matching defs:vadc
139 static int vadc_read(struct vadc_priv *vadc, u16 offset, u8 *data) in vadc_read()
144 static int vadc_write(struct vadc_priv *vadc, u16 offset, u8 data) in vadc_write()
149 static int vadc_reset(struct vadc_priv *vadc) in vadc_reset()
171 static int vadc_set_state(struct vadc_priv *vadc, bool state) in vadc_set_state()
176 static void vadc_show_status(struct vadc_priv *vadc) in vadc_show_status()
210 static int vadc_configure(struct vadc_priv *vadc, in vadc_configure()
251 static int vadc_poll_wait_eoc(struct vadc_priv *vadc, unsigned int interval_us) in vadc_poll_wait_eoc()
276 static int vadc_read_result(struct vadc_priv *vadc, u16 *data) in vadc_read_result()
289 static struct vadc_channel_prop *vadc_get_channel(struct vadc_priv *vadc, in vadc_get_channel()
303 static int vadc_do_conversion(struct vadc_priv *vadc, in vadc_do_conversion()
354 static int vadc_measure_ref_points(struct vadc_priv *vadc) in vadc_measure_ref_points()
450 struct vadc_priv *vadc = iio_priv(indio_dev); in vadc_read_raw() local
490 struct vadc_priv *vadc = iio_priv(indio_dev); in vadc_fwnode_xlate() local
503 struct vadc_priv *vadc = iio_priv(indio_dev); in vadc_read_label() local
752 static int vadc_get_fw_data(struct vadc_priv *vadc) in vadc_get_fw_data()
825 struct vadc_priv *vadc = dev_id; in vadc_isr() local
832 static int vadc_check_revision(struct vadc_priv *vadc) in vadc_check_revision()
871 struct vadc_priv *vadc; in vadc_probe() local