Home
last modified time | relevance | path

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

/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
/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()
146 static int hts221_buffer_preenable(struct iio_dev *iio_dev) in hts221_buffer_preenable()
151 static int hts221_buffer_postdisable(struct iio_dev *iio_dev) in hts221_buffer_postdisable()
164 struct iio_dev *iio_dev = pf->indio_dev; in hts221_buffer_handler_thread() local
194 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.c189 static int dht11_read_raw(struct iio_dev *iio_dev, in dht11_read_raw()
/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
/drivers/iio/common/scmi_sensors/
Dscmi_iio.c83 static int scmi_iio_buffer_preenable(struct iio_dev *iio_dev) in scmi_iio_buffer_preenable()
105 static int scmi_iio_buffer_postdisable(struct iio_dev *iio_dev) in scmi_iio_buffer_postdisable()
130 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_raw(struct iio_dev *iio_dev, in scmi_iio_read_raw()
314 static ssize_t scmi_iio_get_raw_available(struct iio_dev *iio_dev, in scmi_iio_get_raw_available()
457 static int scmi_iio_set_sampling_freq_avail(struct iio_dev *iio_dev) in scmi_iio_set_sampling_freq_avail()
/drivers/iio/adc/
Dingenic-adc.c112 static void ingenic_adc_set_adcmd(struct iio_dev *iio_dev, unsigned long mask) in ingenic_adc_set_adcmd()
235 static int ingenic_adc_write_raw(struct iio_dev *iio_dev, in ingenic_adc_write_raw()
604 static int ingenic_adc_read_avail(struct iio_dev *iio_dev, in ingenic_adc_read_avail()
629 static int ingenic_adc_read_chan_info_raw(struct iio_dev *iio_dev, in ingenic_adc_read_chan_info_raw()
684 static int ingenic_adc_read_raw(struct iio_dev *iio_dev, in ingenic_adc_read_raw()
720 static int ingenic_adc_of_xlate(struct iio_dev *iio_dev, in ingenic_adc_of_xlate()
747 static int ingenic_adc_buffer_enable(struct iio_dev *iio_dev) in ingenic_adc_buffer_enable()
779 static int ingenic_adc_buffer_disable(struct iio_dev *iio_dev) in ingenic_adc_buffer_disable()
804 struct iio_dev *iio_dev = data; in ingenic_adc_irq() local
826 struct iio_dev *iio_dev; in ingenic_adc_probe() local
Drn5t618-adc.c108 static int rn5t618_adc_read(struct iio_dev *iio_dev, in rn5t618_adc_read()
202 struct iio_dev *iio_dev = (struct iio_dev *) data; in unregister_map() local
210 struct iio_dev *iio_dev; in rn5t618_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()
Dmt6360-adc.c193 static int mt6360_adc_read_raw(struct iio_dev *iio_dev, const struct iio_chan_spec *chan, in mt6360_adc_read_raw()
215 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()
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
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()
Drzg2l_adc.c259 static int rzg2l_adc_read_label(struct iio_dev *iio_dev, in rzg2l_adc_read_label()
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c1397 static int st_lsm6dsx_read_raw(struct iio_dev *iio_dev, in st_lsm6dsx_read_raw()
1431 static int st_lsm6dsx_write_raw(struct iio_dev *iio_dev, in st_lsm6dsx_write_raw()
1491 static int st_lsm6dsx_read_event(struct iio_dev *iio_dev, in st_lsm6dsx_read_event()
1511 st_lsm6dsx_write_event(struct iio_dev *iio_dev, in st_lsm6dsx_write_event()
1543 st_lsm6dsx_read_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_read_event_config()
1558 st_lsm6dsx_write_event_config(struct iio_dev *iio_dev, in st_lsm6dsx_write_event_config()
1606 int st_lsm6dsx_set_watermark(struct iio_dev *iio_dev, unsigned int val) in st_lsm6dsx_set_watermark()
1988 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.h499 st_lsm6dsx_get_mount_matrix(const struct iio_dev *iio_dev, in st_lsm6dsx_get_mount_matrix()
/drivers/iio/
Dindustrialio-core.c1724 static void devm_iio_device_release(void *iio_dev) in devm_iio_device_release()
1742 struct iio_dev *iio_dev; in devm_iio_device_alloc() local
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c1436 int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type) in inv_mpu_core_probe()