Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/iio/
Diio.h521 struct iio_dev { struct
522 int id;
523 struct module *driver_module;
525 int modes;
526 int currentmode;
527 struct device dev;
529 struct iio_buffer *buffer;
530 int scan_bytes;
531 struct mutex mlock;
533 const unsigned long *available_scan_masks;
[all …]
/kernel/linux/linux-5.10/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()
218 static int st_uvis25_buffer_preenable(struct iio_dev *iio_dev) in st_uvis25_buffer_preenable()
223 static int st_uvis25_buffer_postdisable(struct iio_dev *iio_dev) in st_uvis25_buffer_postdisable()
236 struct iio_dev *iio_dev = pf->indio_dev; in st_uvis25_buffer_handler_thread() local
256 static int st_uvis25_allocate_buffer(struct iio_dev *iio_dev) in st_uvis25_allocate_buffer()
288 struct iio_dev *iio_dev; in st_uvis25_probe() local
331 struct iio_dev *iio_dev = dev_get_drvdata(dev); in st_uvis25_suspend() local
340 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
/kernel/linux/linux-5.10/drivers/iio/humidity/
Dhts221_buffer.c40 struct iio_dev *iio_dev = iio_trigger_get_drvdata(trig); in hts221_trig_set_state() local
75 int hts221_allocate_trigger(struct iio_dev *iio_dev) in hts221_allocate_trigger()
144 static int hts221_buffer_preenable(struct iio_dev *iio_dev) in hts221_buffer_preenable()
149 static int hts221_buffer_postdisable(struct iio_dev *iio_dev) in hts221_buffer_postdisable()
162 struct iio_dev *iio_dev = pf->indio_dev; in hts221_buffer_handler_thread() local
192 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()
553 struct iio_dev *iio_dev; in hts221_probe() local
638 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_suspend() local
648 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_resume() local
Ddht11.c189 static int dht11_read_raw(struct iio_dev *iio_dev, in dht11_read_raw()
/kernel/linux/linux-5.10/drivers/iio/dac/
Dad5592r-base.c298 static int ad5592r_write_raw(struct iio_dev *iio_dev, in ad5592r_write_raw()
371 static int ad5592r_read_raw(struct iio_dev *iio_dev, in ad5592r_read_raw()
471 static ssize_t ad5592r_show_scale_available(struct iio_dev *iio_dev, in ad5592r_show_scale_available()
492 static void ad5592r_setup_channel(struct iio_dev *iio_dev, in ad5592r_setup_channel()
507 static int ad5592r_alloc_channels(struct iio_dev *iio_dev) in ad5592r_alloc_channels()
591 struct iio_dev *iio_dev; in ad5592r_probe() local
668 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
/kernel/linux/linux-5.10/drivers/iio/adc/
Dingenic-adc.c110 static void ingenic_adc_set_adcmd(struct iio_dev *iio_dev, unsigned long mask) in ingenic_adc_set_adcmd()
233 static int ingenic_adc_write_raw(struct iio_dev *iio_dev, in ingenic_adc_write_raw()
543 static int ingenic_adc_read_avail(struct iio_dev *iio_dev, in ingenic_adc_read_avail()
568 static int ingenic_adc_read_chan_info_raw(struct iio_dev *iio_dev, in ingenic_adc_read_chan_info_raw()
611 static int ingenic_adc_read_raw(struct iio_dev *iio_dev, in ingenic_adc_read_raw()
646 static int ingenic_adc_of_xlate(struct iio_dev *iio_dev, in ingenic_adc_of_xlate()
673 static int ingenic_adc_buffer_enable(struct iio_dev *iio_dev) in ingenic_adc_buffer_enable()
705 static int ingenic_adc_buffer_disable(struct iio_dev *iio_dev) in ingenic_adc_buffer_disable()
730 struct iio_dev *iio_dev = data; in ingenic_adc_irq() local
752 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.c106 static int rn5t618_adc_read(struct iio_dev *iio_dev, in rn5t618_adc_read()
195 struct iio_dev *iio_dev; in rn5t618_adc_probe() local
Dviperboard_adc.c49 static int vprbrd_iio_read_raw(struct iio_dev *iio_dev, in vprbrd_iio_read_raw()
Dtwl4030-madc.c174 static int twl4030_madc_read(struct iio_dev *iio_dev, in twl4030_madc_read()
758 struct iio_dev *iio_dev = NULL; in twl4030_madc_probe() local
903 struct iio_dev *iio_dev = platform_get_drvdata(pdev); in twl4030_madc_remove() local
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()
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c1583 static int st_lsm6dsx_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_read_raw()
1617 static int st_lsm6dsx_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_write_raw()
1677 static int st_lsm6dsx_read_event(struct iio_dev *iio_dev, in st_lsm6dsx_read_event()
1697 st_lsm6dsx_write_event(struct iio_dev *iio_dev, in st_lsm6dsx_write_event()
1729 st_lsm6dsx_read_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_read_event_config()
1744 st_lsm6dsx_write_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_write_event_config()
1792 int st_lsm6dsx_set_watermark(struct iio_dev *iio_dev, unsigned int val) in st_lsm6dsx_set_watermark()
2174 struct iio_dev *iio_dev; in st_lsm6dsx_alloc_iiodev() local
Dst_lsm6dsx_buffer.c501 struct iio_dev *iio_dev; in st_lsm6dsx_push_tagged_data() local
713 static int st_lsm6dsx_buffer_preenable(struct iio_dev *iio_dev) in st_lsm6dsx_buffer_preenable()
724 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
Dst_lsm6dsx.h493 st_lsm6dsx_get_mount_matrix(const struct iio_dev *iio_dev, in st_lsm6dsx_get_mount_matrix()
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c1421 int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type) in inv_mpu_core_probe()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-core.c1604 struct iio_dev **ptr, *iio_dev; in devm_iio_device_alloc() local