Home
last modified time | relevance | path

Searched defs:iio_dev (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.1/drivers/iio/light/
Dst_uvis25_core.c114 static int st_uvis25_read_raw(struct iio_dev *iio_dev, in st_uvis25_read_raw()
169 static int st_uvis25_allocate_trigger(struct iio_dev *iio_dev) in st_uvis25_allocate_trigger()
217 static int st_uvis25_buffer_preenable(struct iio_dev *iio_dev) in st_uvis25_buffer_preenable()
222 static int st_uvis25_buffer_postdisable(struct iio_dev *iio_dev) in st_uvis25_buffer_postdisable()
235 struct iio_dev *iio_dev = pf->indio_dev; in st_uvis25_buffer_handler_thread() local
255 static int st_uvis25_allocate_buffer(struct iio_dev *iio_dev) in st_uvis25_allocate_buffer()
287 struct iio_dev *iio_dev; in st_uvis25_probe() local
330 struct iio_dev *iio_dev = dev_get_drvdata(dev); in st_uvis25_suspend() local
339 struct iio_dev *iio_dev = dev_get_drvdata(dev); in st_uvis25_resume() local
Dsi1133.c643 struct iio_dev *iio_dev = private; in si1133_threaded_irq_handler() local
747 static int si1133_read_raw(struct iio_dev *iio_dev, in si1133_read_raw()
821 static int si1133_write_raw(struct iio_dev *iio_dev, in si1133_write_raw()
961 static int si1133_validate_ids(struct iio_dev *iio_dev) in si1133_validate_ids()
997 struct iio_dev *iio_dev; in si1133_probe() local
/Linux-v6.1/include/linux/iio/
Diio.h571 struct iio_dev { struct
572 int modes;
573 struct device dev;
598 int iio_device_id(struct iio_dev *indio_dev); argument
/Linux-v6.1/drivers/iio/humidity/
Dhts221_buffer.c41 struct iio_dev *iio_dev = iio_trigger_get_drvdata(trig); in hts221_trig_set_state() local
76 int hts221_allocate_trigger(struct iio_dev *iio_dev) in hts221_allocate_trigger()
147 static int hts221_buffer_preenable(struct iio_dev *iio_dev) in hts221_buffer_preenable()
152 static int hts221_buffer_postdisable(struct iio_dev *iio_dev) in hts221_buffer_postdisable()
165 struct iio_dev *iio_dev = pf->indio_dev; in hts221_buffer_handler_thread() local
195 int hts221_allocate_buffers(struct iio_dev *iio_dev) in hts221_allocate_buffers()
Dhts221_core.c420 static int hts221_read_raw(struct iio_dev *iio_dev, in hts221_read_raw()
478 static int hts221_write_raw(struct iio_dev *iio_dev, in hts221_write_raw()
516 static int hts221_validate_trigger(struct iio_dev *iio_dev, in hts221_validate_trigger()
552 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_init_regulators() local
582 struct iio_dev *iio_dev; in hts221_probe() local
675 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_suspend() local
685 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_resume() local
Ddht11.c188 static int dht11_read_raw(struct iio_dev *iio_dev, in dht11_read_raw()
/Linux-v6.1/drivers/iio/common/scmi_sensors/
Dscmi_iio.c84 static int scmi_iio_buffer_preenable(struct iio_dev *iio_dev) in scmi_iio_buffer_preenable()
106 static int scmi_iio_buffer_postdisable(struct iio_dev *iio_dev) in scmi_iio_buffer_postdisable()
131 static int scmi_iio_set_odr_val(struct iio_dev *iio_dev, int val, int val2) in scmi_iio_set_odr_val()
197 static int scmi_iio_write_raw(struct iio_dev *iio_dev, in scmi_iio_write_raw()
214 static int scmi_iio_read_avail(struct iio_dev *iio_dev, in scmi_iio_read_avail()
246 static int scmi_iio_get_odr_val(struct iio_dev *iio_dev, int *val, int *val2) in scmi_iio_get_odr_val()
282 static int scmi_iio_read_channel_data(struct iio_dev *iio_dev, in scmi_iio_read_channel_data()
328 static int scmi_iio_read_raw(struct iio_dev *iio_dev, in scmi_iio_read_raw()
368 static ssize_t scmi_iio_get_raw_available(struct iio_dev *iio_dev, in scmi_iio_get_raw_available()
512 static int scmi_iio_set_sampling_freq_avail(struct iio_dev *iio_dev) in scmi_iio_set_sampling_freq_avail()
/Linux-v6.1/drivers/iio/dac/
Dad5592r-base.c297 static int ad5592r_write_raw(struct iio_dev *iio_dev, in ad5592r_write_raw()
370 static int ad5592r_read_raw(struct iio_dev *iio_dev, in ad5592r_read_raw()
470 static ssize_t ad5592r_show_scale_available(struct iio_dev *iio_dev, in ad5592r_show_scale_available()
491 static void ad5592r_setup_channel(struct iio_dev *iio_dev, in ad5592r_setup_channel()
506 static int ad5592r_alloc_channels(struct iio_dev *iio_dev) in ad5592r_alloc_channels()
590 struct iio_dev *iio_dev; in ad5592r_probe() local
667 struct iio_dev *iio_dev = dev_get_drvdata(dev); in ad5592r_remove() local
Dti-dac7612.c75 static int dac7612_read_raw(struct iio_dev *iio_dev, in dac7612_read_raw()
96 static int dac7612_write_raw(struct iio_dev *iio_dev, in dac7612_write_raw()
126 struct iio_dev *iio_dev; in dac7612_probe() local
Dad5761.c349 struct iio_dev *iio_dev; in ad5761_probe() local
399 struct iio_dev *iio_dev = spi_get_drvdata(spi); in ad5761_remove() local
/Linux-v6.1/drivers/iio/adc/
Dingenic-adc.c114 static void ingenic_adc_set_adcmd(struct iio_dev *iio_dev, unsigned long mask) in ingenic_adc_set_adcmd()
237 static int ingenic_adc_write_raw(struct iio_dev *iio_dev, in ingenic_adc_write_raw()
606 static int ingenic_adc_read_avail(struct iio_dev *iio_dev, in ingenic_adc_read_avail()
631 static int ingenic_adc_read_chan_info_raw(struct iio_dev *iio_dev, in ingenic_adc_read_chan_info_raw()
686 static int ingenic_adc_read_raw(struct iio_dev *iio_dev, in ingenic_adc_read_raw()
722 static int ingenic_adc_fwnode_xlate(struct iio_dev *iio_dev, in ingenic_adc_fwnode_xlate()
744 static int ingenic_adc_buffer_enable(struct iio_dev *iio_dev) in ingenic_adc_buffer_enable()
776 static int ingenic_adc_buffer_disable(struct iio_dev *iio_dev) in ingenic_adc_buffer_disable()
801 struct iio_dev *iio_dev = data; in ingenic_adc_irq() local
823 struct iio_dev *iio_dev; in ingenic_adc_probe() local
Dad7091r-base.c98 static int ad7091r_read_one(struct iio_dev *iio_dev, in ad7091r_read_one()
121 static int ad7091r_read_raw(struct iio_dev *iio_dev, in ad7091r_read_raw()
178 struct iio_dev *iio_dev = dev_get_drvdata(st->dev); in ad7091r_event_handler() local
214 struct iio_dev *iio_dev; in ad7091r_probe() local
Dmxs-lradc-adc.c131 static int mxs_lradc_adc_read_single(struct iio_dev *iio_dev, int chan, in mxs_lradc_adc_read_single()
200 static int mxs_lradc_adc_read_temp(struct iio_dev *iio_dev, int *val) in mxs_lradc_adc_read_temp()
217 static int mxs_lradc_adc_read_raw(struct iio_dev *iio_dev, in mxs_lradc_adc_read_raw()
269 static int mxs_lradc_adc_write_raw(struct iio_dev *iio_dev, in mxs_lradc_adc_write_raw()
308 static int mxs_lradc_adc_write_raw_get_fmt(struct iio_dev *iio_dev, in mxs_lradc_adc_write_raw_get_fmt()
Drn5t618-adc.c103 static int rn5t618_adc_read(struct iio_dev *iio_dev, in rn5t618_adc_read()
198 struct iio_dev *iio_dev; in rn5t618_adc_probe() local
Dmt6360-adc.c194 static int mt6360_adc_read_raw(struct iio_dev *iio_dev, const struct iio_chan_spec *chan, in mt6360_adc_read_raw()
216 static int mt6360_adc_read_label(struct iio_dev *iio_dev, const struct iio_chan_spec *chan, in mt6360_adc_read_label()
Dtwl4030-madc.c174 static int twl4030_madc_read(struct iio_dev *iio_dev, in twl4030_madc_read()
751 struct iio_dev *iio_dev = NULL; in twl4030_madc_probe() local
896 struct iio_dev *iio_dev = platform_get_drvdata(pdev); in twl4030_madc_remove() local
Dviperboard_adc.c49 static int vprbrd_iio_read_raw(struct iio_dev *iio_dev, in vprbrd_iio_read_raw()
Dmen_z188_adc.c47 static int z188_iio_read_raw(struct iio_dev *iio_dev, in z188_iio_read_raw()
Dstm32-dfsdm-adc.c1076 int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev, in stm32_dfsdm_get_buff_cb()
1099 int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev) in stm32_dfsdm_release_buff_cb()
Drzg2l_adc.c260 static int rzg2l_adc_read_label(struct iio_dev *iio_dev, in rzg2l_adc_read_label()
/Linux-v6.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c1409 static int st_lsm6dsx_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_read_raw()
1443 static int st_lsm6dsx_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_write_raw()
1503 static int st_lsm6dsx_read_event(struct iio_dev *iio_dev, in st_lsm6dsx_read_event()
1523 st_lsm6dsx_write_event(struct iio_dev *iio_dev, in st_lsm6dsx_write_event()
1555 st_lsm6dsx_read_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_read_event_config()
1570 st_lsm6dsx_write_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_write_event_config()
1618 int st_lsm6dsx_set_watermark(struct iio_dev *iio_dev, unsigned int val) in st_lsm6dsx_set_watermark()
1999 struct iio_dev *iio_dev; in st_lsm6dsx_alloc_iiodev() local
Dst_lsm6dsx_buffer.c502 struct iio_dev *iio_dev; in st_lsm6dsx_push_tagged_data() local
714 static int st_lsm6dsx_buffer_preenable(struct iio_dev *iio_dev) in st_lsm6dsx_buffer_preenable()
725 static int st_lsm6dsx_buffer_postdisable(struct iio_dev *iio_dev) in st_lsm6dsx_buffer_postdisable()
Dst_lsm6dsx_shub.c554 st_lsm6dsx_shub_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_shub_read_raw()
619 st_lsm6dsx_shub_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_shub_write_raw()
735 struct iio_dev *iio_dev; in st_lsm6dsx_shub_alloc_iiodev() local
/Linux-v6.1/drivers/iio/imu/bno055/
Dbno055.c958 static int _bno055_write_raw(struct iio_dev *iio_dev, in _bno055_write_raw()
1006 static int bno055_write_raw(struct iio_dev *iio_dev, in bno055_write_raw()
1261 static int bno055_debugfs_reg_access(struct iio_dev *iio_dev, unsigned int reg, in bno055_debugfs_reg_access()
1313 static void bno055_debugfs_init(struct iio_dev *iio_dev) in bno055_debugfs_init()
1441 struct iio_dev *iio_dev = pf->indio_dev; in bno055_trigger_handler() local
1556 struct iio_dev *iio_dev; in bno055_probe() local
/Linux-v6.1/drivers/iio/chemical/
Dsunrise_co2.c395 static int sunrise_read_raw(struct iio_dev *iio_dev, in sunrise_read_raw()
477 struct iio_dev *iio_dev; in sunrise_probe() local

12