Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/include/linux/iio/
Diio.h577 struct iio_dev { struct
578 int modes;
579 struct device dev;
603 int iio_device_id(struct iio_dev *indio_dev); argument
/linux-6.6.21/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.c421 static int hts221_read_raw(struct iio_dev *iio_dev, in hts221_read_raw()
479 static int hts221_write_raw(struct iio_dev *iio_dev, in hts221_write_raw()
517 static int hts221_validate_trigger(struct iio_dev *iio_dev, in hts221_validate_trigger()
567 struct iio_dev *iio_dev; in hts221_probe() local
656 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_suspend() local
666 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-6.6.21/drivers/iio/common/scmi_sensors/
Dscmi_iio.c87 static int scmi_iio_buffer_preenable(struct iio_dev *iio_dev) in scmi_iio_buffer_preenable()
109 static int scmi_iio_buffer_postdisable(struct iio_dev *iio_dev) in scmi_iio_buffer_postdisable()
134 static int scmi_iio_set_odr_val(struct iio_dev *iio_dev, int val, int val2) in scmi_iio_set_odr_val()
200 static int scmi_iio_write_raw(struct iio_dev *iio_dev, in scmi_iio_write_raw()
218 static int scmi_iio_read_avail(struct iio_dev *iio_dev, in scmi_iio_read_avail()
250 static int scmi_iio_get_odr_val(struct iio_dev *iio_dev, int *val, int *val2) in scmi_iio_get_odr_val()
286 static int scmi_iio_read_channel_data(struct iio_dev *iio_dev, in scmi_iio_read_channel_data()
332 static int scmi_iio_read_raw(struct iio_dev *iio_dev, in scmi_iio_read_raw()
372 static ssize_t scmi_iio_get_raw_available(struct iio_dev *iio_dev, in scmi_iio_get_raw_available()
516 static int scmi_iio_set_sampling_freq_avail(struct iio_dev *iio_dev) in scmi_iio_set_sampling_freq_avail()
/linux-6.6.21/drivers/iio/dac/
Dad5592r-base.c302 static int ad5592r_write_raw(struct iio_dev *iio_dev, in ad5592r_write_raw()
375 static int ad5592r_read_raw(struct iio_dev *iio_dev, in ad5592r_read_raw()
475 static ssize_t ad5592r_show_scale_available(struct iio_dev *iio_dev, in ad5592r_show_scale_available()
496 static void ad5592r_setup_channel(struct iio_dev *iio_dev, in ad5592r_setup_channel()
511 static int ad5592r_alloc_channels(struct iio_dev *iio_dev) in ad5592r_alloc_channels()
595 struct iio_dev *iio_dev; in ad5592r_probe() local
672 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-6.6.21/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.c121 static int ad7091r_read_one(struct iio_dev *iio_dev, in ad7091r_read_one()
144 static int ad7091r_read_raw(struct iio_dev *iio_dev, in ad7091r_read_raw()
334 struct iio_dev *iio_dev = private; in ad7091r_event_handler() local
371 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
Dmt6370-adc.c220 static int mt6370_adc_read_raw(struct iio_dev *iio_dev, in mt6370_adc_read_raw()
251 static int mt6370_adc_read_label(struct iio_dev *iio_dev, in mt6370_adc_read_label()
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.c175 static int twl4030_madc_read(struct iio_dev *iio_dev, in twl4030_madc_read()
752 struct iio_dev *iio_dev = NULL; in twl4030_madc_probe() local
897 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.c1077 int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev, in stm32_dfsdm_get_buff_cb()
1100 int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev) in stm32_dfsdm_release_buff_cb()
/linux-6.6.21/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c1777 static int st_lsm6dsx_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_read_raw()
1811 static int st_lsm6dsx_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_write_raw()
1871 static int st_lsm6dsx_read_event(struct iio_dev *iio_dev, in st_lsm6dsx_read_event()
1891 st_lsm6dsx_write_event(struct iio_dev *iio_dev, in st_lsm6dsx_write_event()
1923 st_lsm6dsx_read_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_read_event_config()
1938 st_lsm6dsx_write_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_write_event_config()
1986 int st_lsm6dsx_set_watermark(struct iio_dev *iio_dev, unsigned int val) in st_lsm6dsx_set_watermark()
2367 struct iio_dev *iio_dev; in st_lsm6dsx_alloc_iiodev() local
2492 struct iio_dev *iio_dev = pf->indio_dev; in st_lsm6dsx_sw_trigger_handler_thread() local
2572 static int st_lsm6dsx_sw_buffer_preenable(struct iio_dev *iio_dev) in st_lsm6dsx_sw_buffer_preenable()
[all …]
Dst_lsm6dsx_buffer.c516 struct iio_dev *iio_dev; in st_lsm6dsx_push_tagged_data() local
747 static int st_lsm6dsx_buffer_preenable(struct iio_dev *iio_dev) in st_lsm6dsx_buffer_preenable()
758 static int st_lsm6dsx_buffer_postdisable(struct iio_dev *iio_dev) in st_lsm6dsx_buffer_postdisable()
Dst_lsm6dsx_shub.c552 st_lsm6dsx_shub_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_shub_read_raw()
617 st_lsm6dsx_shub_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_shub_write_raw()
733 struct iio_dev *iio_dev; in st_lsm6dsx_shub_alloc_iiodev() local
/linux-6.6.21/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-6.6.21/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