Home
last modified time | relevance | path

Searched refs:iio_device_get_drvdata (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-trigger.c24 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_set_report_latency()
47 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_report_latency()
62 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in _hid_sensor_get_fifo_state()
297 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in hid_sensor_suspend()
305 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in hid_sensor_resume()
313 struct hid_sensor_common *attrb = iio_device_get_drvdata(indio_dev); in hid_sensor_runtime_resume()
/openbmc/linux/drivers/iio/adc/
H A Dad_sigma_delta.c279 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sigma_delta_single_conversion()
345 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_buffer_postenable()
411 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_buffer_postdisable()
436 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_trigger_handler()
526 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_validate_scan_mask()
559 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in ad_sd_validate_trigger()
570 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in devm_ad_sd_probe_trigger()
618 struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev); in devm_ad_sd_setup_buffer_and_trigger()
/openbmc/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_gyro.c101 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_update_scan_mode()
322 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_odr()
553 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_read_raw()
620 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_raw()
670 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_hwfifo_set_watermark()
686 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_hwfifo_flush()
764 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_parse_fifo()
H A Dinv_icm42600_accel.c101 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_update_scan_mode()
310 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_write_odr()
542 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_read_raw()
609 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_write_raw()
659 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_hwfifo_set_watermark()
675 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_hwfifo_flush()
752 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_parse_fifo()
H A Dinv_icm42600_buffer.c277 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_preenable()
296 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_postenable()
341 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_predisable()
380 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_postdisable()
H A Dinv_icm42600_temp.c50 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_temp_read_raw()
H A Dinv_icm42600_core.c101 const struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_get_mount_matrix()
308 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_debugfs_reg()
/openbmc/linux/drivers/iio/imu/
H A Dadis_buffer.c25 struct adis *adis = iio_device_get_drvdata(indio_dev); in adis_update_scan_mode_burst()
72 struct adis *adis = iio_device_get_drvdata(indio_dev); in adis_update_scan_mode()
133 struct adis *adis = iio_device_get_drvdata(indio_dev); in adis_trigger_handler()
H A Dadis.c253 struct adis *adis = iio_device_get_drvdata(indio_dev); in adis_debugfs_reg_access()
477 struct adis *adis = iio_device_get_drvdata(indio_dev); in adis_single_conversion()
/openbmc/linux/drivers/iio/temperature/
H A Diqs620at-temp.c26 struct iqs62x_core *iqs62x = iio_device_get_drvdata(indio_dev); in iqs620_temp_read_raw()
/openbmc/linux/include/linux/iio/
H A Diio.h717 static inline void *iio_device_get_drvdata(const struct iio_dev *indio_dev) in iio_device_get_drvdata() function