/linux/drivers/iio/pressure/ |
H A D | zpa2326.c | 218 static int zpa2326_enable_device(const struct iio_dev *indio_dev) in zpa2326_enable_device() 244 static int zpa2326_sleep(const struct iio_dev *indio_dev) in zpa2326_sleep() 270 static int zpa2326_reset_device(const struct iio_dev *indio_dev) in zpa2326_reset_device() 299 static int zpa2326_start_oneshot(const struct iio_dev *indio_dev) in zpa2326_start_oneshot() 331 static int zpa2326_power_on(const struct iio_dev *indio_dev, in zpa2326_power_on() 376 static void zpa2326_power_off(const struct iio_dev *indio_dev, in zpa2326_power_off() 402 static int zpa2326_config_oneshot(const struct iio_dev *indio_dev, in zpa2326_config_oneshot() 444 static int zpa2326_clear_fifo(const struct iio_dev *indio_dev, in zpa2326_clear_fifo() 512 static int zpa2326_dequeue_pressure(const struct iio_dev *indio_dev, in zpa2326_dequeue_pressure() 579 static int zpa2326_fill_sample_buffer(struct iio_dev *indio_dev, in zpa2326_fill_sample_buffer() [all …]
|
/linux/drivers/iio/gyro/ |
H A D | itg3200_core.c | 32 int itg3200_write_reg_8(struct iio_dev *indio_dev, in itg3200_write_reg_8() 40 int itg3200_read_reg_8(struct iio_dev *indio_dev, in itg3200_read_reg_8() 53 static int itg3200_read_reg_s16(struct iio_dev *indio_dev, u8 lower_reg_address, in itg3200_read_reg_s16() 84 static int itg3200_read_raw(struct iio_dev *indio_dev, in itg3200_read_raw() 129 static int itg3200_write_raw(struct iio_dev *indio_dev, in itg3200_write_raw() 169 static int itg3200_reset(struct iio_dev *indio_dev) in itg3200_reset() 202 static int itg3200_enable_full_scale(struct iio_dev *indio_dev) in itg3200_enable_full_scale() 218 static int itg3200_initial_setup(struct iio_dev *indio_dev) in itg3200_initial_setup() 244 itg3200_get_mount_matrix(const struct iio_dev *indio_dev, in itg3200_get_mount_matrix() 302 struct iio_dev *indio_dev; in itg3200_probe() local [all …]
|
H A D | adxrs290.c | 115 static int adxrs290_get_rate_data(struct iio_dev *indio_dev, const u8 cmd, int *val) in adxrs290_get_rate_data() 135 static int adxrs290_get_temp_data(struct iio_dev *indio_dev, int *val) in adxrs290_get_temp_data() 157 static int adxrs290_get_3db_freq(struct iio_dev *indio_dev, u8 *val, u8 *val2) in adxrs290_get_3db_freq() 203 static int adxrs290_set_filter_freq(struct iio_dev *indio_dev, in adxrs290_set_filter_freq() 215 static int adxrs290_set_mode(struct iio_dev *indio_dev, enum adxrs290_mode mode) in adxrs290_set_mode() 259 struct iio_dev *indio_dev = data; in adxrs290_chip_off_action() local 264 static int adxrs290_initial_setup(struct iio_dev *indio_dev) in adxrs290_initial_setup() 281 static int adxrs290_read_raw(struct iio_dev *indio_dev, in adxrs290_read_raw() 360 static int adxrs290_write_raw(struct iio_dev *indio_dev, in adxrs290_write_raw() 415 static int adxrs290_read_avail(struct iio_dev *indio_dev, in adxrs290_read_avail() [all …]
|
H A D | itg3200_buffer.c | 47 struct iio_dev *indio_dev = pf->indio_dev; in itg3200_trigger_handler() local 70 int itg3200_buffer_configure(struct iio_dev *indio_dev) in itg3200_buffer_configure() 76 void itg3200_buffer_unconfigure(struct iio_dev *indio_dev) in itg3200_buffer_unconfigure() 85 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in itg3200_data_rdy_trigger_set_state() local 111 int itg3200_probe_trigger(struct iio_dev *indio_dev) in itg3200_probe_trigger() 148 void itg3200_remove_trigger(struct iio_dev *indio_dev) in itg3200_remove_trigger()
|
/linux/drivers/iio/common/st_sensors/ |
H A D | st_sensors_core.c | 24 int st_sensors_write_data_with_mask(struct iio_dev *indio_dev, in st_sensors_write_data_with_mask() 33 int st_sensors_debugfs_reg_access(struct iio_dev *indio_dev, in st_sensors_debugfs_reg_access() 72 int st_sensors_set_odr(struct iio_dev *indio_dev, unsigned int odr) in st_sensors_set_odr() 134 static int st_sensors_set_fullscale(struct iio_dev *indio_dev, unsigned int fs) in st_sensors_set_fullscale() 161 int st_sensors_set_enable(struct iio_dev *indio_dev, bool enable) in st_sensors_set_enable() 208 int st_sensors_set_axis_enable(struct iio_dev *indio_dev, u8 axis_enable) in st_sensors_set_axis_enable() 223 int st_sensors_power_enable(struct iio_dev *indio_dev) in st_sensors_power_enable() 241 static int st_sensors_set_drdy_int_pin(struct iio_dev *indio_dev, in st_sensors_set_drdy_int_pin() 336 int st_sensors_init_sensor(struct iio_dev *indio_dev, in st_sensors_init_sensor() 423 int st_sensors_set_dataready_irq(struct iio_dev *indio_dev, bool enable) in st_sensors_set_dataready_irq() [all …]
|
H A D | st_sensors_trigger.c | 27 static bool st_sensors_new_samples_available(struct iio_dev *indio_dev, in st_sensors_new_samples_available() 60 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in st_sensors_irq_handler() local 76 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in st_sensors_irq_thread() local 119 int st_sensors_allocate_trigger(struct iio_dev *indio_dev, in st_sensors_allocate_trigger() 233 struct iio_dev *indio_dev) in st_sensors_validate_device()
|
/linux/drivers/iio/ |
H A D | industrialio-buffer.c | 80 static int iio_buffer_flush_hwfifo(struct iio_dev *indio_dev, in iio_buffer_flush_hwfifo() 89 static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, in iio_buffer_ready() 145 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_read() local 214 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_write() local 277 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_poll() local 344 void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) in iio_buffer_wakeup_poll() 378 void iio_device_detach_buffers(struct iio_dev *indio_dev) in iio_device_detach_buffers() 403 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_show_fixed_type() local 489 static bool iio_validate_scan_mask(struct iio_dev *indio_dev, in iio_validate_scan_mask() 508 static int iio_scan_mask_set(struct iio_dev *indio_dev, in iio_scan_mask_set() [all …]
|
H A D | industrialio-event.c | 66 int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) in iio_push_event() 102 struct iio_dev *indio_dev = filep->private_data; in iio_event_poll() local 123 struct iio_dev *indio_dev = filep->private_data; in iio_event_chrdev_read() local 173 struct iio_dev *indio_dev = filep->private_data; in iio_event_chrdev_release() local 192 static int iio_event_getfd(struct iio_dev *indio_dev) in iio_event_getfd() 279 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_state_store() local 302 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_state_show() local 322 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_value_show() local 346 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_value_store() local 371 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_label_show() local [all …]
|
H A D | iio_core.h | 22 struct iio_dev *indio_dev; member 92 static inline int iio_buffers_alloc_sysfs_and_mask(struct iio_dev *indio_dev) in iio_buffers_alloc_sysfs_and_mask() 97 static inline void iio_buffers_free_sysfs_and_mask(struct iio_dev *indio_dev) {} in iio_buffers_free_sysfs_and_mask() 99 static inline void iio_disable_all_buffers(struct iio_dev *indio_dev) {} in iio_disable_all_buffers() 100 static inline void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) {} in iio_buffer_wakeup_poll() 101 static inline void iio_device_detach_buffers(struct iio_dev *indio_dev) {} in iio_device_detach_buffers()
|
/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 173 static int stm32_dfsdm_get_jextsel(struct iio_dev *indio_dev, in stm32_dfsdm_get_jextsel() 315 static int stm32_dfsdm_compute_all_osrs(struct iio_dev *indio_dev, in stm32_dfsdm_compute_all_osrs() 337 static int stm32_dfsdm_start_channel(struct iio_dev *indio_dev) in stm32_dfsdm_start_channel() 357 static void stm32_dfsdm_stop_channel(struct iio_dev *indio_dev) in stm32_dfsdm_stop_channel() 425 static int stm32_dfsdm_filter_set_trig(struct iio_dev *indio_dev, in stm32_dfsdm_filter_set_trig() 454 static int stm32_dfsdm_channels_configure(struct iio_dev *indio_dev, in stm32_dfsdm_channels_configure() 500 static int stm32_dfsdm_filter_configure(struct iio_dev *indio_dev, in stm32_dfsdm_filter_configure() 601 struct iio_dev *indio_dev, in stm32_dfsdm_channel_parse_of() 672 struct iio_dev *indio_dev, in stm32_dfsdm_generic_channel_parse_of() 739 static ssize_t dfsdm_adc_audio_get_spiclk(struct iio_dev *indio_dev, in dfsdm_adc_audio_get_spiclk() [all …]
|
H A D | ad7606.c | 548 static int ad7606_reg_access(struct iio_dev *indio_dev, in ad7606_reg_access() 653 struct iio_dev *indio_dev = pf->indio_dev; in ad7606_trigger_handler() local 673 static int ad7606_scan_direct(struct iio_dev *indio_dev, unsigned int ch, in ad7606_scan_direct() 734 static int ad7606_read_raw(struct iio_dev *indio_dev, in ad7606_read_raw() 780 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in in_voltage_scale_available_show() local 797 static int ad7606_write_scale_hw(struct iio_dev *indio_dev, int ch, int val) in ad7606_write_scale_hw() 806 static int ad7606_write_os_hw(struct iio_dev *indio_dev, int val) in ad7606_write_os_hw() 823 static int ad7606_write_raw(struct iio_dev *indio_dev, in ad7606_write_raw() 877 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in ad7606_oversampling_ratio_avail() local 967 struct iio_dev *indio_dev = dev_id; in ad7606_interrupt() local [all …]
|
/linux/drivers/iio/light/ |
H A D | veml6030.c | 291 static int veml6030_get_intgrn_tm(struct iio_dev *indio_dev, in veml6030_get_intgrn_tm() 331 static int veml6030_set_intgrn_tm(struct iio_dev *indio_dev, in veml6030_set_intgrn_tm() 392 static int veml6030_read_persistence(struct iio_dev *indio_dev, in veml6030_read_persistence() 417 static int veml6030_write_persistence(struct iio_dev *indio_dev, in veml6030_write_persistence() 467 static int veml6030_set_als_gain(struct iio_dev *indio_dev, in veml6030_set_als_gain() 502 static int veml6035_set_als_gain(struct iio_dev *indio_dev, int val, int val2) in veml6035_set_als_gain() 542 static int veml6030_get_als_gain(struct iio_dev *indio_dev, in veml6030_get_als_gain() 579 static int veml6035_get_als_gain(struct iio_dev *indio_dev, int *val, int *val2) in veml6035_get_als_gain() 625 static int veml6030_read_thresh(struct iio_dev *indio_dev, in veml6030_read_thresh() 645 static int veml6030_write_thresh(struct iio_dev *indio_dev, in veml6030_write_thresh() [all …]
|
H A D | vcnl4035.c | 85 struct iio_dev *indio_dev = private; in vcnl4035_drdy_irq_thread() local 105 struct iio_dev *indio_dev = pf->indio_dev; in vcnl4035_trigger_consumer_handler() local 129 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trigger); in vcnl4035_als_drdy_set_state() local 172 static int vcnl4035_read_raw(struct iio_dev *indio_dev, in vcnl4035_read_raw() 219 static int vcnl4035_write_raw(struct iio_dev *indio_dev, in vcnl4035_write_raw() 249 static int vcnl4035_read_thresh(struct iio_dev *indio_dev, in vcnl4035_read_thresh() 278 static int vcnl4035_write_thresh(struct iio_dev *indio_dev, in vcnl4035_write_thresh() 505 static int vcnl4035_probe_trigger(struct iio_dev *indio_dev) in vcnl4035_probe_trigger() 548 struct iio_dev *indio_dev; in vcnl4035_probe() local 608 struct iio_dev *indio_dev = i2c_get_clientdata(client); in vcnl4035_remove() local [all …]
|
/linux/drivers/iio/accel/ |
H A D | mma9551.c | 106 static int mma9551_read_raw(struct iio_dev *indio_dev, in mma9551_read_raw() 147 static int mma9551_read_event_config(struct iio_dev *indio_dev, in mma9551_read_event_config() 163 static int mma9551_config_incli_event(struct iio_dev *indio_dev, in mma9551_config_incli_event() 224 static int mma9551_write_event_config(struct iio_dev *indio_dev, in mma9551_write_event_config() 245 static int mma9551_write_event_value(struct iio_dev *indio_dev, in mma9551_write_event_value() 272 static int mma9551_read_event_value(struct iio_dev *indio_dev, in mma9551_read_event_value() 336 struct iio_dev *indio_dev = private; in mma9551_event_handler() local 403 static int mma9551_gpio_probe(struct iio_dev *indio_dev) in mma9551_gpio_probe() 442 struct iio_dev *indio_dev; in mma9551_probe() local 503 struct iio_dev *indio_dev = i2c_get_clientdata(client); in mma9551_remove() local [all …]
|
H A D | kxsd9.c | 97 static int kxsd9_write_scale(struct iio_dev *indio_dev, int micro) in kxsd9_write_scale() 136 static int kxsd9_write_raw(struct iio_dev *indio_dev, in kxsd9_write_raw() 160 static int kxsd9_read_raw(struct iio_dev *indio_dev, in kxsd9_read_raw() 211 struct iio_dev *indio_dev = pf->indio_dev; in kxsd9_trigger_handler() local 241 static int kxsd9_buffer_preenable(struct iio_dev *indio_dev) in kxsd9_buffer_preenable() 250 static int kxsd9_buffer_postdisable(struct iio_dev *indio_dev) in kxsd9_buffer_postdisable() 266 kxsd9_get_mount_matrix(const struct iio_dev *indio_dev, in kxsd9_get_mount_matrix() 401 struct iio_dev *indio_dev; in kxsd9_common_probe() local 481 struct iio_dev *indio_dev = dev_get_drvdata(dev); in kxsd9_common_remove() local 495 struct iio_dev *indio_dev = dev_get_drvdata(dev); in kxsd9_runtime_suspend() local [all …]
|
H A D | bmc150-accel-core.c | 389 struct iio_dev *indio_dev = dev_get_drvdata(dev); in bmc150_apply_bosc0200_acpi_orientation() local 416 struct iio_dev *indio_dev = dev_get_drvdata(dev); in bmc150_apply_dual250e_acpi_orientation() local 502 static void bmc150_accel_interrupts_setup(struct iio_dev *indio_dev, in bmc150_accel_interrupts_setup() 654 static int bmc150_accel_read_raw(struct iio_dev *indio_dev, in bmc150_accel_read_raw() 715 static int bmc150_accel_write_raw(struct iio_dev *indio_dev, in bmc150_accel_write_raw() 743 static int bmc150_accel_read_event(struct iio_dev *indio_dev, in bmc150_accel_read_event() 767 static int bmc150_accel_write_event(struct iio_dev *indio_dev, in bmc150_accel_write_event() 793 static int bmc150_accel_read_event_config(struct iio_dev *indio_dev, in bmc150_accel_read_event_config() 803 static int bmc150_accel_write_event_config(struct iio_dev *indio_dev, in bmc150_accel_write_event_config() 830 static int bmc150_accel_validate_trigger(struct iio_dev *indio_dev, in bmc150_accel_validate_trigger() [all …]
|
/linux/drivers/iio/chemical/ |
H A D | scd30_core.c | 197 static int scd30_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, in scd30_read_raw() 256 static int scd30_write_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, in scd30_write_raw() 309 static int scd30_write_raw_get_fmt(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, in scd30_write_raw_get_fmt() 331 static int scd30_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, in scd30_read_avail() 374 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in calibration_auto_enable_show() local 389 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in calibration_auto_enable_store() local 408 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in calibration_forced_value_show() local 423 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in calibration_forced_value_store() local 522 struct iio_dev *indio_dev = dev_get_drvdata(dev); in scd30_suspend() local 535 struct iio_dev *indio_dev = dev_get_drvdata(dev); in scd30_resume() local [all …]
|
/linux/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-trigger.c | 23 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in _hid_sensor_set_report_latency() local 46 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in _hid_sensor_get_report_latency() local 61 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in _hid_sensor_get_fifo_state() local 212 void hid_sensor_remove_trigger(struct iio_dev *indio_dev, in hid_sensor_remove_trigger() 231 int hid_sensor_setup_trigger(struct iio_dev *indio_dev, const char *name, in hid_sensor_setup_trigger() 296 struct iio_dev *indio_dev = dev_get_drvdata(dev); in hid_sensor_suspend() local 304 struct iio_dev *indio_dev = dev_get_drvdata(dev); in hid_sensor_resume() local 312 struct iio_dev *indio_dev = dev_get_drvdata(dev); in hid_sensor_runtime_resume() local
|
/linux/drivers/iio/proximity/ |
H A D | sx_common.c | 60 struct iio_dev *indio_dev = private; in sx_common_irq_handler() local 74 static void sx_common_push_events(struct iio_dev *indio_dev) in sx_common_push_events() 247 int sx_common_read_event_config(struct iio_dev *indio_dev, in sx_common_read_event_config() 268 int sx_common_write_event_config(struct iio_dev *indio_dev, in sx_common_write_event_config() 310 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in sx_common_set_trigger_state() local 337 struct iio_dev *indio_dev = private; in sx_common_irq_thread_handler() local 365 struct iio_dev *indio_dev = pf->indio_dev; in sx_common_trigger_handler() local 393 static int sx_common_buffer_preenable(struct iio_dev *indio_dev) in sx_common_buffer_preenable() 408 static int sx_common_buffer_postdisable(struct iio_dev *indio_dev) in sx_common_buffer_postdisable() 426 static int sx_common_init_device(struct device *dev, struct iio_dev *indio_dev) in sx_common_init_device() [all …]
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_trigger.c | 28 static int trigger_read_raw(struct iio_dev *indio_dev, in trigger_read_raw() 48 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in trigger_set_state() local 89 struct iio_dev *indio_dev = pf->indio_dev; in trigger_handler() local 107 static int probe_trigger(struct iio_dev *indio_dev, int irq) in probe_trigger() 140 static void remove_trigger(struct iio_dev *indio_dev, int irq) in remove_trigger() 151 struct iio_dev *indio_dev; in mgb4_trigger_create() local 200 void mgb4_trigger_free(struct iio_dev *indio_dev) in mgb4_trigger_free()
|
/linux/drivers/iio/dac/ |
H A D | ad8460.c | 176 static ssize_t ad8460_dac_input_read(struct iio_dev *indio_dev, uintptr_t private, in ad8460_dac_input_read() 190 static ssize_t ad8460_dac_input_write(struct iio_dev *indio_dev, uintptr_t private, in ad8460_dac_input_write() 207 static ssize_t ad8460_read_symbol(struct iio_dev *indio_dev, uintptr_t private, in ad8460_read_symbol() 221 static ssize_t ad8460_write_symbol(struct iio_dev *indio_dev, uintptr_t private, in ad8460_write_symbol() 241 static ssize_t ad8460_read_toggle_en(struct iio_dev *indio_dev, uintptr_t private, in ad8460_read_toggle_en() 255 static ssize_t ad8460_write_toggle_en(struct iio_dev *indio_dev, uintptr_t private, in ad8460_write_toggle_en() 272 static ssize_t ad8460_read_powerdown(struct iio_dev *indio_dev, uintptr_t private, in ad8460_read_powerdown() 286 static ssize_t ad8460_write_powerdown(struct iio_dev *indio_dev, uintptr_t private, in ad8460_write_powerdown() 340 static int ad8460_get_powerdown_mode(struct iio_dev *indio_dev, in ad8460_get_powerdown_mode() 346 static int ad8460_set_powerdown_mode(struct iio_dev *indio_dev, in ad8460_set_powerdown_mode() [all …]
|
H A D | ds4424.c | 70 static int ds4424_get_value(struct iio_dev *indio_dev, in ds4424_get_value() 88 static int ds4424_set_value(struct iio_dev *indio_dev, in ds4424_set_value() 107 static int ds4424_read_raw(struct iio_dev *indio_dev, in ds4424_read_raw() 133 static int ds4424_write_raw(struct iio_dev *indio_dev, in ds4424_write_raw() 162 static int ds4424_verify_chip(struct iio_dev *indio_dev) in ds4424_verify_chip() 177 struct iio_dev *indio_dev = i2c_get_clientdata(client); in ds4424_suspend() local 195 struct iio_dev *indio_dev = i2c_get_clientdata(client); in ds4424_resume() local 220 struct iio_dev *indio_dev; in ds4424_probe() local 286 struct iio_dev *indio_dev = i2c_get_clientdata(client); in ds4424_remove() local
|
H A D | ti-dac7311.c | 81 static int ti_dac_get_powerdown_mode(struct iio_dev *indio_dev, in ti_dac_get_powerdown_mode() 89 static int ti_dac_set_powerdown_mode(struct iio_dev *indio_dev, in ti_dac_set_powerdown_mode() 106 static ssize_t ti_dac_read_powerdown(struct iio_dev *indio_dev, in ti_dac_read_powerdown() 116 static ssize_t ti_dac_write_powerdown(struct iio_dev *indio_dev, in ti_dac_write_powerdown() 166 static int ti_dac_read_raw(struct iio_dev *indio_dev, in ti_dac_read_raw() 191 static int ti_dac_write_raw(struct iio_dev *indio_dev, in ti_dac_write_raw() 224 static int ti_dac_write_raw_get_fmt(struct iio_dev *indio_dev, in ti_dac_write_raw_get_fmt() 241 struct iio_dev *indio_dev; in ti_dac_probe() local 299 struct iio_dev *indio_dev = spi_get_drvdata(spi); in ti_dac_remove() local
|
/linux/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 118 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in cros_ec_sensor_set_report_latency() local 140 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in cros_ec_sensor_get_report_latency() local 167 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in hwfifo_watermark_max_show() local 181 int cros_ec_sensors_push_data(struct iio_dev *indio_dev, in cros_ec_sensors_push_data() 224 struct iio_dev *indio_dev = platform_get_drvdata(pdev); in cros_ec_sensors_core_clean() local 242 struct iio_dev *indio_dev, in cros_ec_sensors_core_init() 375 struct iio_dev *indio_dev, in cros_ec_sensors_core_register() 437 static ssize_t cros_ec_sensors_calibrate(struct iio_dev *indio_dev, in cros_ec_sensors_calibrate() 466 static ssize_t cros_ec_sensors_id(struct iio_dev *indio_dev, in cros_ec_sensors_id() 579 static int cros_ec_sensors_read_data_unsafe(struct iio_dev *indio_dev, in cros_ec_sensors_read_data_unsafe() [all …]
|
/linux/drivers/iio/magnetometer/ |
H A D | st_magn_buffer.c | 21 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in st_magn_trig_set_state() local 26 static int st_magn_buffer_postenable(struct iio_dev *indio_dev) in st_magn_buffer_postenable() 31 static int st_magn_buffer_predisable(struct iio_dev *indio_dev) in st_magn_buffer_predisable() 41 int st_magn_allocate_ring(struct iio_dev *indio_dev) in st_magn_allocate_ring()
|