/linux/drivers/staging/iio/addac/ |
H A D | adt7316.c | 217 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled() 248 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled() 272 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp() 286 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp() 316 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode() 330 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_mode() 366 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_ad_channel() 405 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_ad_channel() 450 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_all_ad_channels() 471 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_disable_averaging() [all …]
|
/linux/drivers/iio/dummy/ |
H A D | iio_simple_dummy_events.c | 35 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/drivers/iio/pressure/ |
H A D | zpa2326.c | 223 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/drivers/iio/adc/ |
H A D | ad7606.c | 70 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_reg_access() 98 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_trigger_handler() 119 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_scan_direct() 147 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_read_raw() 192 struct ad7606_state *st = iio_priv(indio_dev); in in_voltage_scale_available_show() 201 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_scale_hw() 210 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_os_hw() 231 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_raw() 267 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_oversampling_ratio_avail() 440 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_interrupt() [all …]
|
H A D | sun4i-gpadc-iio.c | 166 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 …]
|
H A D | stm32-dfsdm-adc.c | 318 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_compute_all_osrs() 339 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_start_channel() 359 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_stop_channel() 429 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_filter_set_trig() 458 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_channels_configure() 504 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_filter_configure() 677 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in stm32_dfsdm_generic_channel_parse_of() 744 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in dfsdm_adc_audio_get_spiclk() 753 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in dfsdm_adc_set_samp_freq() 778 struct stm32_dfsdm_adc *adc = iio_priv(indio_dev); in dfsdm_adc_audio_set_spiclk() [all …]
|
/linux/drivers/iio/dac/ |
H A D | mcp4725.c | 52 struct mcp4725_data *data = iio_priv(i2c_get_clientdata( in mcp4725_suspend() 71 struct mcp4725_data *data = iio_priv(i2c_get_clientdata( in mcp4725_resume() 95 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_store_eeprom() 168 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_get_powerdown_mode() 176 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_set_powerdown_mode() 186 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_read_powerdown() 195 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_write_powerdown() 284 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_set_value() 305 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4726_set_cfg() 329 struct mcp4725_data *data = iio_priv(indio_dev); in mcp4725_read_raw() [all …]
|
H A D | vf610_dac.c | 66 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() 247 struct vf610_dac *info = iio_priv(indio_dev); in vf610_dac_suspend() 258 struct vf610_dac *info = iio_priv(indio_dev); in vf610_dac_resume()
|
H A D | ti-dac7311.c | 84 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() 262 ti_dac = iio_priv(indio_dev); in ti_dac_probe() 300 struct ti_dac_chip *ti_dac = iio_priv(indio_dev); in ti_dac_remove()
|
H A D | ad5624r_spi.c | 51 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()
|
H A D | ad5504.c | 99 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()
|
/linux/drivers/iio/light/ |
H A D | st_uvis25_core.c | 126 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()
|
H A D | veml6030.c | 102 struct veml6030_data *data = iio_priv(dev_to_iio_dev(dev)); in in_illuminance_period_available_show() 217 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_get_intgrn_tm() 257 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_set_intgrn_tm() 318 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_read_persistence() 343 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_write_persistence() 378 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_set_als_gain() 423 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_get_als_gain() 460 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_read_thresh() 480 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_write_thresh() 509 struct veml6030_data *data = iio_priv(indio_dev); in veml6030_read_raw() [all …]
|
H A D | isl29125.c | 129 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() 221 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_buffer_postenable() 230 struct isl29125_data *data = iio_priv(indio_dev); in isl29125_buffer_predisable() 253 data = iio_priv(indio_dev); in isl29125_probe() 307 isl29125_powerdown(iio_priv(indio_dev)); in isl29125_remove() 312 struct isl29125_data *data = iio_priv(i2c_get_clientdata( in isl29125_suspend() 319 struct isl29125_data *data = iio_priv(i2c_get_clientdata( in isl29125_resume()
|
H A D | apds9300.c | 240 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/drivers/iio/accel/ |
H A D | kxsd9.c | 99 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() 408 st = iio_priv(indio_dev); in kxsd9_common_probe() 481 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_common_remove() 495 struct kxsd9_state *st = iio_priv(indio_dev); in kxsd9_runtime_suspend() [all …]
|
H A D | mma9551.c | 110 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 …]
|
H A D | stk8ba50.c | 158 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() 354 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_data_rdy_trig_poll() 364 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_buffer_preenable() 371 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_buffer_postdisable() 393 data = iio_priv(indio_dev); in stk8ba50_probe() 494 struct stk8ba50_data *data = iio_priv(indio_dev); in stk8ba50_remove() 509 data = iio_priv(i2c_get_clientdata(to_i2c_client(dev))); in stk8ba50_suspend() [all …]
|
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_trigger.c | 32 struct trigger_data *st = iio_priv(indio_dev); in trigger_read_raw() 49 struct trigger_data *st = iio_priv(indio_dev); in trigger_set_state() 90 struct trigger_data *st = iio_priv(indio_dev); in trigger_handler() 110 struct trigger_data *st = iio_priv(indio_dev); in probe_trigger() 142 struct trigger_data *st = iio_priv(indio_dev); in remove_trigger() 167 data = iio_priv(indio_dev); in mgb4_trigger_create() 202 struct trigger_data *st = iio_priv(indio_dev); in mgb4_trigger_free()
|
/linux/drivers/iio/humidity/ |
H A D | hts221_buffer.c | 42 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()
|
/linux/drivers/iio/magnetometer/ |
H A D | hmc5843_core.c | 210 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/drivers/iio/common/st_sensors/ |
H A D | st_sensors_core.c | 27 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 …]
|
/linux/drivers/iio/gyro/ |
H A D | itg3200_core.c | 35 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()
|
H A D | adxrs290.c | 117 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/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_trigger.c | 15 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu6050() 60 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu9x50() 84 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query() 166 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_set_enable() 218 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_data_rdy_trigger_set_state() 235 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_interrupt_timestamp() 245 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_interrupt_handle() 303 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_probe_trigger()
|