/Linux-v6.6/drivers/iio/pressure/ |
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-v6.6/drivers/iio/ |
D | industrialio-core.c | 191 int iio_device_id(struct iio_dev *indio_dev) in iio_device_id() 205 bool iio_buffer_enabled(struct iio_dev *indio_dev) in iio_buffer_enabled() 220 struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) in iio_get_debugfs_dentry() 238 *iio_find_channel_from_si(struct iio_dev *indio_dev, int si) in iio_find_channel_from_si() 264 int iio_device_set_clock(struct iio_dev *indio_dev, clockid_t clock_id) in iio_device_set_clock() 291 clockid_t iio_device_get_clock(const struct iio_dev *indio_dev) in iio_device_get_clock() 305 s64 iio_get_time_ns(const struct iio_dev *indio_dev) in iio_get_time_ns() 370 struct iio_dev *indio_dev = file->private_data; in iio_debugfs_read_reg() local 400 struct iio_dev *indio_dev = file->private_data; in iio_debugfs_write_reg() local 441 static void iio_device_unregister_debugfs(struct iio_dev *indio_dev) in iio_device_unregister_debugfs() [all …]
|
D | industrialio-buffer.c | 46 static int iio_buffer_flush_hwfifo(struct iio_dev *indio_dev, in iio_buffer_flush_hwfifo() 55 static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, in iio_buffer_ready() 111 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_read() local 180 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_write() local 243 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_poll() local 310 void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) in iio_buffer_wakeup_poll() 342 void iio_device_detach_buffers(struct iio_dev *indio_dev) in iio_device_detach_buffers() 429 static bool iio_validate_scan_mask(struct iio_dev *indio_dev, in iio_validate_scan_mask() 448 static int iio_scan_mask_set(struct iio_dev *indio_dev, in iio_scan_mask_set() 492 static int iio_scan_mask_query(struct iio_dev *indio_dev, in iio_scan_mask_query() [all …]
|
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 299 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_state_show() local 316 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_value_show() local 337 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_value_store() local 358 static int iio_device_add_event(struct iio_dev *indio_dev, in iio_device_add_event() [all …]
|
D | iio_core.h | 22 struct iio_dev *indio_dev; member 91 static inline int iio_buffers_alloc_sysfs_and_mask(struct iio_dev *indio_dev) in iio_buffers_alloc_sysfs_and_mask() 96 static inline void iio_buffers_free_sysfs_and_mask(struct iio_dev *indio_dev) {} in iio_buffers_free_sysfs_and_mask() 98 static inline void iio_disable_all_buffers(struct iio_dev *indio_dev) {} in iio_disable_all_buffers() 99 static inline void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) {} in iio_buffer_wakeup_poll() 100 static inline void iio_device_detach_buffers(struct iio_dev *indio_dev) {} in iio_device_detach_buffers()
|
/Linux-v6.6/drivers/iio/gyro/ |
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 …]
|
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()
|
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 …]
|
/Linux-v6.6/drivers/iio/common/st_sensors/ |
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 …]
|
/Linux-v6.6/drivers/iio/adc/ |
D | ad7606.c | 64 static int ad7606_reg_access(struct iio_dev *indio_dev, in ad7606_reg_access() 123 struct iio_dev *indio_dev = pf->indio_dev; in ad7606_trigger_handler() local 143 static int ad7606_scan_direct(struct iio_dev *indio_dev, unsigned int ch) in ad7606_scan_direct() 166 static int ad7606_read_raw(struct iio_dev *indio_dev, in ad7606_read_raw() 220 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in in_voltage_scale_available_show() local 228 static int ad7606_write_scale_hw(struct iio_dev *indio_dev, int ch, int val) in ad7606_write_scale_hw() 237 static int ad7606_write_os_hw(struct iio_dev *indio_dev, int val) in ad7606_write_os_hw() 254 static int ad7606_write_raw(struct iio_dev *indio_dev, in ad7606_write_raw() 302 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in ad7606_oversampling_ratio_avail() local 475 struct iio_dev *indio_dev = dev_id; in ad7606_interrupt() local [all …]
|
D | stm32-dfsdm-adc.c | 171 static int stm32_dfsdm_get_jextsel(struct iio_dev *indio_dev, in stm32_dfsdm_get_jextsel() 313 static int stm32_dfsdm_compute_all_osrs(struct iio_dev *indio_dev, in stm32_dfsdm_compute_all_osrs() 335 static int stm32_dfsdm_start_channel(struct iio_dev *indio_dev) in stm32_dfsdm_start_channel() 355 static void stm32_dfsdm_stop_channel(struct iio_dev *indio_dev) in stm32_dfsdm_stop_channel() 423 static int stm32_dfsdm_filter_set_trig(struct iio_dev *indio_dev, in stm32_dfsdm_filter_set_trig() 452 static int stm32_dfsdm_channels_configure(struct iio_dev *indio_dev, in stm32_dfsdm_channels_configure() 498 static int stm32_dfsdm_filter_configure(struct iio_dev *indio_dev, in stm32_dfsdm_filter_configure() 599 struct iio_dev *indio_dev, in stm32_dfsdm_channel_parse_of() 669 static ssize_t dfsdm_adc_audio_get_spiclk(struct iio_dev *indio_dev, in dfsdm_adc_audio_get_spiclk() 679 static int dfsdm_adc_set_samp_freq(struct iio_dev *indio_dev, in dfsdm_adc_set_samp_freq() [all …]
|
D | stm32-adc.c | 677 struct iio_dev *indio_dev = dev_get_drvdata(dev); in stm32_adc_hw_stop() local 690 struct iio_dev *indio_dev = dev_get_drvdata(dev); in stm32_adc_hw_start() local 714 static void stm32_adc_int_ch_enable(struct iio_dev *indio_dev) in stm32_adc_int_ch_enable() 796 static void stm32f4_adc_start_conv(struct iio_dev *indio_dev, bool dma) in stm32f4_adc_start_conv() 816 static void stm32f4_adc_stop_conv(struct iio_dev *indio_dev) in stm32f4_adc_stop_conv() 828 static void stm32f4_adc_irq_clear(struct iio_dev *indio_dev, u32 msk) in stm32f4_adc_irq_clear() 835 static void stm32h7_adc_start_conv(struct iio_dev *indio_dev, bool dma) in stm32h7_adc_start_conv() 856 static void stm32h7_adc_stop_conv(struct iio_dev *indio_dev) in stm32h7_adc_stop_conv() 874 static void stm32h7_adc_irq_clear(struct iio_dev *indio_dev, u32 msk) in stm32h7_adc_irq_clear() 881 static void stm32mp13_adc_start_conv(struct iio_dev *indio_dev, bool dma) in stm32mp13_adc_start_conv() [all …]
|
D | xilinx-xadc-events.c | 16 struct iio_dev *indio_dev, unsigned int event) in xadc_event_to_channel() 30 static void xadc_handle_event(struct iio_dev *indio_dev, unsigned int event) in xadc_handle_event() 62 void xadc_handle_events(struct iio_dev *indio_dev, unsigned long events) in xadc_handle_events() 113 int xadc_read_event_config(struct iio_dev *indio_dev, in xadc_read_event_config() 122 int xadc_write_event_config(struct iio_dev *indio_dev, in xadc_write_event_config() 158 int xadc_read_event_value(struct iio_dev *indio_dev, in xadc_read_event_value() 183 int xadc_write_event_value(struct iio_dev *indio_dev, in xadc_write_event_value()
|
D | ti_am335x_adc.c | 106 static void tiadc_step_config(struct iio_dev *indio_dev) in tiadc_step_config() 151 struct iio_dev *indio_dev = private; in tiadc_irq_h() local 193 struct iio_dev *indio_dev = private; in tiadc_worker_h() local 215 struct iio_dev *indio_dev = param; in tiadc_dma_rx_complete() local 230 static int tiadc_start_dma(struct iio_dev *indio_dev) in tiadc_start_dma() 276 static int tiadc_buffer_preenable(struct iio_dev *indio_dev) in tiadc_buffer_preenable() 298 static int tiadc_buffer_postenable(struct iio_dev *indio_dev) in tiadc_buffer_postenable() 330 static int tiadc_buffer_predisable(struct iio_dev *indio_dev) in tiadc_buffer_predisable() 355 static int tiadc_buffer_postdisable(struct iio_dev *indio_dev) in tiadc_buffer_postdisable() 370 struct iio_dev *indio_dev, in tiadc_iio_buffered_hardware_setup() [all …]
|
/Linux-v6.6/drivers/iio/dac/ |
D | stm32-dac.c | 40 static int stm32_dac_is_enabled(struct iio_dev *indio_dev, int channel) in stm32_dac_is_enabled() 57 static int stm32_dac_set_enable_state(struct iio_dev *indio_dev, int ch, in stm32_dac_set_enable_state() 137 static int stm32_dac_read_raw(struct iio_dev *indio_dev, in stm32_dac_read_raw() 155 static int stm32_dac_write_raw(struct iio_dev *indio_dev, in stm32_dac_write_raw() 169 static int stm32_dac_debugfs_reg_access(struct iio_dev *indio_dev, in stm32_dac_debugfs_reg_access() 191 static int stm32_dac_get_powerdown_mode(struct iio_dev *indio_dev, in stm32_dac_get_powerdown_mode() 197 static int stm32_dac_set_powerdown_mode(struct iio_dev *indio_dev, in stm32_dac_set_powerdown_mode() 204 static ssize_t stm32_dac_read_powerdown(struct iio_dev *indio_dev, in stm32_dac_read_powerdown() 217 static ssize_t stm32_dac_write_powerdown(struct iio_dev *indio_dev, in stm32_dac_write_powerdown() 278 static int stm32_dac_chan_of_init(struct iio_dev *indio_dev) in stm32_dac_chan_of_init() [all …]
|
D | ad5624r_spi.c | 45 static int ad5624r_read_raw(struct iio_dev *indio_dev, in ad5624r_read_raw() 62 static int ad5624r_write_raw(struct iio_dev *indio_dev, in ad5624r_write_raw() 90 static int ad5624r_get_powerdown_mode(struct iio_dev *indio_dev, in ad5624r_get_powerdown_mode() 98 static int ad5624r_set_powerdown_mode(struct iio_dev *indio_dev, in ad5624r_set_powerdown_mode() 115 static ssize_t ad5624r_read_dac_powerdown(struct iio_dev *indio_dev, in ad5624r_read_dac_powerdown() 124 static ssize_t ad5624r_write_dac_powerdown(struct iio_dev *indio_dev, in ad5624r_write_dac_powerdown() 225 struct iio_dev *indio_dev; in ad5624r_probe() local 298 struct iio_dev *indio_dev = spi_get_drvdata(spi); in ad5624r_remove() local
|
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
|
/Linux-v6.6/drivers/iio/light/ |
D | veml6030.c | 103 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); in in_illuminance_period_available_show() local 214 static int veml6030_get_intgrn_tm(struct iio_dev *indio_dev, in veml6030_get_intgrn_tm() 254 static int veml6030_set_intgrn_tm(struct iio_dev *indio_dev, in veml6030_set_intgrn_tm() 315 static int veml6030_read_persistence(struct iio_dev *indio_dev, in veml6030_read_persistence() 340 static int veml6030_write_persistence(struct iio_dev *indio_dev, in veml6030_write_persistence() 375 static int veml6030_set_als_gain(struct iio_dev *indio_dev, in veml6030_set_als_gain() 420 static int veml6030_get_als_gain(struct iio_dev *indio_dev, in veml6030_get_als_gain() 457 static int veml6030_read_thresh(struct iio_dev *indio_dev, in veml6030_read_thresh() 477 static int veml6030_write_thresh(struct iio_dev *indio_dev, in veml6030_write_thresh() 505 static int veml6030_read_raw(struct iio_dev *indio_dev, in veml6030_read_raw() [all …]
|
/Linux-v6.6/drivers/iio/dummy/ |
D | iio_simple_dummy_events.c | 30 int iio_simple_dummy_read_event_config(struct iio_dev *indio_dev, in iio_simple_dummy_read_event_config() 52 int iio_simple_dummy_write_event_config(struct iio_dev *indio_dev, in iio_simple_dummy_write_event_config() 118 int iio_simple_dummy_read_event_value(struct iio_dev *indio_dev, in iio_simple_dummy_read_event_value() 142 int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, in iio_simple_dummy_write_event_value() 158 struct iio_dev *indio_dev = private; in iio_simple_dummy_get_timestamp() local 177 struct iio_dev *indio_dev = private; in iio_simple_dummy_event_handler() local 236 int iio_simple_dummy_events_register(struct iio_dev *indio_dev) in iio_simple_dummy_events_register() 269 void iio_simple_dummy_events_unregister(struct iio_dev *indio_dev) in iio_simple_dummy_events_unregister()
|
/Linux-v6.6/drivers/iio/accel/ |
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() 453 struct iio_dev *indio_dev; in mma9551_probe() local 514 struct iio_dev *indio_dev = i2c_get_clientdata(client); in mma9551_remove() local [all …]
|
/Linux-v6.6/drivers/iio/common/hid-sensors/ |
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-v6.6/drivers/iio/chemical/ |
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-v6.6/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_trigger.c | 12 static unsigned int inv_scan_query_mpu6050(struct iio_dev *indio_dev) in inv_scan_query_mpu6050() 57 static unsigned int inv_scan_query_mpu9x50(struct iio_dev *indio_dev) in inv_scan_query_mpu9x50() 81 static unsigned int inv_scan_query(struct iio_dev *indio_dev) in inv_scan_query() 160 static int inv_mpu6050_set_enable(struct iio_dev *indio_dev, bool enable) in inv_mpu6050_set_enable() 209 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in inv_mpu_data_rdy_trigger_set_state() local 224 int inv_mpu6050_probe_trigger(struct iio_dev *indio_dev, int irq_type) in inv_mpu6050_probe_trigger()
|
/Linux-v6.6/drivers/iio/proximity/ |
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() 248 int sx_common_read_event_config(struct iio_dev *indio_dev, in sx_common_read_event_config() 269 int sx_common_write_event_config(struct iio_dev *indio_dev, in sx_common_write_event_config() 311 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in sx_common_set_trigger_state() local 338 struct iio_dev *indio_dev = private; in sx_common_irq_thread_handler() local 366 struct iio_dev *indio_dev = pf->indio_dev; in sx_common_trigger_handler() local 395 static int sx_common_buffer_preenable(struct iio_dev *indio_dev) in sx_common_buffer_preenable() 411 static int sx_common_buffer_postdisable(struct iio_dev *indio_dev) in sx_common_buffer_postdisable() 450 static int sx_common_init_device(struct device *dev, struct iio_dev *indio_dev) in sx_common_init_device() [all …]
|
/Linux-v6.6/drivers/iio/common/cros_ec_sensors/ |
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() 226 struct iio_dev *indio_dev = platform_get_drvdata(pdev); in cros_ec_sensors_core_clean() local 244 struct iio_dev *indio_dev, in cros_ec_sensors_core_init() 377 struct iio_dev *indio_dev, in cros_ec_sensors_core_register() 439 static ssize_t cros_ec_sensors_calibrate(struct iio_dev *indio_dev, in cros_ec_sensors_calibrate() 468 static ssize_t cros_ec_sensors_id(struct iio_dev *indio_dev, in cros_ec_sensors_id() 581 static int cros_ec_sensors_read_data_unsafe(struct iio_dev *indio_dev, in cros_ec_sensors_read_data_unsafe() [all …]
|