Home
last modified time | relevance | path

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

12

/linux/include/linux/iio/
H A Diio.h607 struct iio_dev { global() struct
608 modesiio_dev global() argument
609 deviio_dev global() argument
633 priviio_dev global() argument
[all...]
/linux/drivers/iio/common/scmi_sensors/
H A Dscmi_iio.c86 static int scmi_iio_buffer_preenable(struct iio_dev *iio_dev) in scmi_iio_buffer_preenable() argument
108 static int scmi_iio_buffer_postdisable(struct iio_dev *iio_dev) in scmi_iio_buffer_postdisable() argument
133 scmi_iio_set_odr_val(struct iio_dev * iio_dev,int val,int val2) scmi_iio_set_odr_val() argument
199 scmi_iio_write_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) scmi_iio_write_raw() argument
217 scmi_iio_read_avail(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,const int ** vals,int * type,int * length,long mask) scmi_iio_read_avail() argument
249 scmi_iio_get_odr_val(struct iio_dev * iio_dev,int * val,int * val2) scmi_iio_get_odr_val() argument
285 scmi_iio_read_channel_data(struct iio_dev * iio_dev,struct iio_chan_spec const * ch,int * val,int * val2) scmi_iio_read_channel_data() argument
331 scmi_iio_read_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * ch,int * val,int * val2,long mask) scmi_iio_read_raw() argument
370 scmi_iio_get_raw_available(struct iio_dev * iio_dev,uintptr_t private,const struct iio_chan_spec * chan,char * buf) scmi_iio_get_raw_available() argument
514 scmi_iio_set_sampling_freq_avail(struct iio_dev * iio_dev) scmi_iio_set_sampling_freq_avail() argument
[all...]
/linux/drivers/iio/dac/
H A Dad5592r-base.c289 static int ad5592r_write_raw(struct iio_dev *iio_dev, in ad5592r_write_raw()
357 static int ad5592r_read_raw(struct iio_dev *iio_dev, in ad5592r_read_raw()
453 static ssize_t ad5592r_show_scale_available(struct iio_dev *iio_dev, in ad5592r_show_scale_available()
474 static void ad5592r_setup_channel(struct iio_dev *iio_dev, in ad5592r_setup_channel()
489 static int ad5592r_alloc_channels(struct iio_dev *iio_dev) in ad5592r_alloc_channels()
573 struct iio_dev *iio_dev; in ad5592r_probe() local
652 struct iio_dev *iio_dev = dev_get_drvdata(dev); in ad5592r_remove() local
H A 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
H A Dad5761.c288 struct iio_dev *iio_dev; in ad5761_probe() local
/linux/drivers/iio/adc/
H A Dingenic-adc.c114 ingenic_adc_set_adcmd(struct iio_dev * iio_dev,unsigned long mask) ingenic_adc_set_adcmd() argument
237 ingenic_adc_write_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int val,int val2,long m) ingenic_adc_write_raw() argument
606 ingenic_adc_read_avail(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,const int ** vals,int * type,int * length,long m) ingenic_adc_read_avail() argument
631 ingenic_adc_read_chan_info_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int * val) ingenic_adc_read_chan_info_raw() argument
686 ingenic_adc_read_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long m) ingenic_adc_read_raw() argument
722 ingenic_adc_fwnode_xlate(struct iio_dev * iio_dev,const struct fwnode_reference_args * iiospec) ingenic_adc_fwnode_xlate() argument
744 ingenic_adc_buffer_enable(struct iio_dev * iio_dev) ingenic_adc_buffer_enable() argument
776 ingenic_adc_buffer_disable(struct iio_dev * iio_dev) ingenic_adc_buffer_disable() argument
801 struct iio_dev *iio_dev = data; ingenic_adc_irq() local
823 struct iio_dev *iio_dev; ingenic_adc_probe() local
[all...]
H A Dad7091r-base.c59 static int ad7091r_read_one(struct iio_dev *iio_dev, in ad7091r_read_one()
82 static int ad7091r_read_raw(struct iio_dev *iio_dev, in ad7091r_read_raw()
264 struct iio_dev *iio_dev = private; in ad7091r_event_handler() local
300 struct iio_dev *iio_dev; in ad7091r_probe() local
H A Drohm-bd79124.c334 static int bd79124_read_event_value(struct iio_dev *iio_dev, in bd79124_read_event_value() argument
455 static int bd79124_read_event_config(struct iio_dev *iio_dev, in bd79124_read_event_config() argument
557 static int bd79124_write_event_config(struct iio_dev *iio_dev, in bd79124_write_event_config() argument
573 static int bd79124_write_event_value(struct iio_dev *iio_de argument
666 bd79124_read_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long m) bd79124_read_raw() argument
843 struct iio_dev *iio_dev = priv; bd79124_event_handler() local
911 struct iio_dev *iio_dev = priv; bd79124_irq_handler() local
1002 struct iio_dev *iio_dev; bd79124_probe() local
[all...]
H A 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()
H A 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()
H A Dtwl4030-madc.c176 static int twl4030_madc_read(struct iio_dev *iio_dev, in twl4030_madc_read()
753 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
H A Dviperboard_adc.c49 static int vprbrd_iio_read_raw(struct iio_dev *iio_dev, in vprbrd_iio_read_raw()
H A Dmen_z188_adc.c47 static int z188_iio_read_raw(struct iio_dev *iio_dev, in z188_iio_read_raw()
H A Drohm-bd79112.c417 struct iio_dev *iio_dev; in bd79112_probe() local
H A Dstm32-dfsdm-adc.c1164 int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev, in stm32_dfsdm_get_buff_cb()
1187 int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev) in stm32_dfsdm_release_buff_cb()
/linux/drivers/iio/humidity/
H A Dhts221_core.c421 static int __hts221_read_raw(struct iio_dev *iio_dev, in __hts221_read_raw()
461 static int hts221_read_raw(struct iio_dev *iio_dev, in hts221_read_raw()
477 static int __hts221_write_raw(struct iio_dev *iio_dev, in __hts221_write_raw()
500 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()
566 struct iio_dev *iio_dev; in hts221_probe() local
655 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_suspend() local
665 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hts221_resume() local
H A Dhdc3020.c859 struct iio_dev *iio_dev = dev_get_drvdata(dev); in hdc3020_suspend() local
867 struct iio_dev *iio_dev = dev_get_drvdata(dev); hdc3020_resume() local
[all...]
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_core.c1875 st_lsm6dsx_read_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * ch,int * val,int * val2,long mask) st_lsm6dsx_read_raw() argument
1908 st_lsm6dsx_write_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) st_lsm6dsx_write_raw() argument
2047 st_lsm6dsx_read_event(struct iio_dev * iio_dev,const struct iio_chan_spec * chan,enum iio_event_type type,enum iio_event_direction dir,enum iio_event_info info,int * val,int * val2) st_lsm6dsx_read_event() argument
2079 st_lsm6dsx_write_event(struct iio_dev * iio_dev,const struct iio_chan_spec * chan,enum iio_event_type type,enum iio_event_direction dir,enum iio_event_info info,int val,int val2) st_lsm6dsx_write_event() argument
2113 st_lsm6dsx_read_event_config(struct iio_dev * iio_dev,const struct iio_chan_spec * chan,enum iio_event_type type,enum iio_event_direction dir) st_lsm6dsx_read_event_config() argument
2171 st_lsm6dsx_write_event_config(struct iio_dev * iio_dev,const struct iio_chan_spec * chan,enum iio_event_type type,enum iio_event_direction dir,bool state) st_lsm6dsx_write_event_config() argument
2212 st_lsm6dsx_set_watermark(struct iio_dev * iio_dev,unsigned int val) st_lsm6dsx_set_watermark() argument
2572 struct iio_dev *iio_dev; st_lsm6dsx_alloc_iiodev() local
2715 struct iio_dev *iio_dev = pf->indio_dev; st_lsm6dsx_sw_trigger_handler_thread() local
2793 st_lsm6dsx_sw_buffer_preenable(struct iio_dev * iio_dev) st_lsm6dsx_sw_buffer_preenable() argument
2800 st_lsm6dsx_sw_buffer_postdisable(struct iio_dev * iio_dev) st_lsm6dsx_sw_buffer_postdisable() argument
[all...]
H A Dst_lsm6dsx_buffer.c546 struct iio_dev *iio_dev; st_lsm6dsx_push_tagged_data() local
780 st_lsm6dsx_buffer_preenable(struct iio_dev * iio_dev) st_lsm6dsx_buffer_preenable() argument
791 st_lsm6dsx_buffer_postdisable(struct iio_dev * iio_dev) st_lsm6dsx_buffer_postdisable() argument
820 struct iio_dev *iio_dev = dev_to_iio_dev(dev); st_lsm6dsx_hwfifo_odr_store() local
[all...]
H A Dst_lsm6dsx_shub.c552 st_lsm6dsx_shub_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_shub_read_raw()
616 __st_lsm6dsx_shub_write_raw(struct iio_dev *iio_dev, in __st_lsm6dsx_shub_write_raw()
654 st_lsm6dsx_shub_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_shub_write_raw()
737 struct iio_dev *iio_dev; in st_lsm6dsx_shub_alloc_iiodev() local
/linux/drivers/iio/chemical/
H A Dsen0322.c71 static int sen0322_read_raw(struct iio_dev *iio_dev, in sen0322_read_raw()
120 struct iio_dev *iio_dev; in sen0322_probe() local
H A Dsunrise_co2.c393 static int sunrise_read_raw(struct iio_dev *iio_dev, in sunrise_read_raw()
475 struct iio_dev *iio_dev; in sunrise_probe() local
/linux/drivers/iio/light/
H A Dsi1133.c643 struct iio_dev *iio_dev = private; si1133_threaded_irq_handler() local
747 si1133_read_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long mask) si1133_read_raw() argument
821 si1133_write_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) si1133_write_raw() argument
961 si1133_validate_ids(struct iio_dev * iio_dev) si1133_validate_ids() argument
997 struct iio_dev *iio_dev; si1133_probe() local
[all...]
/linux/drivers/iio/imu/bno055/
H A Dbno055.c966 _bno055_write_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) _bno055_write_raw() argument
1014 bno055_write_raw(struct iio_dev * iio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) bno055_write_raw() argument
1269 bno055_debugfs_reg_access(struct iio_dev * iio_dev,unsigned int reg,unsigned int writeval,unsigned int * readval) bno055_debugfs_reg_access() argument
1321 bno055_debugfs_init(struct iio_dev * iio_dev) bno055_debugfs_init() argument
1449 struct iio_dev *iio_dev = pf->indio_dev; bno055_trigger_handler() local
1564 struct iio_dev *iio_dev; bno055_probe() local
[all...]
/linux/drivers/iio/
H A Dindustrialio-core.c1745 devm_iio_device_release(void * iio_dev) devm_iio_device_release() argument
1763 struct iio_dev *iio_dev; devm_iio_device_alloc() local
[all...]

12