Home
last modified time | relevance | path

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

12345678910>>...14

/linux/drivers/iio/
H A Dindustrialio-buffer.c82 static int iio_buffer_flush_hwfifo(struct iio_dev *indio_dev, in iio_buffer_flush_hwfifo()
91 static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, in iio_buffer_ready()
147 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_read() local
216 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_write() local
281 struct iio_dev *indio_dev = ib->indio_dev; in iio_buffer_poll() local
348 void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) in iio_buffer_wakeup_poll()
382 void iio_device_detach_buffers(struct iio_dev *indio_dev) in iio_device_detach_buffers()
407 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_show_fixed_type() local
493 static bool iio_validate_scan_mask(struct iio_dev *indio_dev, in iio_validate_scan_mask()
512 static int iio_scan_mask_set(struct iio_dev *indio_dev, in iio_scan_mask_set()
[all …]
H A Dindustrialio-event.c66 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()
281 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_state_store() local
304 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_state_show() local
324 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_value_show() local
348 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_value_store() local
373 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in iio_ev_label_show() local
[all …]
H A Diio_core.h22 struct iio_dev *indio_dev; member
92 iio_buffers_alloc_sysfs_and_mask(struct iio_dev * indio_dev) iio_buffers_alloc_sysfs_and_mask() argument
97 iio_buffers_free_sysfs_and_mask(struct iio_dev * indio_dev) iio_buffers_free_sysfs_and_mask() argument
99 iio_disable_all_buffers(struct iio_dev * indio_dev) iio_disable_all_buffers() argument
100 iio_buffer_wakeup_poll(struct iio_dev * indio_dev) iio_buffer_wakeup_poll() argument
101 iio_device_detach_buffers(struct iio_dev * indio_dev) iio_device_detach_buffers() argument
[all...]
/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_core.c24 int st_sensors_write_data_with_mask(struct iio_dev *indio_dev, in st_sensors_write_data_with_mask() argument
33 int st_sensors_debugfs_reg_access(struct iio_dev *indio_dev, in st_sensors_debugfs_reg_access() argument
72 int st_sensors_set_odr(struct iio_dev *indio_dev, unsigned int odr) in st_sensors_set_odr() argument
134 static int st_sensors_set_fullscale(struct iio_dev *indio_dev, unsigned int fs) in st_sensors_set_fullscale() argument
161 st_sensors_set_enable(struct iio_dev * indio_dev,bool enable) st_sensors_set_enable() argument
208 st_sensors_set_axis_enable(struct iio_dev * indio_dev,u8 axis_enable) st_sensors_set_axis_enable() argument
223 st_sensors_power_enable(struct iio_dev * indio_dev) st_sensors_power_enable() argument
240 st_sensors_set_drdy_int_pin(struct iio_dev * indio_dev,struct st_sensors_platform_data * pdata) st_sensors_set_drdy_int_pin() argument
334 st_sensors_init_sensor(struct iio_dev * indio_dev,struct st_sensors_platform_data * pdata) st_sensors_init_sensor() argument
422 st_sensors_set_dataready_irq(struct iio_dev * indio_dev,bool enable) st_sensors_set_dataready_irq() argument
471 st_sensors_set_fullscale_by_gain(struct iio_dev * indio_dev,int scale) st_sensors_set_fullscale_by_gain() argument
494 st_sensors_read_axis_data(struct iio_dev * indio_dev,struct iio_chan_spec const * ch,int * data) st_sensors_read_axis_data() argument
532 st_sensors_read_info_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * ch,int * val) st_sensors_read_info_raw() argument
598 st_sensors_verify_id(struct iio_dev * indio_dev) st_sensors_verify_id() argument
626 struct iio_dev *indio_dev = dev_to_iio_dev(dev); st_sensors_sysfs_sampling_frequency_avail() local
646 struct iio_dev *indio_dev = dev_to_iio_dev(dev); st_sensors_sysfs_scale_avail() local
[all...]
/linux/drivers/iio/dac/
H A Dstm32-dac.c40 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()
129 static int stm32_dac_read_raw(struct iio_dev *indio_dev, in stm32_dac_read_raw()
147 static int stm32_dac_write_raw(struct iio_dev *indio_dev, in stm32_dac_write_raw()
161 static int stm32_dac_debugfs_reg_access(struct iio_dev *indio_dev, in stm32_dac_debugfs_reg_access()
183 static int stm32_dac_get_powerdown_mode(struct iio_dev *indio_dev, in stm32_dac_get_powerdown_mode()
189 static int stm32_dac_set_powerdown_mode(struct iio_dev *indio_dev, in stm32_dac_set_powerdown_mode()
196 static ssize_t stm32_dac_read_powerdown(struct iio_dev *indio_dev, in stm32_dac_read_powerdown()
209 static ssize_t stm32_dac_write_powerdown(struct iio_dev *indio_dev, in stm32_dac_write_powerdown()
270 static int stm32_dac_chan_of_init(struct iio_dev *indio_dev) in stm32_dac_chan_of_init()
[all …]
H A Dad5446.c30 static int ad5446_set_powerdown_mode(struct iio_dev *indio_dev, in ad5446_set_powerdown_mode()
41 static int ad5446_get_powerdown_mode(struct iio_dev *indio_dev, in ad5446_get_powerdown_mode()
56 static ssize_t ad5446_read_dac_powerdown(struct iio_dev *indio_dev, in ad5446_read_dac_powerdown()
66 static ssize_t ad5446_write_dac_powerdown(struct iio_dev *indio_dev, in ad5446_write_dac_powerdown()
111 static int ad5446_read_raw(struct iio_dev *indio_dev, in ad5446_read_raw()
131 static int ad5446_write_dac_raw(struct iio_dev *indio_dev, in ad5446_write_dac_raw()
150 static int ad5446_write_raw(struct iio_dev *indio_dev, in ad5446_write_raw()
171 struct iio_dev *indio_dev; in ad5446_probe() local
H A Dad8460.c175 static ssize_t ad8460_dac_input_read(struct iio_dev *indio_dev, uintptr_t private, in ad8460_dac_input_read() argument
189 static ssize_t ad8460_dac_input_write(struct iio_dev *indio_dev, uintptr_t private, in ad8460_dac_input_write() argument
206 static ssize_t ad8460_read_symbol(struct iio_dev *indio_dev, uintptr_t private, in ad8460_read_symbol() argument
220 static ssize_t ad8460_write_symbol(struct iio_dev *indio_dev, uintptr_t private, in ad8460_write_symbol() argument
240 static ssize_t ad8460_read_toggle_en(struct iio_dev *indio_dev, uintptr_t private, in ad8460_read_toggle_en() argument
254 ad8460_write_toggle_en(struct iio_dev * indio_dev,uintptr_t private,const struct iio_chan_spec * chan,const char * buf,size_t len) ad8460_write_toggle_en() argument
274 ad8460_read_powerdown(struct iio_dev * indio_dev,uintptr_t private,const struct iio_chan_spec * chan,char * buf) ad8460_read_powerdown() argument
288 ad8460_write_powerdown(struct iio_dev * indio_dev,uintptr_t private,const struct iio_chan_spec * chan,const char * buf,size_t len) ad8460_write_powerdown() argument
342 ad8460_get_powerdown_mode(struct iio_dev * indio_dev,const struct iio_chan_spec * chan) ad8460_get_powerdown_mode() argument
348 ad8460_set_powerdown_mode(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,unsigned int type) ad8460_set_powerdown_mode() argument
421 ad8460_write_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) ad8460_write_raw() argument
448 ad8460_read_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long mask) ad8460_read_raw() argument
534 ad8460_write_event_value(struct iio_dev * indio_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) ad8460_write_event_value() argument
556 ad8460_read_event_value(struct iio_dev * indio_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) ad8460_read_event_value() argument
578 ad8460_write_event_config(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,enum iio_event_type type,enum iio_event_direction dir,bool val) ad8460_write_event_config() argument
596 ad8460_read_event_config(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,enum iio_event_type type,enum iio_event_direction dir) ad8460_read_event_config() argument
619 ad8460_reg_access(struct iio_dev * indio_dev,unsigned int reg,unsigned int writeval,unsigned int * readval) ad8460_reg_access() argument
630 ad8460_buffer_preenable(struct iio_dev * indio_dev) ad8460_buffer_preenable() argument
637 ad8460_buffer_postdisable(struct iio_dev * indio_dev) ad8460_buffer_postdisable() argument
800 struct iio_dev *indio_dev; ad8460_probe() local
[all...]
H A Dvf610_dac.c61 static int vf610_set_conversion_mode(struct iio_dev *indio_dev, in vf610_set_conversion_mode()
81 static int vf610_get_conversion_mode(struct iio_dev *indio_dev, in vf610_get_conversion_mode()
116 static int vf610_read_raw(struct iio_dev *indio_dev, in vf610_read_raw()
142 static int vf610_write_raw(struct iio_dev *indio_dev, in vf610_write_raw()
174 struct iio_dev *indio_dev; in vf610_dac_probe() local
223 struct iio_dev *indio_dev = platform_get_drvdata(pdev); in vf610_dac_remove() local
232 struct iio_dev *indio_dev = dev_get_drvdata(dev); in vf610_dac_suspend() local
243 struct iio_dev *indio_dev = dev_get_drvdata(dev); in vf610_dac_resume() local
H A Dmcp4725.c91 struct iio_dev *indio_dev = dev_to_iio_dev(dev); in mcp4725_store_eeprom() local
162 static int mcp4725_get_powerdown_mode(struct iio_dev *indio_dev, in mcp4725_get_powerdown_mode() argument
170 static int mcp4725_set_powerdown_mode(struct iio_dev *indio_dev, in mcp4725_set_powerdown_mode() argument
180 static ssize_t mcp4725_read_powerdown(struct iio_dev *indio_dev, in mcp4725_read_powerdown() argument
188 static ssize_t mcp4725_write_powerdown(struct iio_dev *indio_dev, in mcp4725_write_powerdown() argument
279 mcp4725_set_value(struct iio_dev * indio_dev,int val) mcp4725_set_value() argument
300 mcp4726_set_cfg(struct iio_dev * indio_dev) mcp4726_set_cfg() argument
322 mcp4725_read_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long mask) mcp4725_read_raw() argument
349 mcp4725_write_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) mcp4725_write_raw() argument
391 struct iio_dev *indio_dev; mcp4725_probe() local
503 struct iio_dev *indio_dev = i2c_get_clientdata(client); mcp4725_remove() local
[all...]
/linux/drivers/iio/adc/
H A Dstm32-adc.c699 struct iio_dev *indio_dev = dev_get_drvdata(dev); in stm32_adc_hw_stop() local
712 struct iio_dev *indio_dev = dev_get_drvdata(dev); in stm32_adc_hw_start() local
736 static void stm32_adc_int_ch_enable(struct iio_dev *indio_dev) in stm32_adc_int_ch_enable() argument
818 stm32f4_adc_start_conv(struct iio_dev * indio_dev,bool dma) stm32f4_adc_start_conv() argument
838 stm32f4_adc_stop_conv(struct iio_dev * indio_dev) stm32f4_adc_stop_conv() argument
850 stm32f4_adc_irq_clear(struct iio_dev * indio_dev,u32 msk) stm32f4_adc_irq_clear() argument
857 stm32h7_adc_start_conv(struct iio_dev * indio_dev,bool dma) stm32h7_adc_start_conv() argument
878 stm32h7_adc_stop_conv(struct iio_dev * indio_dev) stm32h7_adc_stop_conv() argument
896 stm32h7_adc_irq_clear(struct iio_dev * indio_dev,u32 msk) stm32h7_adc_irq_clear() argument
903 stm32mp13_adc_start_conv(struct iio_dev * indio_dev,bool dma) stm32mp13_adc_start_conv() argument
914 stm32h7_adc_set_ovs(struct iio_dev * indio_dev,u32 ovs_idx) stm32h7_adc_set_ovs() argument
939 stm32mp13_adc_set_ovs(struct iio_dev * indio_dev,u32 ovs_idx) stm32mp13_adc_set_ovs() argument
964 stm32h7_adc_exit_pwr_down(struct iio_dev * indio_dev) stm32h7_adc_exit_pwr_down() argument
1004 stm32h7_adc_enable(struct iio_dev * indio_dev) stm32h7_adc_enable() argument
1027 stm32h7_adc_disable(struct iio_dev * indio_dev) stm32h7_adc_disable() argument
1050 stm32h7_adc_read_selfcalib(struct iio_dev * indio_dev) stm32h7_adc_read_selfcalib() argument
1087 stm32h7_adc_restore_selfcalib(struct iio_dev * indio_dev) stm32h7_adc_restore_selfcalib() argument
1160 stm32h7_adc_selfcalib(struct iio_dev * indio_dev,int do_lincal) stm32h7_adc_selfcalib() argument
1220 stm32h7_adc_check_selfcalib(struct iio_dev * indio_dev) stm32h7_adc_check_selfcalib() argument
1250 stm32h7_adc_prepare(struct iio_dev * indio_dev) stm32h7_adc_prepare() argument
1301 stm32h7_adc_unprepare(struct iio_dev * indio_dev) stm32h7_adc_unprepare() argument
1323 stm32_adc_conf_scan_seq(struct iio_dev * indio_dev,const unsigned long * scan_mask) stm32_adc_conf_scan_seq() argument
1374 stm32_adc_get_trig_extsel(struct iio_dev * indio_dev,struct iio_trigger * trig) stm32_adc_get_trig_extsel() argument
1405 stm32_adc_set_trig(struct iio_dev * indio_dev,struct iio_trigger * trig) stm32_adc_set_trig() argument
1434 stm32_adc_set_trig_pol(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,unsigned int type) stm32_adc_set_trig_pol() argument
1445 stm32_adc_get_trig_pol(struct iio_dev * indio_dev,const struct iio_chan_spec * chan) stm32_adc_get_trig_pol() argument
1476 stm32_adc_single_conv(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,int * res) stm32_adc_single_conv() argument
1535 stm32_adc_write_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) stm32_adc_write_raw() argument
1578 stm32_adc_read_avail(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,const int ** vals,int * type,int * length,long m) stm32_adc_read_avail() argument
1595 stm32_adc_read_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long mask) stm32_adc_read_raw() argument
1650 stm32_adc_irq_clear(struct iio_dev * indio_dev,u32 msk) stm32_adc_irq_clear() argument
1659 struct iio_dev *indio_dev = data; stm32_adc_threaded_isr() local
1682 struct iio_dev *indio_dev = data; stm32_adc_isr() local
1726 stm32_adc_validate_trigger(struct iio_dev * indio_dev,struct iio_trigger * trig) stm32_adc_validate_trigger() argument
1732 stm32_adc_set_watermark(struct iio_dev * indio_dev,unsigned int val) stm32_adc_set_watermark() argument
1750 stm32_adc_update_scan_mode(struct iio_dev * indio_dev,const unsigned long * scan_mask) stm32_adc_update_scan_mode() argument
1769 stm32_adc_fwnode_xlate(struct iio_dev * indio_dev,const struct fwnode_reference_args * iiospec) stm32_adc_fwnode_xlate() argument
1795 stm32_adc_debugfs_reg_access(struct iio_dev * indio_dev,unsigned reg,unsigned writeval,unsigned * readval) stm32_adc_debugfs_reg_access() argument
1855 struct iio_dev *indio_dev = data; stm32_adc_dma_buffer_done() local
1882 stm32_adc_dma_start(struct iio_dev * indio_dev) stm32_adc_dma_start() argument
1920 stm32_adc_buffer_postenable(struct iio_dev * indio_dev) stm32_adc_buffer_postenable() argument
1962 stm32_adc_buffer_predisable(struct iio_dev * indio_dev) stm32_adc_buffer_predisable() argument
1992 struct iio_dev *indio_dev = pf->indio_dev; stm32_adc_trigger_handler() local
2020 stm32_adc_debugfs_init(struct iio_dev * indio_dev) stm32_adc_debugfs_init() argument
2037 stm32_adc_fw_get_resolution(struct iio_dev * indio_dev) stm32_adc_fw_get_resolution() argument
2087 stm32_adc_chan_init_one(struct iio_dev * indio_dev,struct iio_chan_spec * chan,u32 vinp,u32 vinn,int scan_index,bool differential) stm32_adc_chan_init_one() argument
2131 stm32_adc_get_legacy_chan_count(struct iio_dev * indio_dev,struct stm32_adc * adc) stm32_adc_get_legacy_chan_count() argument
2173 stm32_adc_legacy_chan_init(struct iio_dev * indio_dev,struct stm32_adc * adc,struct iio_chan_spec * channels,int nchans) stm32_adc_legacy_chan_init() argument
2262 stm32_adc_populate_int_ch(struct iio_dev * indio_dev,const char * ch_name,int chan) stm32_adc_populate_int_ch() argument
2330 stm32_adc_generic_chan_init(struct iio_dev * indio_dev,struct stm32_adc * adc,struct iio_chan_spec * channels) stm32_adc_generic_chan_init() argument
2403 stm32_adc_chan_fw_init(struct iio_dev * indio_dev,bool timestamping) stm32_adc_chan_fw_init() argument
2464 stm32_adc_dma_request(struct device * dev,struct iio_dev * indio_dev) stm32_adc_dma_request() argument
2512 struct iio_dev *indio_dev; stm32_adc_probe() local
2640 struct iio_dev *indio_dev = platform_get_drvdata(pdev); stm32_adc_remove() local
2661 struct iio_dev *indio_dev = dev_get_drvdata(dev); stm32_adc_suspend() local
2671 struct iio_dev *indio_dev = dev_get_drvdata(dev); stm32_adc_resume() local
[all...]
H A Dti_am335x_adc.c106 static void tiadc_step_config(struct iio_dev *indio_dev) in tiadc_step_config() argument
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 in tiadc_dma_rx_complete() local
230 tiadc_start_dma(struct iio_dev * indio_dev) tiadc_start_dma() argument
276 tiadc_buffer_preenable(struct iio_dev * indio_dev) tiadc_buffer_preenable() argument
298 tiadc_buffer_postenable(struct iio_dev * indio_dev) tiadc_buffer_postenable() argument
330 tiadc_buffer_predisable(struct iio_dev * indio_dev) tiadc_buffer_predisable() argument
355 tiadc_buffer_postdisable(struct iio_dev * indio_dev) tiadc_buffer_postdisable() argument
370 tiadc_iio_buffered_hardware_setup(struct device * dev,struct iio_dev * indio_dev,irqreturn_t (* pollfunc_bh)(int irq,void * p),irqreturn_t (* pollfunc_th)(int irq,void * p),int irq,unsigned long flags,const struct iio_buffer_setup_ops * setup_ops) tiadc_iio_buffered_hardware_setup() argument
397 tiadc_channel_init(struct device * dev,struct iio_dev * indio_dev,int channels) tiadc_channel_init() argument
430 tiadc_read_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int * val,int * val2,long mask) tiadc_read_raw() argument
623 struct iio_dev *indio_dev; tiadc_probe() local
685 struct iio_dev *indio_dev = platform_get_drvdata(pdev); tiadc_remove() local
703 struct iio_dev *indio_dev = dev_get_drvdata(dev); tiadc_suspend() local
716 struct iio_dev *indio_dev = dev_get_drvdata(dev); tiadc_resume() local
[all...]
H A Dsun4i-gpadc-iio.c91 struct iio_dev *indio_dev; member
159 static int sun4i_prepare_for_irq(struct iio_dev *indio_dev, int channel, in sun4i_prepare_for_irq()
215 static int sun4i_gpadc_read(struct iio_dev *indio_dev, int channel, int *val, in sun4i_gpadc_read()
256 static int sun4i_gpadc_adc_read(struct iio_dev *indio_dev, int channel, in sun4i_gpadc_adc_read()
264 static int sun4i_gpadc_temp_read(struct iio_dev *indio_dev, int *val) in sun4i_gpadc_temp_read()
281 static int sun4i_gpadc_temp_offset(struct iio_dev *indio_dev, int *val) in sun4i_gpadc_temp_offset()
290 static int sun4i_gpadc_temp_scale(struct iio_dev *indio_dev, int *val) in sun4i_gpadc_temp_scale()
299 static int sun4i_gpadc_read_raw(struct iio_dev *indio_dev, in sun4i_gpadc_read_raw()
489 struct iio_dev *indio_dev) in sun4i_gpadc_probe_dt()
522 struct iio_dev *indio_dev) in sun4i_gpadc_probe_mfd()
[all …]
H A Dmeson_saradc.c380 find_channel_by_num(struct iio_dev *indio_dev, int num) in find_channel_by_num() argument
390 static unsigned int meson_sar_adc_get_fifo_count(struct iio_dev *indio_dev) in meson_sar_adc_get_fifo_count() argument
400 static int meson_sar_adc_calib_val(struct iio_dev *indio_dev, int val) in meson_sar_adc_calib_val() argument
411 static int meson_sar_adc_wait_busy_clear(struct iio_dev *indio_dev) in meson_sar_adc_wait_busy_clear() argument
427 meson_sar_adc_set_chan7_mux(struct iio_dev * indio_dev,enum meson_sar_adc_chan7_mux_sel sel) meson_sar_adc_set_chan7_mux() argument
442 meson_sar_adc_read_raw_sample(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,int * val) meson_sar_adc_read_raw_sample() argument
475 meson_sar_adc_set_averaging(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,enum meson_sar_adc_avg_mode mode,enum meson_sar_adc_num_samples samples) meson_sar_adc_set_averaging() argument
493 meson_sar_adc_enable_channel(struct iio_dev * indio_dev,const struct iio_chan_spec * chan) meson_sar_adc_enable_channel() argument
547 meson_sar_adc_start_sample_engine(struct iio_dev * indio_dev) meson_sar_adc_start_sample_engine() argument
563 meson_sar_adc_stop_sample_engine(struct iio_dev * indio_dev) meson_sar_adc_stop_sample_engine() argument
580 meson_sar_adc_lock(struct iio_dev * indio_dev) meson_sar_adc_lock() argument
610 meson_sar_adc_unlock(struct iio_dev * indio_dev) meson_sar_adc_unlock() argument
622 meson_sar_adc_clear_fifo(struct iio_dev * indio_dev) meson_sar_adc_clear_fifo() argument
635 meson_sar_adc_get_sample(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,enum meson_sar_adc_avg_mode avg_mode,enum meson_sar_adc_num_samples avg_samples,int * val) meson_sar_adc_get_sample() argument
674 meson_sar_adc_iio_info_read_raw(struct iio_dev * indio_dev,const struct iio_chan_spec * chan,int * val,int * val2,long mask) meson_sar_adc_iio_info_read_raw() argument
737 meson_sar_adc_clk_init(struct iio_dev * indio_dev,void __iomem * base) meson_sar_adc_clk_init() argument
786 meson_sar_adc_temp_sensor_init(struct iio_dev * indio_dev) meson_sar_adc_temp_sensor_init() argument
845 meson_sar_adc_init(struct iio_dev * indio_dev) meson_sar_adc_init() argument
1029 meson_sar_adc_set_bandgap(struct iio_dev * indio_dev,bool on_off) meson_sar_adc_set_bandgap() argument
1043 meson_sar_adc_hw_enable(struct iio_dev * indio_dev) meson_sar_adc_hw_enable() argument
1094 meson_sar_adc_hw_disable(struct iio_dev * indio_dev) meson_sar_adc_hw_disable() argument
1122 struct iio_dev *indio_dev = data; meson_sar_adc_irq() local
1139 meson_sar_adc_calib(struct iio_dev * indio_dev) meson_sar_adc_calib() argument
1182 read_label(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,char * label) read_label() argument
1365 struct iio_dev *indio_dev; meson_sar_adc_probe() local
1479 struct iio_dev *indio_dev = platform_get_drvdata(pdev); meson_sar_adc_remove() local
1488 struct iio_dev *indio_dev = dev_get_drvdata(dev); meson_sar_adc_suspend() local
1500 struct iio_dev *indio_dev = dev_get_drvdata(dev); meson_sar_adc_resume() local
[all...]
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_trigger.c13 static unsigned int inv_scan_query_mpu6050(struct iio_dev *indio_dev) in inv_scan_query_mpu6050()
58 static unsigned int inv_scan_query_mpu9x50(struct iio_dev *indio_dev) in inv_scan_query_mpu9x50()
82 static unsigned int inv_scan_query(struct iio_dev *indio_dev) in inv_scan_query()
163 static int inv_mpu6050_set_enable(struct iio_dev *indio_dev, bool enable) in inv_mpu6050_set_enable()
215 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in inv_mpu_data_rdy_trigger_set_state() local
232 struct iio_dev *indio_dev = p; in inv_mpu6050_interrupt_timestamp() local
242 struct iio_dev *indio_dev = p; in inv_mpu6050_interrupt_handle() local
301 int inv_mpu6050_probe_trigger(struct iio_dev *indio_dev, int irq_type) in inv_mpu6050_probe_trigger()
/linux/drivers/iio/accel/
H A Dmma9551.c103 static int mma9551_read_raw(struct iio_dev *indio_dev, in mma9551_read_raw() argument
144 static int mma9551_read_event_config(struct iio_dev *indio_dev, in mma9551_read_event_config() argument
160 static int mma9551_config_incli_event(struct iio_dev *indio_dev, in mma9551_config_incli_event() argument
221 static int mma9551_write_event_config(struct iio_dev *indio_dev, in mma9551_write_event_config() argument
242 static int mma9551_write_event_value(struct iio_dev *indio_dev, in mma9551_write_event_value() argument
269 mma9551_read_event_value(struct iio_dev * indio_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) mma9551_read_event_value() argument
333 struct iio_dev *indio_dev = private; mma9551_event_handler() local
400 mma9551_gpio_probe(struct iio_dev * indio_dev) mma9551_gpio_probe() argument
437 struct iio_dev *indio_dev; mma9551_probe() local
498 struct iio_dev *indio_dev = i2c_get_clientdata(client); mma9551_remove() local
513 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); mma9551_runtime_suspend() local
530 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); mma9551_runtime_resume() local
545 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); mma9551_suspend() local
558 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); mma9551_resume() local
[all...]
H A Dkxsd9.c97 static int kxsd9_write_scale(struct iio_dev *indio_dev, int micro) in kxsd9_write_scale() argument
136 static int kxsd9_write_raw(struct iio_dev *indio_dev, in kxsd9_write_raw() argument
160 static int kxsd9_read_raw(struct iio_dev *indio_dev, in kxsd9_read_raw() argument
210 struct iio_dev *indio_dev = pf->indio_dev; in kxsd9_trigger_handler() local
239 kxsd9_buffer_preenable(struct iio_dev * indio_dev) kxsd9_buffer_preenable() argument
248 kxsd9_buffer_postdisable(struct iio_dev * indio_dev) kxsd9_buffer_postdisable() argument
263 kxsd9_get_mount_matrix(const struct iio_dev * indio_dev,const struct iio_chan_spec * chan) kxsd9_get_mount_matrix() argument
398 struct iio_dev *indio_dev; kxsd9_common_probe() local
478 struct iio_dev *indio_dev = dev_get_drvdata(dev); kxsd9_common_remove() local
492 struct iio_dev *indio_dev = dev_get_drvdata(dev); kxsd9_runtime_suspend() local
500 struct iio_dev *indio_dev = dev_get_drvdata(dev); kxsd9_runtime_resume() local
[all...]
/linux/drivers/iio/proximity/
H A Dd3323aa.c182 static int d3323aa_read_settings(struct iio_dev *indio_dev, in d3323aa_read_settings()
222 static int d3323aa_write_settings(struct iio_dev *indio_dev, in d3323aa_write_settings()
281 struct iio_dev *indio_dev = dev_id; in d3323aa_irq_handler() local
312 static int d3323aa_reset(struct iio_dev *indio_dev) in d3323aa_reset()
375 static int d3323aa_setup(struct iio_dev *indio_dev, size_t lp_filter_freq_idx, in d3323aa_setup()
451 static int d3323aa_set_lp_filter_freq(struct iio_dev *indio_dev, const int val, in d3323aa_set_lp_filter_freq()
477 static int d3323aa_set_hp_filter_freq(struct iio_dev *indio_dev, const int val, in d3323aa_set_hp_filter_freq()
523 static int d3323aa_set_filter_gain(struct iio_dev *indio_dev, const int val) in d3323aa_set_filter_gain()
540 static int d3323aa_set_threshold(struct iio_dev *indio_dev, const int val) in d3323aa_set_threshold()
551 static int d3323aa_read_avail(struct iio_dev *indio_dev, in d3323aa_read_avail()
[all …]
H A Dvcnl3020.c288 static int vcnl3020_read_event(struct iio_dev *indio_dev, in vcnl3020_read_event()
323 static int vcnl3020_write_event(struct iio_dev *indio_dev, in vcnl3020_write_event()
369 static int vcnl3020_enable_periodic(struct iio_dev *indio_dev, in vcnl3020_enable_periodic()
402 static int vcnl3020_disable_periodic(struct iio_dev *indio_dev, in vcnl3020_disable_periodic()
435 static int vcnl3020_config_threshold(struct iio_dev *indio_dev, bool state) in vcnl3020_config_threshold()
448 static int vcnl3020_write_event_config(struct iio_dev *indio_dev, in vcnl3020_write_event_config()
462 static int vcnl3020_read_event_config(struct iio_dev *indio_dev, in vcnl3020_read_event_config()
504 static int vcnl3020_read_raw(struct iio_dev *indio_dev, in vcnl3020_read_raw()
527 static int vcnl3020_write_raw(struct iio_dev *indio_dev, in vcnl3020_write_raw()
541 static int vcnl3020_read_avail(struct iio_dev *indio_dev, in vcnl3020_read_avail()
[all …]
/linux/drivers/iio/gyro/
H A Ditg3200_buffer.c47 struct iio_dev *indio_dev = pf->indio_dev; in itg3200_trigger_handler() local
70 itg3200_buffer_configure(struct iio_dev * indio_dev) itg3200_buffer_configure() argument
76 itg3200_buffer_unconfigure(struct iio_dev * indio_dev) itg3200_buffer_unconfigure() argument
85 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); itg3200_data_rdy_trigger_set_state() local
111 itg3200_probe_trigger(struct iio_dev * indio_dev) itg3200_probe_trigger() argument
146 itg3200_remove_trigger(struct iio_dev * indio_dev) itg3200_remove_trigger() argument
[all...]
/linux/drivers/iio/imu/inv_icm45600/
H A Dinv_icm45600_gyro.c94 static int inv_icm45600_gyro_update_scan_mode(struct iio_dev *indio_dev, in inv_icm45600_gyro_update_scan_mode()
151 static int inv_icm45600_gyro_read_sensor(struct iio_dev *indio_dev, in inv_icm45600_gyro_read_sensor()
232 static int inv_icm45600_gyro_read_scale(struct iio_dev *indio_dev, in inv_icm45600_gyro_read_scale()
250 static int inv_icm45600_gyro_write_scale(struct iio_dev *indio_dev, in inv_icm45600_gyro_write_scale()
340 static int _inv_icm45600_gyro_write_odr(struct iio_dev *indio_dev, int odr) in _inv_icm45600_gyro_write_odr()
367 static int inv_icm45600_gyro_write_odr(struct iio_dev *indio_dev, in inv_icm45600_gyro_write_odr()
542 static int inv_icm45600_gyro_read_raw(struct iio_dev *indio_dev, in inv_icm45600_gyro_read_raw()
578 static int inv_icm45600_gyro_read_avail(struct iio_dev *indio_dev, in inv_icm45600_gyro_read_avail()
608 static int inv_icm45600_gyro_write_raw(struct iio_dev *indio_dev, in inv_icm45600_gyro_write_raw()
638 static int inv_icm45600_gyro_write_raw_get_fmt(struct iio_dev *indio_dev, in inv_icm45600_gyro_write_raw_get_fmt()
[all …]
H A Dinv_icm45600_accel.c94 static int inv_icm45600_accel_update_scan_mode(struct iio_dev *indio_dev, in inv_icm45600_accel_update_scan_mode()
155 static int inv_icm45600_accel_read_sensor(struct iio_dev *indio_dev, in inv_icm45600_accel_read_sensor()
219 static int inv_icm45600_accel_read_scale(struct iio_dev *indio_dev, in inv_icm45600_accel_read_scale()
237 static int inv_icm45600_accel_write_scale(struct iio_dev *indio_dev, in inv_icm45600_accel_write_scale()
327 static int _inv_icm45600_accel_write_odr(struct iio_dev *indio_dev, int odr) in _inv_icm45600_accel_write_odr()
354 static int inv_icm45600_accel_write_odr(struct iio_dev *indio_dev, in inv_icm45600_accel_write_odr()
530 static int inv_icm45600_accel_read_raw(struct iio_dev *indio_dev, in inv_icm45600_accel_read_raw()
566 static int inv_icm45600_accel_read_avail(struct iio_dev *indio_dev, in inv_icm45600_accel_read_avail()
596 static int inv_icm45600_accel_write_raw(struct iio_dev *indio_dev, in inv_icm45600_accel_write_raw()
626 static int inv_icm45600_accel_write_raw_get_fmt(struct iio_dev *indio_dev, in inv_icm45600_accel_write_raw_get_fmt()
[all …]
/linux/drivers/iio/dummy/
H A Diio_simple_dummy.c270 static int __iio_dummy_read_raw(struct iio_dev *indio_dev, in __iio_dummy_read_raw() argument
302 static int __iio_dummy_read_processed(struct iio_dev *indio_dev, in __iio_dummy_read_processed() argument
338 static int iio_dummy_read_raw(struct iio_dev *indio_dev, in iio_dummy_read_raw() argument
438 iio_dummy_write_raw(struct iio_dev * indio_dev,struct iio_chan_spec const * chan,int val,int val2,long mask) iio_dummy_write_raw() argument
550 iio_dummy_init_device(struct iio_dev * indio_dev) iio_dummy_init_device() argument
580 struct iio_dev *indio_dev; iio_dummy_probe() local
692 struct iio_dev *indio_dev = swd->device; iio_dummy_remove() local
[all...]
/linux/drivers/iio/light/
H A Dltrf216a.c111 static void ltrf216a_reset(struct iio_dev *indio_dev) in ltrf216a_reset()
122 static int ltrf216a_enable(struct iio_dev *indio_dev) in ltrf216a_enable()
142 static int ltrf216a_disable(struct iio_dev *indio_dev) in ltrf216a_disable()
157 struct iio_dev *indio_dev = data; in ltrf216a_cleanup() local
259 static int ltrf216a_read_raw(struct iio_dev *indio_dev, in ltrf216a_read_raw()
298 static int ltrf216a_write_raw(struct iio_dev *indio_dev, in ltrf216a_write_raw()
318 static int ltrf216a_read_available(struct iio_dev *indio_dev, in ltrf216a_read_available()
342 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); in ltrf216a_readable_reg() local
394 struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); in ltrf216a_volatile_reg() local
437 struct iio_dev *indio_dev; in ltrf216a_probe() local
[all …]
/linux/drivers/iio/magnetometer/
H A Dst_magn_buffer.c21 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()
/linux/drivers/iio/pressure/
H A Dst_pressure_buffer.c21 struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); in st_press_trig_set_state() local
26 static int st_press_buffer_postenable(struct iio_dev *indio_dev) in st_press_buffer_postenable()
31 static int st_press_buffer_predisable(struct iio_dev *indio_dev) in st_press_buffer_predisable()
41 int st_press_allocate_ring(struct iio_dev *indio_dev) in st_press_allocate_ring()

12345678910>>...14