Home
last modified time | relevance | path

Searched refs:iio_priv (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/linux-6.6.21/drivers/staging/iio/addac/
Dadt7316.c226 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled()
257 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled()
281 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp()
295 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp()
325 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode()
339 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_mode()
375 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_ad_channel()
414 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_ad_channel()
459 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_all_ad_channels()
480 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_disable_averaging()
[all …]
/linux-6.6.21/drivers/iio/dummy/
Diio_simple_dummy_events.c35 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_read_event_config()
58 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_write_event_config()
125 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_read_event_value()
149 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_write_event_value()
159 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_get_timestamp()
178 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_event_handler()
238 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_events_register()
271 struct iio_dummy_state *st = iio_priv(indio_dev); in iio_simple_dummy_events_unregister()
/linux-6.6.21/drivers/iio/pressure/
Dzpa2326.c223 iio_priv(indio_dev))->regmap, in zpa2326_enable_device()
249 iio_priv(indio_dev))->regmap, in zpa2326_sleep()
275 iio_priv(indio_dev))->regmap, in zpa2326_reset_device()
304 iio_priv(indio_dev))->regmap, in zpa2326_start_oneshot()
406 iio_priv(indio_dev))->regmap; in zpa2326_config_oneshot()
448 iio_priv(indio_dev))->regmap; in zpa2326_clear_fifo()
516 iio_priv(indio_dev))->regmap; in zpa2326_dequeue_pressure()
634 zpa2326_power_off(indio_dev, iio_priv(indio_dev)); in zpa2326_runtime_suspend()
643 return zpa2326_power_on(indio_dev, iio_priv(indio_dev)); in zpa2326_runtime_resume()
754 iio_priv(indio_dev))->timestamp = iio_get_time_ns(indio_dev); in zpa2326_handle_irq()
[all …]
/linux-6.6.21/drivers/iio/dac/
Dmcp4725.c47 struct mcp4725_data *data = iio_priv(i2c_get_clientdata( in mcp4725_suspend()
66 struct mcp4725_data *data = iio_priv(i2c_get_clientdata( in mcp4725_resume()
90 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_store_eeprom()
163 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_get_powerdown_mode()
171 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_set_powerdown_mode()
181 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_read_powerdown()
190 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_write_powerdown()
279 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_set_value()
300 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4726_set_cfg()
324 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_read_raw()
[all …]
Dvf610_dac.c66 struct vf610_dac *info = iio_priv(indio_dev); in vf610_set_conversion_mode()
85 struct vf610_dac *info = iio_priv(indio_dev); in vf610_get_conversion_mode()
122 struct vf610_dac *info = iio_priv(indio_dev); in vf610_read_raw()
148 struct vf610_dac *info = iio_priv(indio_dev); in vf610_write_raw()
186 info = iio_priv(indio_dev); in vf610_dac_probe()
237 struct vf610_dac *info = iio_priv(indio_dev); in vf610_dac_remove()
249 struct vf610_dac *info = iio_priv(indio_dev); in vf610_dac_suspend()
260 struct vf610_dac *info = iio_priv(indio_dev); in vf610_dac_resume()
Dti-dac7311.c84 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_get_powerdown_mode()
93 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_set_powerdown_mode()
111 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_read_powerdown()
121 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_write_powerdown()
170 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_read_raw()
195 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_write_raw()
260 ti_dac = iio_priv(indio_dev); in ti_dac_probe()
298 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_remove()
Dad5624r_spi.c51 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_read_raw()
68 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_write_raw()
93 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_get_powerdown_mode()
101 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_set_powerdown_mode()
118 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_read_dac_powerdown()
130 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_write_dac_powerdown()
231 st = iio_priv(indio_dev); in ad5624r_probe()
299 struct ad5624r_state *st = iio_priv(indio_dev); in ad5624r_remove()
Dad5504.c99 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_read_raw()
125 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_write_raw()
146 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_get_powerdown_mode()
154 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_set_powerdown_mode()
171 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_read_dac_powerdown()
183 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_write_dac_powerdown()
296 st = iio_priv(indio_dev); in ad5504_probe()
342 struct ad5504_state *st = iio_priv(indio_dev); in ad5504_remove()
Ddpot-dac.c56 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_read_raw()
100 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_read_avail()
115 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_write_raw()
134 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_channel_max_ohms()
178 dac = iio_priv(indio_dev); in dpot_dac_probe()
232 struct dpot_dac *dac = iio_priv(indio_dev); in dpot_dac_remove()
/linux-6.6.21/drivers/iio/light/
Dst_uvis25_core.c126 struct st_uvis25_hw *hw = iio_priv(iio_dev); in st_uvis25_read_raw()
171 struct st_uvis25_hw *hw = iio_priv(iio_dev); in st_uvis25_allocate_trigger()
219 return st_uvis25_set_enable(iio_priv(iio_dev), true); in st_uvis25_buffer_preenable()
224 return st_uvis25_set_enable(iio_priv(iio_dev), false); in st_uvis25_buffer_postdisable()
236 struct st_uvis25_hw *hw = iio_priv(iio_dev); in st_uvis25_buffer_handler_thread()
257 struct st_uvis25_hw *hw = iio_priv(iio_dev); in st_uvis25_allocate_buffer()
296 hw = iio_priv(iio_dev); in st_uvis25_probe()
331 struct st_uvis25_hw *hw = iio_priv(iio_dev); in st_uvis25_suspend()
340 struct st_uvis25_hw *hw = iio_priv(iio_dev); in st_uvis25_resume()
Dveml6030.c104 struct veml6030_data *data = iio_priv(indio_dev); in in_illuminance_period_available_show()
218 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_get_intgrn_tm()
258 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_set_intgrn_tm()
319 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_read_persistence()
344 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_write_persistence()
379 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_set_als_gain()
424 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_get_als_gain()
461 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_read_thresh()
481 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_write_thresh()
510 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_read_raw()
[all …]
Disl29125.c129 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_read_raw()
158 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_write_raw()
181 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_trigger_handler()
222 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_buffer_postenable()
231 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_buffer_predisable()
254 data = iio_priv(indio_dev); in isl29125_probe()
308 isl29125_powerdown(iio_priv(indio_dev)); in isl29125_remove()
313 struct isl29125_data *data = iio_priv(i2c_get_clientdata( in isl29125_suspend()
320 struct isl29125_data *data = iio_priv(i2c_get_clientdata( in isl29125_resume()
Dapds9300.c240 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_read_raw()
278 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_read_thresh()
299 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_write_thresh()
317 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_read_interrupt_config()
326 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_write_interrupt_config()
388 struct apds9300_data *data = iio_priv(dev_info); in apds9300_interrupt_handler()
411 data = iio_priv(indio_dev); in apds9300_probe()
457 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_remove()
469 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_suspend()
482 struct apds9300_data *data = iio_priv(indio_dev); in apds9300_resume()
/linux-6.6.21/drivers/iio/accel/
Dkxsd9.c99 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_write_scale()
142 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_write_raw()
164 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_read_raw()
211 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_trigger_handler()
242 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_buffer_preenable()
251 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_buffer_postdisable()
268 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_get_mount_matrix()
411 st = iio_priv(indio_dev); in kxsd9_common_probe()
484 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_common_remove()
498 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_runtime_suspend()
[all …]
Dmma9551.c110 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_read_raw()
152 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_read_event_config()
167 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_config_incli_event()
230 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_write_event_config()
252 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_write_event_value()
279 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_read_event_value()
337 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_event_handler()
407 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_gpio_probe()
461 data = iio_priv(indio_dev); in mma9551_probe()
515 struct mma9551_data *data = iio_priv(indio_dev); in mma9551_remove()
[all …]
Dstk8ba50.c158 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_data_rdy_trigger_set_state()
211 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_read_raw()
256 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_write_raw()
315 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_trigger_handler()
355 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_data_rdy_trig_poll()
365 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_buffer_preenable()
372 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_buffer_postdisable()
394 data = iio_priv(indio_dev); in stk8ba50_probe()
495 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_remove()
510 data = iio_priv(i2c_get_clientdata(to_i2c_client(dev))); in stk8ba50_suspend()
[all …]
/linux-6.6.21/drivers/iio/adc/
Dad7606.c69 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_reg_access()
124 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_trigger_handler()
145 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_scan_direct()
173 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_read_raw()
221 struct ad7606_state *st = iio_priv(indio_dev); in in_voltage_scale_available_show()
230 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_scale_hw()
239 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_os_hw()
260 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_raw()
303 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_oversampling_ratio_avail()
476 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_interrupt()
[all …]
Dstm32-dfsdm-adc.c316 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_compute_all_osrs()
337 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_start_channel()
357 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_stop_channel()
427 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_filter_set_trig()
456 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_channels_configure()
502 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_filter_configure()
674 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in dfsdm_adc_audio_get_spiclk()
683 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in dfsdm_adc_set_samp_freq()
708 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in dfsdm_adc_audio_set_spiclk()
739 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_start_conv()
[all …]
Dsun4i-gpadc-iio.c166 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_prepare_for_irq()
222 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_gpadc_read()
264 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_gpadc_adc_read()
271 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_gpadc_temp_read()
289 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_gpadc_temp_offset()
298 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_gpadc_temp_scale()
383 struct sun4i_gpadc_iio *info = iio_priv(dev_get_drvdata(dev)); in sun4i_gpadc_runtime_suspend()
395 struct sun4i_gpadc_iio *info = iio_priv(dev_get_drvdata(dev)); in sun4i_gpadc_runtime_resume()
445 struct sun4i_gpadc_iio *info = iio_priv(dev_get_drvdata(&pdev->dev)); in sun4i_irq_init()
497 struct sun4i_gpadc_iio *info = iio_priv(indio_dev); in sun4i_gpadc_probe_dt()
[all …]
/linux-6.6.21/drivers/iio/humidity/
Dhts221_buffer.c42 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_trig_set_state()
78 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_allocate_trigger()
149 return hts221_set_enable(iio_priv(iio_dev), true); in hts221_buffer_preenable()
154 return hts221_set_enable(iio_priv(iio_dev), false); in hts221_buffer_postdisable()
166 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_buffer_handler_thread()
197 struct hts221_hw *hw = iio_priv(iio_dev); in hts221_allocate_buffers()
Dhtu21.c45 struct ms_ht_dev *dev_data = iio_priv(indio_dev); in htu21_read_raw()
82 struct ms_ht_dev *dev_data = iio_priv(indio_dev); in htu21_write_raw()
133 struct ms_ht_dev *dev_data = iio_priv(indio_dev); in htu21_show_battery_low()
142 struct ms_ht_dev *dev_data = iio_priv(indio_dev); in htu21_show_heater()
152 struct ms_ht_dev *dev_data = iio_priv(indio_dev); in htu21_write_heater()
201 dev_data = iio_priv(indio_dev); in htu21_probe()
/linux-6.6.21/drivers/iio/magnetometer/
Dhmc5843_core.c210 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_show_measurement_configuration()
226 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_set_measurement_configuration()
235 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_get_mount_matrix()
272 struct hmc5843_data *data = iio_priv(dev_to_iio_dev(dev)); in hmc5843_show_samp_freq_avail()
332 struct hmc5843_data *data = iio_priv(dev_to_iio_dev(dev)); in hmc5843_show_scale_avail()
368 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_read_raw()
399 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_write_raw()
438 struct hmc5843_data *data = iio_priv(indio_dev); in hmc5843_trigger_handler()
608 return hmc5843_set_mode(iio_priv(dev_get_drvdata(dev)), in hmc5843_common_suspend()
614 return hmc5843_set_mode(iio_priv(dev_get_drvdata(dev)), in hmc5843_common_resume()
[all …]
/linux-6.6.21/drivers/iio/gyro/
Ditg3200_core.c35 struct itg3200 *st = iio_priv(indio_dev); in itg3200_write_reg_8()
43 struct itg3200 *st = iio_priv(indio_dev); in itg3200_read_reg_8()
56 struct itg3200 *st = iio_priv(indio_dev); in itg3200_read_reg_s16()
135 struct itg3200 *st = iio_priv(indio_dev); in itg3200_write_raw()
171 struct itg3200 *st = iio_priv(indio_dev); in itg3200_reset()
220 struct itg3200 *st = iio_priv(indio_dev); in itg3200_initial_setup()
247 struct itg3200 *data = iio_priv(indio_dev); in itg3200_get_mount_matrix()
310 st = iio_priv(indio_dev); in itg3200_probe()
371 struct itg3200 *st = iio_priv(indio_dev); in itg3200_suspend()
Dadxrs290.c117 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_get_rate_data()
138 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_get_temp_data()
160 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_get_3db_freq()
207 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_set_filter_freq()
217 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_set_mode()
266 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_initial_setup()
287 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_read_raw()
366 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_write_raw()
457 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_reg_access()
469 struct adxrs290_state *st = iio_priv(indio_dev); in adxrs290_data_rdy_trigger_set_state()
[all …]
/linux-6.6.21/drivers/iio/common/st_sensors/
Dst_sensors_core.c27 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_write_data_with_mask()
37 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_debugfs_reg_access()
76 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_odr()
137 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_fullscale()
167 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_enable()
210 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_axis_enable()
244 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_drdy_int_pin()
339 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_init_sensor()
427 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_dataready_irq()
475 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_fullscale_by_gain()
[all …]

12345678910>>...19