iio_dev 95 drivers/counter/104-quad-8.c static int quad8_read_raw(struct iio_dev *indio_dev, iio_dev 144 drivers/counter/104-quad-8.c static int quad8_write_raw(struct iio_dev *indio_dev, iio_dev 248 drivers/counter/104-quad-8.c static ssize_t quad8_read_preset(struct iio_dev *indio_dev, uintptr_t private, iio_dev 256 drivers/counter/104-quad-8.c static ssize_t quad8_write_preset(struct iio_dev *indio_dev, uintptr_t private, iio_dev 289 drivers/counter/104-quad-8.c static ssize_t quad8_read_set_to_preset_on_index(struct iio_dev *indio_dev, iio_dev 298 drivers/counter/104-quad-8.c static ssize_t quad8_write_set_to_preset_on_index(struct iio_dev *indio_dev, iio_dev 335 drivers/counter/104-quad-8.c static int quad8_get_noise_error(struct iio_dev *indio_dev, iio_dev 355 drivers/counter/104-quad-8.c static int quad8_get_count_direction(struct iio_dev *indio_dev, iio_dev 377 drivers/counter/104-quad-8.c static int quad8_set_count_mode(struct iio_dev *indio_dev, iio_dev 400 drivers/counter/104-quad-8.c static int quad8_get_count_mode(struct iio_dev *indio_dev, iio_dev 420 drivers/counter/104-quad-8.c static int quad8_set_synchronous_mode(struct iio_dev *indio_dev, iio_dev 447 drivers/counter/104-quad-8.c static int quad8_get_synchronous_mode(struct iio_dev *indio_dev, iio_dev 467 drivers/counter/104-quad-8.c static int quad8_set_quadrature_mode(struct iio_dev *indio_dev, iio_dev 499 drivers/counter/104-quad-8.c static int quad8_get_quadrature_mode(struct iio_dev *indio_dev, iio_dev 519 drivers/counter/104-quad-8.c static int quad8_set_index_polarity(struct iio_dev *indio_dev, iio_dev 540 drivers/counter/104-quad-8.c static int quad8_get_index_polarity(struct iio_dev *indio_dev, iio_dev 1409 drivers/counter/104-quad-8.c struct iio_dev *indio_dev; iio_dev 110 drivers/counter/stm32-lptimer-cnt.c static int stm32_lptim_write_raw(struct iio_dev *indio_dev, iio_dev 139 drivers/counter/stm32-lptimer-cnt.c static int stm32_lptim_read_raw(struct iio_dev *indio_dev, iio_dev 194 drivers/counter/stm32-lptimer-cnt.c static int stm32_lptim_get_quadrature_mode(struct iio_dev *indio_dev, iio_dev 202 drivers/counter/stm32-lptimer-cnt.c static int stm32_lptim_set_quadrature_mode(struct iio_dev *indio_dev, iio_dev 227 drivers/counter/stm32-lptimer-cnt.c static int stm32_lptim_cnt_get_polarity(struct iio_dev *indio_dev, iio_dev 235 drivers/counter/stm32-lptimer-cnt.c static int stm32_lptim_cnt_set_polarity(struct iio_dev *indio_dev, iio_dev 280 drivers/counter/stm32-lptimer-cnt.c static ssize_t stm32_lptim_cnt_get_preset_iio(struct iio_dev *indio_dev, iio_dev 290 drivers/counter/stm32-lptimer-cnt.c static ssize_t stm32_lptim_cnt_set_preset_iio(struct iio_dev *indio_dev, iio_dev 634 drivers/counter/stm32-lptimer-cnt.c struct iio_dev *indio_dev; iio_dev 100 drivers/iio/accel/adis16201.c static int adis16201_read_raw(struct iio_dev *indio_dev, iio_dev 180 drivers/iio/accel/adis16201.c static int adis16201_write_raw(struct iio_dev *indio_dev, iio_dev 255 drivers/iio/accel/adis16201.c struct iio_dev *indio_dev; iio_dev 299 drivers/iio/accel/adis16201.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 107 drivers/iio/accel/adis16209.c static int adis16209_write_raw(struct iio_dev *indio_dev, iio_dev 132 drivers/iio/accel/adis16209.c static int adis16209_read_raw(struct iio_dev *indio_dev, iio_dev 266 drivers/iio/accel/adis16209.c struct iio_dev *indio_dev; iio_dev 308 drivers/iio/accel/adis16209.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 85 drivers/iio/accel/adxl345_core.c static int adxl345_read_raw(struct iio_dev *indio_dev, iio_dev 149 drivers/iio/accel/adxl345_core.c static int adxl345_write_raw(struct iio_dev *indio_dev, iio_dev 177 drivers/iio/accel/adxl345_core.c static int adxl345_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 215 drivers/iio/accel/adxl345_core.c struct iio_dev *indio_dev; iio_dev 277 drivers/iio/accel/adxl345_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 529 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 630 drivers/iio/accel/adxl372.c static int adxl372_reg_access(struct iio_dev *indio_dev, iio_dev 643 drivers/iio/accel/adxl372.c static int adxl372_read_raw(struct iio_dev *indio_dev, iio_dev 679 drivers/iio/accel/adxl372.c static int adxl372_write_raw(struct iio_dev *indio_dev, iio_dev 730 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 748 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 758 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 780 drivers/iio/accel/adxl372.c static int adxl372_set_watermark(struct iio_dev *indio_dev, unsigned int val) iio_dev 792 drivers/iio/accel/adxl372.c static int adxl372_buffer_postenable(struct iio_dev *indio_dev) iio_dev 846 drivers/iio/accel/adxl372.c static int adxl372_buffer_predisable(struct iio_dev *indio_dev) iio_dev 865 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 875 drivers/iio/accel/adxl372.c static int adxl372_validate_trigger(struct iio_dev *indio_dev, iio_dev 923 drivers/iio/accel/adxl372.c struct iio_dev *indio_dev; iio_dev 462 drivers/iio/accel/bma180.c static int bma180_read_raw(struct iio_dev *indio_dev, iio_dev 507 drivers/iio/accel/bma180.c static int bma180_write_raw(struct iio_dev *indio_dev, iio_dev 541 drivers/iio/accel/bma180.c static int bma180_get_power_mode(struct iio_dev *indio_dev, iio_dev 549 drivers/iio/accel/bma180.c static int bma180_set_power_mode(struct iio_dev *indio_dev, iio_dev 563 drivers/iio/accel/bma180.c bma180_accel_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 664 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 693 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 701 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 716 drivers/iio/accel/bma180.c struct iio_dev *indio_dev; iio_dev 806 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 826 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 839 drivers/iio/accel/bma180.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 101 drivers/iio/accel/bma220_spi.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 121 drivers/iio/accel/bma220_spi.c static int bma220_read_raw(struct iio_dev *indio_dev, iio_dev 149 drivers/iio/accel/bma220_spi.c static int bma220_write_raw(struct iio_dev *indio_dev, iio_dev 226 drivers/iio/accel/bma220_spi.c struct iio_dev *indio_dev; iio_dev 274 drivers/iio/accel/bma220_spi.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 433 drivers/iio/accel/bmc150-accel-core.c static void bmc150_accel_interrupts_setup(struct iio_dev *indio_dev, iio_dev 572 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_read_raw(struct iio_dev *indio_dev, iio_dev 633 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_write_raw(struct iio_dev *indio_dev, iio_dev 661 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_read_event(struct iio_dev *indio_dev, iio_dev 685 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_write_event(struct iio_dev *indio_dev, iio_dev 711 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_read_event_config(struct iio_dev *indio_dev, iio_dev 721 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_write_event_config(struct iio_dev *indio_dev, iio_dev 748 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_validate_trigger(struct iio_dev *indio_dev, iio_dev 766 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 781 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 793 drivers/iio/accel/bmc150-accel-core.c bmc150_accel_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 822 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_set_watermark(struct iio_dev *indio_dev, unsigned val) iio_dev 857 drivers/iio/accel/bmc150-accel-core.c static int __bmc150_accel_fifo_flush(struct iio_dev *indio_dev, iio_dev 941 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_fifo_flush(struct iio_dev *indio_dev, unsigned samples) iio_dev 1109 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1193 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_handle_roc_event(struct iio_dev *indio_dev) iio_dev 1244 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = private; iio_dev 1284 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = private; iio_dev 1338 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_triggers_setup(struct iio_dev *indio_dev, iio_dev 1401 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_buffer_preenable(struct iio_dev *indio_dev) iio_dev 1408 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_buffer_postenable(struct iio_dev *indio_dev) iio_dev 1441 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_buffer_predisable(struct iio_dev *indio_dev) iio_dev 1464 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 1553 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev; iio_dev 1659 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1683 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1695 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1710 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1723 drivers/iio/accel/bmc150-accel-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 37 drivers/iio/accel/cros_ec_accel_legacy.c static int cros_ec_accel_legacy_read_cmd(struct iio_dev *indio_dev, iio_dev 70 drivers/iio/accel/cros_ec_accel_legacy.c static int cros_ec_accel_legacy_read(struct iio_dev *indio_dev, iio_dev 110 drivers/iio/accel/cros_ec_accel_legacy.c static int cros_ec_accel_legacy_write(struct iio_dev *indio_dev, iio_dev 167 drivers/iio/accel/cros_ec_accel_legacy.c struct iio_dev *indio_dev; iio_dev 61 drivers/iio/accel/da280.c static int da280_read_raw(struct iio_dev *indio_dev, iio_dev 107 drivers/iio/accel/da280.c struct iio_dev *indio_dev; iio_dev 157 drivers/iio/accel/da280.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 184 drivers/iio/accel/da311.c static int da311_read_raw(struct iio_dev *indio_dev, iio_dev 219 drivers/iio/accel/da311.c struct iio_dev *indio_dev; iio_dev 260 drivers/iio/accel/da311.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 66 drivers/iio/accel/dmard06.c static int dmard06_read_raw(struct iio_dev *indio_dev, iio_dev 131 drivers/iio/accel/dmard06.c struct iio_dev *indio_dev; iio_dev 176 drivers/iio/accel/dmard06.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 190 drivers/iio/accel/dmard06.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 49 drivers/iio/accel/dmard09.c static int dmard09_read_raw(struct iio_dev *indio_dev, iio_dev 95 drivers/iio/accel/dmard09.c struct iio_dev *indio_dev; iio_dev 138 drivers/iio/accel/dmard10.c static int dmard10_read_raw(struct iio_dev *indio_dev, iio_dev 177 drivers/iio/accel/dmard10.c struct iio_dev *indio_dev; iio_dev 221 drivers/iio/accel/dmard10.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 130 drivers/iio/accel/hid-sensor-accel-3d.c static int accel_3d_read_raw(struct iio_dev *indio_dev, iio_dev 192 drivers/iio/accel/hid-sensor-accel-3d.c static int accel_3d_write_raw(struct iio_dev *indio_dev, iio_dev 223 drivers/iio/accel/hid-sensor-accel-3d.c static void hid_sensor_push_data(struct iio_dev *indio_dev, void *data, iio_dev 235 drivers/iio/accel/hid-sensor-accel-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 260 drivers/iio/accel/hid-sensor-accel-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 340 drivers/iio/accel/hid-sensor-accel-3d.c struct iio_dev *indio_dev; iio_dev 441 drivers/iio/accel/hid-sensor-accel-3d.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 746 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_read_raw(struct iio_dev *indio_dev, iio_dev 796 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_write_raw(struct iio_dev *indio_dev, iio_dev 824 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_read_event(struct iio_dev *indio_dev, iio_dev 848 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_write_event(struct iio_dev *indio_dev, iio_dev 874 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_read_event_config(struct iio_dev *indio_dev, iio_dev 884 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_write_event_config(struct iio_dev *indio_dev, iio_dev 933 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_buffer_preenable(struct iio_dev *indio_dev) iio_dev 940 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 951 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1034 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1057 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1073 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1114 drivers/iio/accel/kxcjk-1013.c static void kxcjk1013_report_motion_event(struct iio_dev *indio_dev) iio_dev 1182 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = private; iio_dev 1218 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = private; iio_dev 1256 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev; iio_dev 1388 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1413 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1426 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1443 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1457 drivers/iio/accel/kxcjk-1013.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 96 drivers/iio/accel/kxsd9.c static int kxsd9_write_scale(struct iio_dev *indio_dev, int micro) iio_dev 135 drivers/iio/accel/kxsd9.c static int kxsd9_write_raw(struct iio_dev *indio_dev, iio_dev 159 drivers/iio/accel/kxsd9.c static int kxsd9_read_raw(struct iio_dev *indio_dev, iio_dev 210 drivers/iio/accel/kxsd9.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 234 drivers/iio/accel/kxsd9.c static int kxsd9_buffer_preenable(struct iio_dev *indio_dev) iio_dev 243 drivers/iio/accel/kxsd9.c static int kxsd9_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 261 drivers/iio/accel/kxsd9.c kxsd9_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 399 drivers/iio/accel/kxsd9.c struct iio_dev *indio_dev; iio_dev 480 drivers/iio/accel/kxsd9.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 497 drivers/iio/accel/kxsd9.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 505 drivers/iio/accel/kxsd9.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 82 drivers/iio/accel/mc3230.c static int mc3230_read_raw(struct iio_dev *indio_dev, iio_dev 113 drivers/iio/accel/mc3230.c struct iio_dev *indio_dev; iio_dev 157 drivers/iio/accel/mc3230.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 83 drivers/iio/accel/mma7455_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 106 drivers/iio/accel/mma7455_core.c static int mma7455_read_raw(struct iio_dev *indio_dev, iio_dev 155 drivers/iio/accel/mma7455_core.c static int mma7455_write_raw(struct iio_dev *indio_dev, iio_dev 238 drivers/iio/accel/mma7455_core.c struct iio_dev *indio_dev; iio_dev 292 drivers/iio/accel/mma7455_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 140 drivers/iio/accel/mma7660.c static int mma7660_read_raw(struct iio_dev *indio_dev, iio_dev 176 drivers/iio/accel/mma7660.c struct iio_dev *indio_dev; iio_dev 213 drivers/iio/accel/mma7660.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 389 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 406 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 482 drivers/iio/accel/mma8452.c static int mma8452_read_raw(struct iio_dev *indio_dev, iio_dev 702 drivers/iio/accel/mma8452.c static int mma8452_write_raw(struct iio_dev *indio_dev, iio_dev 815 drivers/iio/accel/mma8452.c static int mma8452_read_event_value(struct iio_dev *indio_dev, iio_dev 878 drivers/iio/accel/mma8452.c static int mma8452_write_event_value(struct iio_dev *indio_dev, iio_dev 936 drivers/iio/accel/mma8452.c static int mma8452_read_event_config(struct iio_dev *indio_dev, iio_dev 965 drivers/iio/accel/mma8452.c static int mma8452_write_event_config(struct iio_dev *indio_dev, iio_dev 1016 drivers/iio/accel/mma8452.c static void mma8452_transient_interrupt(struct iio_dev *indio_dev) iio_dev 1050 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = p; iio_dev 1092 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1110 drivers/iio/accel/mma8452.c static int mma8452_reg_access_dbg(struct iio_dev *indio_dev, iio_dev 1426 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1451 drivers/iio/accel/mma8452.c static int mma8452_trigger_setup(struct iio_dev *indio_dev) iio_dev 1476 drivers/iio/accel/mma8452.c static void mma8452_trigger_cleanup(struct iio_dev *indio_dev) iio_dev 1521 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev; iio_dev 1709 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1731 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1760 drivers/iio/accel/mma8452.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 106 drivers/iio/accel/mma9551.c static int mma9551_read_raw(struct iio_dev *indio_dev, iio_dev 147 drivers/iio/accel/mma9551.c static int mma9551_read_event_config(struct iio_dev *indio_dev, iio_dev 163 drivers/iio/accel/mma9551.c static int mma9551_config_incli_event(struct iio_dev *indio_dev, iio_dev 224 drivers/iio/accel/mma9551.c static int mma9551_write_event_config(struct iio_dev *indio_dev, iio_dev 245 drivers/iio/accel/mma9551.c static int mma9551_write_event_value(struct iio_dev *indio_dev, iio_dev 272 drivers/iio/accel/mma9551.c static int mma9551_read_event_value(struct iio_dev *indio_dev, iio_dev 336 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev = private; iio_dev 403 drivers/iio/accel/mma9551.c static int mma9551_gpio_probe(struct iio_dev *indio_dev) iio_dev 453 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev; iio_dev 512 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 531 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 548 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 565 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 578 drivers/iio/accel/mma9551.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 462 drivers/iio/accel/mma9553.c static int mma9553_read_raw(struct iio_dev *indio_dev, iio_dev 605 drivers/iio/accel/mma9553.c static int mma9553_write_raw(struct iio_dev *indio_dev, iio_dev 710 drivers/iio/accel/mma9553.c static int mma9553_read_event_config(struct iio_dev *indio_dev, iio_dev 725 drivers/iio/accel/mma9553.c static int mma9553_write_event_config(struct iio_dev *indio_dev, iio_dev 766 drivers/iio/accel/mma9553.c static int mma9553_read_event_value(struct iio_dev *indio_dev, iio_dev 806 drivers/iio/accel/mma9553.c static int mma9553_write_event_value(struct iio_dev *indio_dev, iio_dev 853 drivers/iio/accel/mma9553.c static int mma9553_get_calibgender_mode(struct iio_dev *indio_dev, iio_dev 867 drivers/iio/accel/mma9553.c static int mma9553_set_calibgender_mode(struct iio_dev *indio_dev, iio_dev 992 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = private; iio_dev 1006 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = private; iio_dev 1080 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev; iio_dev 1151 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1170 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1187 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1204 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1217 drivers/iio/accel/mma9553.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 205 drivers/iio/accel/mxc4005.c static int mxc4005_read_raw(struct iio_dev *indio_dev, iio_dev 241 drivers/iio/accel/mxc4005.c static int mxc4005_write_raw(struct iio_dev *indio_dev, iio_dev 296 drivers/iio/accel/mxc4005.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 331 drivers/iio/accel/mxc4005.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 358 drivers/iio/accel/mxc4005.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 392 drivers/iio/accel/mxc4005.c struct iio_dev *indio_dev; iio_dev 49 drivers/iio/accel/mxc6255.c static int mxc6255_read_raw(struct iio_dev *indio_dev, iio_dev 120 drivers/iio/accel/mxc6255.c struct iio_dev *indio_dev; iio_dev 429 drivers/iio/accel/sca3000.c static int sca3000_print_rev(struct iio_dev *indio_dev) iio_dev 453 drivers/iio/accel/sca3000.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 709 drivers/iio/accel/sca3000.c static int sca3000_read_raw(struct iio_dev *indio_dev, iio_dev 776 drivers/iio/accel/sca3000.c static int sca3000_write_raw(struct iio_dev *indio_dev, iio_dev 820 drivers/iio/accel/sca3000.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 865 drivers/iio/accel/sca3000.c static int sca3000_read_event_value(struct iio_dev *indio_dev, iio_dev 917 drivers/iio/accel/sca3000.c static int sca3000_write_event_value(struct iio_dev *indio_dev, iio_dev 995 drivers/iio/accel/sca3000.c static void sca3000_ring_int_process(u8 val, struct iio_dev *indio_dev) iio_dev 1045 drivers/iio/accel/sca3000.c struct iio_dev *indio_dev = private; iio_dev 1106 drivers/iio/accel/sca3000.c static int sca3000_read_event_config(struct iio_dev *indio_dev, iio_dev 1153 drivers/iio/accel/sca3000.c static int sca3000_freefall_set_state(struct iio_dev *indio_dev, int state) iio_dev 1175 drivers/iio/accel/sca3000.c static int sca3000_motion_detect_set_state(struct iio_dev *indio_dev, int axis, iio_dev 1244 drivers/iio/accel/sca3000.c static int sca3000_write_event_config(struct iio_dev *indio_dev, iio_dev 1275 drivers/iio/accel/sca3000.c static int sca3000_configure_ring(struct iio_dev *indio_dev) iio_dev 1290 drivers/iio/accel/sca3000.c int __sca3000_hw_ring_state_set(struct iio_dev *indio_dev, bool state) iio_dev 1323 drivers/iio/accel/sca3000.c static int sca3000_hw_ring_preenable(struct iio_dev *indio_dev) iio_dev 1350 drivers/iio/accel/sca3000.c static int sca3000_hw_ring_postdisable(struct iio_dev *indio_dev) iio_dev 1457 drivers/iio/accel/sca3000.c struct iio_dev *indio_dev; iio_dev 1535 drivers/iio/accel/sca3000.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 27 drivers/iio/accel/ssp_accel_sensor.c static int ssp_accel_read_raw(struct iio_dev *indio_dev, iio_dev 46 drivers/iio/accel/ssp_accel_sensor.c static int ssp_accel_write_raw(struct iio_dev *indio_dev, iio_dev 82 drivers/iio/accel/ssp_accel_sensor.c static int ssp_process_accel_data(struct iio_dev *indio_dev, void *buf, iio_dev 97 drivers/iio/accel/ssp_accel_sensor.c struct iio_dev *indio_dev; iio_dev 72 drivers/iio/accel/st_accel.h int st_accel_common_probe(struct iio_dev *indio_dev); iio_dev 73 drivers/iio/accel/st_accel.h void st_accel_common_remove(struct iio_dev *indio_dev); iio_dev 76 drivers/iio/accel/st_accel.h int st_accel_allocate_ring(struct iio_dev *indio_dev); iio_dev 77 drivers/iio/accel/st_accel.h void st_accel_deallocate_ring(struct iio_dev *indio_dev); iio_dev 81 drivers/iio/accel/st_accel.h static inline int st_accel_allocate_ring(struct iio_dev *indio_dev) iio_dev 85 drivers/iio/accel/st_accel.h static inline void st_accel_deallocate_ring(struct iio_dev *indio_dev) iio_dev 27 drivers/iio/accel/st_accel_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 32 drivers/iio/accel/st_accel_buffer.c static int st_accel_buffer_postenable(struct iio_dev *indio_dev) iio_dev 58 drivers/iio/accel/st_accel_buffer.c static int st_accel_buffer_predisable(struct iio_dev *indio_dev) iio_dev 81 drivers/iio/accel/st_accel_buffer.c int st_accel_allocate_ring(struct iio_dev *indio_dev) iio_dev 87 drivers/iio/accel/st_accel_buffer.c void st_accel_deallocate_ring(struct iio_dev *indio_dev) iio_dev 910 drivers/iio/accel/st_accel_core.c static int st_accel_read_raw(struct iio_dev *indio_dev, iio_dev 939 drivers/iio/accel/st_accel_core.c static int st_accel_write_raw(struct iio_dev *indio_dev, iio_dev 998 drivers/iio/accel/st_accel_core.c get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 1014 drivers/iio/accel/st_accel_core.c static int apply_acpi_orientation(struct iio_dev *indio_dev, iio_dev 1146 drivers/iio/accel/st_accel_core.c static int apply_acpi_orientation(struct iio_dev *indio_dev, iio_dev 1171 drivers/iio/accel/st_accel_core.c int st_accel_common_probe(struct iio_dev *indio_dev) iio_dev 1251 drivers/iio/accel/st_accel_core.c void st_accel_common_remove(struct iio_dev *indio_dev) iio_dev 155 drivers/iio/accel/st_accel_i2c.c struct iio_dev *indio_dev; iio_dev 107 drivers/iio/accel/st_accel_spi.c struct iio_dev *indio_dev; iio_dev 216 drivers/iio/accel/stk8312.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 331 drivers/iio/accel/stk8312.c static int stk8312_read_raw(struct iio_dev *indio_dev, iio_dev 375 drivers/iio/accel/stk8312.c static int stk8312_write_raw(struct iio_dev *indio_dev, iio_dev 428 drivers/iio/accel/stk8312.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 470 drivers/iio/accel/stk8312.c struct iio_dev *indio_dev = private; iio_dev 479 drivers/iio/accel/stk8312.c static int stk8312_buffer_preenable(struct iio_dev *indio_dev) iio_dev 486 drivers/iio/accel/stk8312.c static int stk8312_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 504 drivers/iio/accel/stk8312.c struct iio_dev *indio_dev; iio_dev 603 drivers/iio/accel/stk8312.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 158 drivers/iio/accel/stk8ba50.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 208 drivers/iio/accel/stk8ba50.c static int stk8ba50_read_raw(struct iio_dev *indio_dev, iio_dev 249 drivers/iio/accel/stk8ba50.c static int stk8ba50_write_raw(struct iio_dev *indio_dev, iio_dev 314 drivers/iio/accel/stk8ba50.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 354 drivers/iio/accel/stk8ba50.c struct iio_dev *indio_dev = private; iio_dev 363 drivers/iio/accel/stk8ba50.c static int stk8ba50_buffer_preenable(struct iio_dev *indio_dev) iio_dev 370 drivers/iio/accel/stk8ba50.c static int stk8ba50_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 388 drivers/iio/accel/stk8ba50.c struct iio_dev *indio_dev; iio_dev 499 drivers/iio/accel/stk8ba50.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 282 drivers/iio/adc/ad7124.c static int ad7124_read_raw(struct iio_dev *indio_dev, iio_dev 329 drivers/iio/adc/ad7124.c static int ad7124_write_raw(struct iio_dev *indio_dev, iio_dev 441 drivers/iio/adc/ad7124.c static int ad7124_of_parse_channel_config(struct iio_dev *indio_dev, iio_dev 571 drivers/iio/adc/ad7124.c struct iio_dev *indio_dev; iio_dev 657 drivers/iio/adc/ad7124.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 63 drivers/iio/adc/ad7266.c static int ad7266_preenable(struct iio_dev *indio_dev) iio_dev 69 drivers/iio/adc/ad7266.c static int ad7266_postdisable(struct iio_dev *indio_dev) iio_dev 85 drivers/iio/adc/ad7266.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 123 drivers/iio/adc/ad7266.c static int ad7266_update_scan_mode(struct iio_dev *indio_dev, iio_dev 147 drivers/iio/adc/ad7266.c static int ad7266_read_raw(struct iio_dev *indio_dev, iio_dev 358 drivers/iio/adc/ad7266.c static void ad7266_init_channels(struct iio_dev *indio_dev) iio_dev 385 drivers/iio/adc/ad7266.c struct iio_dev *indio_dev; iio_dev 490 drivers/iio/adc/ad7266.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 112 drivers/iio/adc/ad7291.c struct iio_dev *indio_dev = private; iio_dev 201 drivers/iio/adc/ad7291.c static int ad7291_read_event_value(struct iio_dev *indio_dev, iio_dev 226 drivers/iio/adc/ad7291.c static int ad7291_write_event_value(struct iio_dev *indio_dev, iio_dev 247 drivers/iio/adc/ad7291.c static int ad7291_read_event_config(struct iio_dev *indio_dev, iio_dev 270 drivers/iio/adc/ad7291.c static int ad7291_write_event_config(struct iio_dev *indio_dev, iio_dev 320 drivers/iio/adc/ad7291.c static int ad7291_read_raw(struct iio_dev *indio_dev, iio_dev 470 drivers/iio/adc/ad7291.c struct iio_dev *indio_dev; iio_dev 551 drivers/iio/adc/ad7291.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 104 drivers/iio/adc/ad7298.c static int ad7298_update_scan_mode(struct iio_dev *indio_dev, iio_dev 156 drivers/iio/adc/ad7298.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 230 drivers/iio/adc/ad7298.c static int ad7298_read_raw(struct iio_dev *indio_dev, iio_dev 288 drivers/iio/adc/ad7298.c struct iio_dev *indio_dev; iio_dev 360 drivers/iio/adc/ad7298.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 70 drivers/iio/adc/ad7476.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 103 drivers/iio/adc/ad7476.c static int ad7476_read_raw(struct iio_dev *indio_dev, iio_dev 238 drivers/iio/adc/ad7476.c struct iio_dev *indio_dev; iio_dev 300 drivers/iio/adc/ad7476.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 63 drivers/iio/adc/ad7606.c static int ad7606_reg_access(struct iio_dev *indio_dev, iio_dev 122 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 142 drivers/iio/adc/ad7606.c static int ad7606_scan_direct(struct iio_dev *indio_dev, unsigned int ch) iio_dev 165 drivers/iio/adc/ad7606.c static int ad7606_read_raw(struct iio_dev *indio_dev, iio_dev 219 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 227 drivers/iio/adc/ad7606.c static int ad7606_write_scale_hw(struct iio_dev *indio_dev, int ch, int val) iio_dev 236 drivers/iio/adc/ad7606.c static int ad7606_write_os_hw(struct iio_dev *indio_dev, int val) iio_dev 253 drivers/iio/adc/ad7606.c static int ad7606_write_raw(struct iio_dev *indio_dev, iio_dev 301 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 474 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev = dev_id; iio_dev 487 drivers/iio/adc/ad7606.c static int ad7606_validate_trigger(struct iio_dev *indio_dev, iio_dev 498 drivers/iio/adc/ad7606.c static int ad7606_buffer_postenable(struct iio_dev *indio_dev) iio_dev 508 drivers/iio/adc/ad7606.c static int ad7606_buffer_predisable(struct iio_dev *indio_dev) iio_dev 573 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev; iio_dev 704 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 717 drivers/iio/adc/ad7606.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 105 drivers/iio/adc/ad7606.h int (*write_scale)(struct iio_dev *indio_dev, int ch, int val); iio_dev 106 drivers/iio/adc/ad7606.h int (*write_os)(struct iio_dev *indio_dev, int val); iio_dev 140 drivers/iio/adc/ad7606.h int (*sw_mode_config)(struct iio_dev *indio_dev); iio_dev 20 drivers/iio/adc/ad7606_par.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 35 drivers/iio/adc/ad7606_par.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 176 drivers/iio/adc/ad7606_spi.c static int ad7616_write_scale_sw(struct iio_dev *indio_dev, int ch, int val) iio_dev 204 drivers/iio/adc/ad7606_spi.c static int ad7616_write_os_sw(struct iio_dev *indio_dev, int val) iio_dev 212 drivers/iio/adc/ad7606_spi.c static int ad7606_write_scale_sw(struct iio_dev *indio_dev, int ch, int val) iio_dev 222 drivers/iio/adc/ad7606_spi.c static int ad7606_write_os_sw(struct iio_dev *indio_dev, int val) iio_dev 229 drivers/iio/adc/ad7606_spi.c static int ad7616_sw_mode_config(struct iio_dev *indio_dev) iio_dev 249 drivers/iio/adc/ad7606_spi.c static int ad7606B_sw_mode_config(struct iio_dev *indio_dev) iio_dev 70 drivers/iio/adc/ad7766.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 86 drivers/iio/adc/ad7766.c static int ad7766_preenable(struct iio_dev *indio_dev) iio_dev 110 drivers/iio/adc/ad7766.c static int ad7766_postdisable(struct iio_dev *indio_dev) iio_dev 128 drivers/iio/adc/ad7766.c static int ad7766_read_raw(struct iio_dev *indio_dev, iio_dev 216 drivers/iio/adc/ad7766.c struct iio_dev *indio_dev; iio_dev 216 drivers/iio/adc/ad7768-1.c static int ad7768_scan_direct(struct iio_dev *indio_dev) iio_dev 246 drivers/iio/adc/ad7768-1.c static int ad7768_reg_access(struct iio_dev *indio_dev, iio_dev 336 drivers/iio/adc/ad7768-1.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 354 drivers/iio/adc/ad7768-1.c static int ad7768_read_raw(struct iio_dev *indio_dev, iio_dev 396 drivers/iio/adc/ad7768-1.c static int ad7768_write_raw(struct iio_dev *indio_dev, iio_dev 456 drivers/iio/adc/ad7768-1.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 478 drivers/iio/adc/ad7768-1.c struct iio_dev *indio_dev = dev_id; iio_dev 489 drivers/iio/adc/ad7768-1.c static int ad7768_buffer_postenable(struct iio_dev *indio_dev) iio_dev 502 drivers/iio/adc/ad7768-1.c static int ad7768_buffer_predisable(struct iio_dev *indio_dev) iio_dev 544 drivers/iio/adc/ad7768-1.c struct iio_dev *indio_dev; iio_dev 105 drivers/iio/adc/ad7780.c static int ad7780_read_raw(struct iio_dev *indio_dev, iio_dev 139 drivers/iio/adc/ad7780.c static int ad7780_write_raw(struct iio_dev *indio_dev, iio_dev 286 drivers/iio/adc/ad7780.c struct iio_dev *indio_dev; iio_dev 344 drivers/iio/adc/ad7780.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 210 drivers/iio/adc/ad7791.c static int ad7791_read_raw(struct iio_dev *indio_dev, iio_dev 263 drivers/iio/adc/ad7791.c static int ad7791_write_raw(struct iio_dev *indio_dev, iio_dev 351 drivers/iio/adc/ad7791.c struct iio_dev *indio_dev; iio_dev 414 drivers/iio/adc/ad7791.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 254 drivers/iio/adc/ad7793.c static int ad7793_setup(struct iio_dev *indio_dev, iio_dev 359 drivers/iio/adc/ad7793.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 395 drivers/iio/adc/ad7793.c static int ad7793_read_raw(struct iio_dev *indio_dev, iio_dev 464 drivers/iio/adc/ad7793.c static int ad7793_write_raw(struct iio_dev *indio_dev, iio_dev 525 drivers/iio/adc/ad7793.c static int ad7793_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 708 drivers/iio/adc/ad7793.c struct iio_dev *indio_dev; iio_dev 788 drivers/iio/adc/ad7793.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 76 drivers/iio/adc/ad7887.c static int ad7887_ring_preenable(struct iio_dev *indio_dev) iio_dev 98 drivers/iio/adc/ad7887.c static int ad7887_ring_postdisable(struct iio_dev *indio_dev) iio_dev 115 drivers/iio/adc/ad7887.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 147 drivers/iio/adc/ad7887.c static int ad7887_read_raw(struct iio_dev *indio_dev, iio_dev 237 drivers/iio/adc/ad7887.c struct iio_dev *indio_dev; iio_dev 337 drivers/iio/adc/ad7887.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 131 drivers/iio/adc/ad7923.c static int ad7923_update_scan_mode(struct iio_dev *indio_dev, iio_dev 174 drivers/iio/adc/ad7923.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 224 drivers/iio/adc/ad7923.c static int ad7923_read_raw(struct iio_dev *indio_dev, iio_dev 269 drivers/iio/adc/ad7923.c struct iio_dev *indio_dev; iio_dev 336 drivers/iio/adc/ad7923.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 52 drivers/iio/adc/ad7949.c struct iio_dev *indio_dev; iio_dev 159 drivers/iio/adc/ad7949.c static int ad7949_spi_read_raw(struct iio_dev *indio_dev, iio_dev 192 drivers/iio/adc/ad7949.c static int ad7949_spi_reg_access(struct iio_dev *indio_dev, iio_dev 237 drivers/iio/adc/ad7949.c struct iio_dev *indio_dev; iio_dev 299 drivers/iio/adc/ad7949.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 179 drivers/iio/adc/ad799x.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 218 drivers/iio/adc/ad799x.c static int ad799x_update_scan_mode(struct iio_dev *indio_dev, iio_dev 270 drivers/iio/adc/ad799x.c static int ad799x_read_raw(struct iio_dev *indio_dev, iio_dev 316 drivers/iio/adc/ad799x.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 331 drivers/iio/adc/ad799x.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 368 drivers/iio/adc/ad799x.c static int ad799x_read_event_config(struct iio_dev *indio_dev, iio_dev 384 drivers/iio/adc/ad799x.c static int ad799x_write_event_config(struct iio_dev *indio_dev, iio_dev 431 drivers/iio/adc/ad799x.c static int ad799x_write_event_value(struct iio_dev *indio_dev, iio_dev 453 drivers/iio/adc/ad799x.c static int ad799x_read_event_value(struct iio_dev *indio_dev, iio_dev 477 drivers/iio/adc/ad799x.c struct iio_dev *indio_dev = private; iio_dev 765 drivers/iio/adc/ad799x.c struct iio_dev *indio_dev; iio_dev 854 drivers/iio/adc/ad799x.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 278 drivers/iio/adc/ad_sigma_delta.c int ad_sigma_delta_single_conversion(struct iio_dev *indio_dev, iio_dev 345 drivers/iio/adc/ad_sigma_delta.c static int ad_sd_buffer_postenable(struct iio_dev *indio_dev) iio_dev 381 drivers/iio/adc/ad_sigma_delta.c static int ad_sd_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 403 drivers/iio/adc/ad_sigma_delta.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 472 drivers/iio/adc/ad_sigma_delta.c int ad_sd_validate_trigger(struct iio_dev *indio_dev, struct iio_trigger *trig) iio_dev 486 drivers/iio/adc/ad_sigma_delta.c static int ad_sd_probe_trigger(struct iio_dev *indio_dev) iio_dev 532 drivers/iio/adc/ad_sigma_delta.c static void ad_sd_remove_trigger(struct iio_dev *indio_dev) iio_dev 545 drivers/iio/adc/ad_sigma_delta.c int ad_sd_setup_buffer_and_trigger(struct iio_dev *indio_dev) iio_dev 568 drivers/iio/adc/ad_sigma_delta.c void ad_sd_cleanup_buffer_and_trigger(struct iio_dev *indio_dev) iio_dev 585 drivers/iio/adc/ad_sigma_delta.c int ad_sd_init(struct ad_sigma_delta *sigma_delta, struct iio_dev *indio_dev, iio_dev 90 drivers/iio/adc/aspeed_adc.c static int aspeed_adc_read_raw(struct iio_dev *indio_dev, iio_dev 118 drivers/iio/adc/aspeed_adc.c static int aspeed_adc_write_raw(struct iio_dev *indio_dev, iio_dev 151 drivers/iio/adc/aspeed_adc.c static int aspeed_adc_reg_access(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/adc/aspeed_adc.c struct iio_dev *indio_dev; iio_dev 285 drivers/iio/adc/aspeed_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 462 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_chan_xlate(struct iio_dev *indio_dev, int chan) iio_dev 474 drivers/iio/adc/at91-sama5d2_adc.c at91_adc_chan_get(struct iio_dev *indio_dev, int chan) iio_dev 483 drivers/iio/adc/at91-sama5d2_adc.c static inline int at91_adc_of_xlate(struct iio_dev *indio_dev, iio_dev 710 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio = iio_trigger_get_drvdata(trig); iio_dev 773 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio = iio_trigger_get_drvdata(trig); iio_dev 818 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = data; iio_dev 823 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_dma_start(struct iio_dev *indio_dev) iio_dev 891 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_buffer_postenable(struct iio_dev *indio_dev) iio_dev 917 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_buffer_predisable(struct iio_dev *indio_dev) iio_dev 975 drivers/iio/adc/at91-sama5d2_adc.c static struct iio_trigger *at91_adc_allocate_trigger(struct iio_dev *indio, iio_dev 997 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_trigger_init(struct iio_dev *indio) iio_dev 1011 drivers/iio/adc/at91-sama5d2_adc.c static void at91_adc_trigger_handler_nodma(struct iio_dev *indio_dev, iio_dev 1050 drivers/iio/adc/at91-sama5d2_adc.c static void at91_adc_trigger_handler_dma(struct iio_dev *indio_dev) iio_dev 1102 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1115 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_buffer_init(struct iio_dev *indio) iio_dev 1159 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = iio_priv_to_dev(st); iio_dev 1184 drivers/iio/adc/at91-sama5d2_adc.c static void at91_adc_touch_data_handler(struct iio_dev *indio_dev) iio_dev 1230 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = iio_priv_to_dev(st); iio_dev 1250 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = iio_priv_to_dev(st); iio_dev 1257 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio = private; iio_dev 1301 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_read_info_raw(struct iio_dev *indio_dev, iio_dev 1386 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_read_raw(struct iio_dev *indio_dev, iio_dev 1415 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_write_raw(struct iio_dev *indio_dev, iio_dev 1447 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 1508 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 1529 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_set_watermark(struct iio_dev *indio_dev, unsigned int val) iio_dev 1558 drivers/iio/adc/at91-sama5d2_adc.c static int at91_adc_update_scan_mode(struct iio_dev *indio_dev, iio_dev 1596 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1605 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1652 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev; iio_dev 1840 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 1857 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1877 drivers/iio/adc/at91-sama5d2_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 248 drivers/iio/adc/at91_adc.c struct iio_dev *idev = pf->indio_dev; iio_dev 274 drivers/iio/adc/at91_adc.c static void handle_adc_eoc_trigger(int irq, struct iio_dev *idev) iio_dev 296 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_priv_to_dev(st); iio_dev 355 drivers/iio/adc/at91_adc.c struct iio_dev *idev = private; iio_dev 420 drivers/iio/adc/at91_adc.c struct iio_dev *idev = private; iio_dev 466 drivers/iio/adc/at91_adc.c static int at91_adc_channel_init(struct iio_dev *idev) iio_dev 520 drivers/iio/adc/at91_adc.c static int at91_adc_get_trigger_value_by_name(struct iio_dev *idev, iio_dev 551 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_trigger_get_drvdata(trig); iio_dev 603 drivers/iio/adc/at91_adc.c static struct iio_trigger *at91_adc_allocate_trigger(struct iio_dev *idev, iio_dev 625 drivers/iio/adc/at91_adc.c static int at91_adc_trigger_init(struct iio_dev *idev) iio_dev 664 drivers/iio/adc/at91_adc.c static void at91_adc_trigger_remove(struct iio_dev *idev) iio_dev 675 drivers/iio/adc/at91_adc.c static int at91_adc_buffer_init(struct iio_dev *idev) iio_dev 681 drivers/iio/adc/at91_adc.c static void at91_adc_buffer_remove(struct iio_dev *idev) iio_dev 686 drivers/iio/adc/at91_adc.c static int at91_adc_read_raw(struct iio_dev *idev, iio_dev 743 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_priv_to_dev(st); iio_dev 872 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_priv_to_dev(st); iio_dev 1015 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_priv_to_dev(st); iio_dev 1092 drivers/iio/adc/at91_adc.c struct iio_dev *idev = iio_priv_to_dev(st); iio_dev 1153 drivers/iio/adc/at91_adc.c struct iio_dev *idev; iio_dev 1340 drivers/iio/adc/at91_adc.c struct iio_dev *idev = platform_get_drvdata(pdev); iio_dev 1360 drivers/iio/adc/at91_adc.c struct iio_dev *idev = dev_get_drvdata(dev); iio_dev 1371 drivers/iio/adc/at91_adc.c struct iio_dev *idev = dev_get_drvdata(dev); iio_dev 227 drivers/iio/adc/axp20x_adc.c static int axp20x_adc_raw(struct iio_dev *indio_dev, iio_dev 250 drivers/iio/adc/axp20x_adc.c static int axp22x_adc_raw(struct iio_dev *indio_dev, iio_dev 273 drivers/iio/adc/axp20x_adc.c static int axp813_adc_raw(struct iio_dev *indio_dev, iio_dev 422 drivers/iio/adc/axp20x_adc.c static int axp20x_adc_offset_voltage(struct iio_dev *indio_dev, int channel, iio_dev 450 drivers/iio/adc/axp20x_adc.c static int axp20x_adc_offset(struct iio_dev *indio_dev, iio_dev 466 drivers/iio/adc/axp20x_adc.c static int axp20x_read_raw(struct iio_dev *indio_dev, iio_dev 485 drivers/iio/adc/axp20x_adc.c static int axp22x_read_raw(struct iio_dev *indio_dev, iio_dev 505 drivers/iio/adc/axp20x_adc.c static int axp813_read_raw(struct iio_dev *indio_dev, iio_dev 525 drivers/iio/adc/axp20x_adc.c static int axp20x_write_raw(struct iio_dev *indio_dev, iio_dev 657 drivers/iio/adc/axp20x_adc.c struct iio_dev *indio_dev; iio_dev 730 drivers/iio/adc/axp20x_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 157 drivers/iio/adc/axp288_adc.c static int axp288_adc_read_raw(struct iio_dev *indio_dev, iio_dev 251 drivers/iio/adc/axp288_adc.c struct iio_dev *indio_dev; iio_dev 299 drivers/iio/adc/axp288_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 118 drivers/iio/adc/bcm_iproc_adc.c static void iproc_adc_reg_dump(struct iio_dev *indio_dev) iio_dev 140 drivers/iio/adc/bcm_iproc_adc.c struct iio_dev *indio_dev = data; iio_dev 163 drivers/iio/adc/bcm_iproc_adc.c struct iio_dev *indio_dev = data; iio_dev 224 drivers/iio/adc/bcm_iproc_adc.c static int iproc_adc_do_read(struct iio_dev *indio_dev, iio_dev 352 drivers/iio/adc/bcm_iproc_adc.c static int iproc_adc_enable(struct iio_dev *indio_dev) iio_dev 430 drivers/iio/adc/bcm_iproc_adc.c static void iproc_adc_disable(struct iio_dev *indio_dev) iio_dev 452 drivers/iio/adc/bcm_iproc_adc.c static int iproc_adc_read_raw(struct iio_dev *indio_dev, iio_dev 509 drivers/iio/adc/bcm_iproc_adc.c struct iio_dev *indio_dev = NULL; iio_dev 601 drivers/iio/adc/bcm_iproc_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 107 drivers/iio/adc/berlin2-adc.c static int berlin2_adc_read(struct iio_dev *indio_dev, int channel) iio_dev 151 drivers/iio/adc/berlin2-adc.c static int berlin2_adc_tsen_read(struct iio_dev *indio_dev) iio_dev 202 drivers/iio/adc/berlin2-adc.c static int berlin2_adc_read_raw(struct iio_dev *indio_dev, iio_dev 285 drivers/iio/adc/berlin2-adc.c struct iio_dev *indio_dev; iio_dev 350 drivers/iio/adc/berlin2-adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 106 drivers/iio/adc/cc10001_adc.c static u16 cc10001_adc_poll_done(struct iio_dev *indio_dev, iio_dev 139 drivers/iio/adc/cc10001_adc.c struct iio_dev *indio_dev; iio_dev 191 drivers/iio/adc/cc10001_adc.c static u16 cc10001_adc_read_raw_voltage(struct iio_dev *indio_dev, iio_dev 214 drivers/iio/adc/cc10001_adc.c static int cc10001_adc_read_raw(struct iio_dev *indio_dev, iio_dev 247 drivers/iio/adc/cc10001_adc.c static int cc10001_update_scan_mode(struct iio_dev *indio_dev, iio_dev 265 drivers/iio/adc/cc10001_adc.c static int cc10001_adc_channel_init(struct iio_dev *indio_dev, iio_dev 314 drivers/iio/adc/cc10001_adc.c struct iio_dev *indio_dev; iio_dev 412 drivers/iio/adc/cc10001_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 384 drivers/iio/adc/cpcap-adc.c struct iio_dev *indio_dev = data; iio_dev 863 drivers/iio/adc/cpcap-adc.c static int cpcap_adc_read(struct iio_dev *indio_dev, iio_dev 960 drivers/iio/adc/cpcap-adc.c struct iio_dev *indio_dev; iio_dev 222 drivers/iio/adc/da9150-gpadc.c static int da9150_gpadc_read_raw(struct iio_dev *indio_dev, iio_dev 323 drivers/iio/adc/da9150-gpadc.c struct iio_dev *indio_dev; iio_dev 380 drivers/iio/adc/da9150-gpadc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 105 drivers/iio/adc/dln2-adc.c struct iio_dev *indio_dev = platform_get_drvdata(dln2->pdev); iio_dev 251 drivers/iio/adc/dln2-adc.c struct iio_dev *indio_dev = platform_get_drvdata(dln2->pdev); iio_dev 328 drivers/iio/adc/dln2-adc.c static int dln2_adc_read_raw(struct iio_dev *indio_dev, iio_dev 376 drivers/iio/adc/dln2-adc.c static int dln2_adc_write_raw(struct iio_dev *indio_dev, iio_dev 422 drivers/iio/adc/dln2-adc.c static int dln2_update_scan_mode(struct iio_dev *indio_dev, iio_dev 484 drivers/iio/adc/dln2-adc.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 520 drivers/iio/adc/dln2-adc.c static int dln2_adc_triggered_buffer_postenable(struct iio_dev *indio_dev) iio_dev 569 drivers/iio/adc/dln2-adc.c static int dln2_adc_triggered_buffer_predisable(struct iio_dev *indio_dev) iio_dev 604 drivers/iio/adc/dln2-adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 616 drivers/iio/adc/dln2-adc.c struct iio_dev *indio_dev; iio_dev 703 drivers/iio/adc/dln2-adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 187 drivers/iio/adc/envelope-detector.c static int envelope_detector_read_raw(struct iio_dev *indio_dev, iio_dev 231 drivers/iio/adc/envelope-detector.c static ssize_t envelope_show_invert(struct iio_dev *indio_dev, iio_dev 240 drivers/iio/adc/envelope-detector.c static ssize_t envelope_store_invert(struct iio_dev *indio_dev, iio_dev 270 drivers/iio/adc/envelope-detector.c static ssize_t envelope_show_comp_interval(struct iio_dev *indio_dev, iio_dev 280 drivers/iio/adc/envelope-detector.c static ssize_t envelope_store_comp_interval(struct iio_dev *indio_dev, iio_dev 327 drivers/iio/adc/envelope-detector.c struct iio_dev *indio_dev; iio_dev 78 drivers/iio/adc/ep93xx_adc.c static int ep93xx_read_raw(struct iio_dev *iiodev, iio_dev 156 drivers/iio/adc/ep93xx_adc.c struct iio_dev *iiodev; iio_dev 226 drivers/iio/adc/ep93xx_adc.c struct iio_dev *iiodev = platform_get_drvdata(pdev); iio_dev 524 drivers/iio/adc/exynos_adc.c static int exynos_read_raw(struct iio_dev *indio_dev, iio_dev 562 drivers/iio/adc/exynos_adc.c static int exynos_read_s3c64xx_ts(struct iio_dev *indio_dev, int *x, int *y) iio_dev 631 drivers/iio/adc/exynos_adc.c struct iio_dev *dev = dev_get_drvdata(info->dev); iio_dev 661 drivers/iio/adc/exynos_adc.c static int exynos_adc_reg_access(struct iio_dev *indio_dev, iio_dev 771 drivers/iio/adc/exynos_adc.c struct iio_dev *indio_dev = NULL; iio_dev 931 drivers/iio/adc/exynos_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 954 drivers/iio/adc/exynos_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 967 drivers/iio/adc/exynos_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 131 drivers/iio/adc/fsl-imx25-gcq.c static int mx25_gcq_read_raw(struct iio_dev *indio_dev, iio_dev 293 drivers/iio/adc/fsl-imx25-gcq.c struct iio_dev *indio_dev; iio_dev 387 drivers/iio/adc/fsl-imx25-gcq.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 104 drivers/iio/adc/hi8435.c static int hi8435_read_raw(struct iio_dev *idev, iio_dev 124 drivers/iio/adc/hi8435.c static int hi8435_read_event_config(struct iio_dev *idev, iio_dev 134 drivers/iio/adc/hi8435.c static int hi8435_write_event_config(struct iio_dev *idev, iio_dev 159 drivers/iio/adc/hi8435.c static int hi8435_read_event_value(struct iio_dev *idev, iio_dev 191 drivers/iio/adc/hi8435.c static int hi8435_write_event_value(struct iio_dev *idev, iio_dev 267 drivers/iio/adc/hi8435.c static int hi8435_debugfs_reg_access(struct iio_dev *idev, iio_dev 302 drivers/iio/adc/hi8435.c static int hi8435_get_sensing_mode(struct iio_dev *idev, iio_dev 316 drivers/iio/adc/hi8435.c static int hi8435_set_sensing_mode(struct iio_dev *idev, iio_dev 415 drivers/iio/adc/hi8435.c static void hi8435_iio_push_event(struct iio_dev *idev, unsigned int val) iio_dev 442 drivers/iio/adc/hi8435.c struct iio_dev *idev = pf->indio_dev; iio_dev 466 drivers/iio/adc/hi8435.c struct iio_dev *idev; iio_dev 282 drivers/iio/adc/hx711.c static int hx711_read_raw(struct iio_dev *indio_dev, iio_dev 313 drivers/iio/adc/hx711.c static int hx711_write_raw(struct iio_dev *indio_dev, iio_dev 361 drivers/iio/adc/hx711.c static int hx711_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 371 drivers/iio/adc/hx711.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 476 drivers/iio/adc/hx711.c struct iio_dev *indio_dev; iio_dev 599 drivers/iio/adc/hx711.c struct iio_dev *indio_dev; iio_dev 282 drivers/iio/adc/imx7d_adc.c static int imx7d_adc_read_raw(struct iio_dev *indio_dev, iio_dev 392 drivers/iio/adc/imx7d_adc.c static int imx7d_adc_reg_access(struct iio_dev *indio_dev, iio_dev 430 drivers/iio/adc/imx7d_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 457 drivers/iio/adc/imx7d_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 476 drivers/iio/adc/imx7d_adc.c struct iio_dev *indio_dev; iio_dev 172 drivers/iio/adc/ina2xx-adc.c static int ina2xx_read_raw(struct iio_dev *indio_dev, iio_dev 444 drivers/iio/adc/ina2xx-adc.c static int ina2xx_read_avail(struct iio_dev *indio_dev, iio_dev 469 drivers/iio/adc/ina2xx-adc.c static int ina2xx_write_raw(struct iio_dev *indio_dev, iio_dev 705 drivers/iio/adc/ina2xx-adc.c static int ina2xx_conversion_ready(struct iio_dev *indio_dev) iio_dev 738 drivers/iio/adc/ina2xx-adc.c static int ina2xx_work_buffer(struct iio_dev *indio_dev) iio_dev 771 drivers/iio/adc/ina2xx-adc.c struct iio_dev *indio_dev = data; iio_dev 828 drivers/iio/adc/ina2xx-adc.c static int ina2xx_buffer_enable(struct iio_dev *indio_dev) iio_dev 855 drivers/iio/adc/ina2xx-adc.c static int ina2xx_buffer_disable(struct iio_dev *indio_dev) iio_dev 873 drivers/iio/adc/ina2xx-adc.c static int ina2xx_debug_reg(struct iio_dev *indio_dev, iio_dev 952 drivers/iio/adc/ina2xx-adc.c struct iio_dev *indio_dev; iio_dev 1043 drivers/iio/adc/ina2xx-adc.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 111 drivers/iio/adc/ingenic-adc.c static int ingenic_adc_write_raw(struct iio_dev *iio_dev, iio_dev 117 drivers/iio/adc/ingenic-adc.c struct ingenic_adc *adc = iio_priv(iio_dev); iio_dev 217 drivers/iio/adc/ingenic-adc.c static int ingenic_adc_read_avail(struct iio_dev *iio_dev, iio_dev 224 drivers/iio/adc/ingenic-adc.c struct ingenic_adc *adc = iio_priv(iio_dev); iio_dev 242 drivers/iio/adc/ingenic-adc.c static int ingenic_adc_read_raw(struct iio_dev *iio_dev, iio_dev 248 drivers/iio/adc/ingenic-adc.c struct ingenic_adc *adc = iio_priv(iio_dev); iio_dev 330 drivers/iio/adc/ingenic-adc.c struct iio_dev *iio_dev; iio_dev 340 drivers/iio/adc/ingenic-adc.c iio_dev = devm_iio_device_alloc(dev, sizeof(*adc)); iio_dev 341 drivers/iio/adc/ingenic-adc.c if (!iio_dev) iio_dev 344 drivers/iio/adc/ingenic-adc.c adc = iio_priv(iio_dev); iio_dev 385 drivers/iio/adc/ingenic-adc.c iio_dev->dev.parent = dev; iio_dev 386 drivers/iio/adc/ingenic-adc.c iio_dev->name = "jz-adc"; iio_dev 387 drivers/iio/adc/ingenic-adc.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 388 drivers/iio/adc/ingenic-adc.c iio_dev->channels = ingenic_channels; iio_dev 389 drivers/iio/adc/ingenic-adc.c iio_dev->num_channels = ARRAY_SIZE(ingenic_channels); iio_dev 390 drivers/iio/adc/ingenic-adc.c iio_dev->info = &ingenic_adc_info; iio_dev 392 drivers/iio/adc/ingenic-adc.c ret = devm_iio_device_register(dev, iio_dev); iio_dev 94 drivers/iio/adc/lp8788_adc.c static int lp8788_adc_read_raw(struct iio_dev *indio_dev, iio_dev 166 drivers/iio/adc/lp8788_adc.c static int lp8788_iio_map_register(struct iio_dev *indio_dev, iio_dev 189 drivers/iio/adc/lp8788_adc.c struct iio_dev *indio_dev; iio_dev 230 drivers/iio/adc/lp8788_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 88 drivers/iio/adc/lpc18xx_adc.c static int lpc18xx_adc_read_raw(struct iio_dev *indio_dev, iio_dev 120 drivers/iio/adc/lpc18xx_adc.c struct iio_dev *indio_dev; iio_dev 197 drivers/iio/adc/lpc18xx_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 55 drivers/iio/adc/lpc32xx_adc.c static int lpc32xx_read_raw(struct iio_dev *indio_dev, iio_dev 146 drivers/iio/adc/lpc32xx_adc.c struct iio_dev *iodev = NULL; iio_dev 45 drivers/iio/adc/ltc2471.c static int ltc2471_read_raw(struct iio_dev *indio_dev, iio_dev 105 drivers/iio/adc/ltc2471.c struct iio_dev *indio_dev; iio_dev 56 drivers/iio/adc/ltc2485.c static int ltc2485_read_raw(struct iio_dev *indio_dev, iio_dev 95 drivers/iio/adc/ltc2485.c struct iio_dev *indio_dev; iio_dev 98 drivers/iio/adc/ltc2497.c static int ltc2497_read_raw(struct iio_dev *indio_dev, iio_dev 193 drivers/iio/adc/ltc2497.c struct iio_dev *indio_dev; iio_dev 258 drivers/iio/adc/ltc2497.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 215 drivers/iio/adc/max1027.c static int max1027_read_single_value(struct iio_dev *indio_dev, iio_dev 265 drivers/iio/adc/max1027.c static int max1027_read_raw(struct iio_dev *indio_dev, iio_dev 305 drivers/iio/adc/max1027.c static int max1027_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 319 drivers/iio/adc/max1027.c static int max1027_validate_trigger(struct iio_dev *indio_dev, iio_dev 332 drivers/iio/adc/max1027.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 365 drivers/iio/adc/max1027.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 394 drivers/iio/adc/max1027.c struct iio_dev *indio_dev; iio_dev 48 drivers/iio/adc/max11100.c static int max11100_read_single(struct iio_dev *indio_dev, int *val) iio_dev 70 drivers/iio/adc/max11100.c static int max11100_read_raw(struct iio_dev *indio_dev, iio_dev 106 drivers/iio/adc/max11100.c struct iio_dev *indio_dev; iio_dev 148 drivers/iio/adc/max11100.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 65 drivers/iio/adc/max1118.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 106 drivers/iio/adc/max1118.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 126 drivers/iio/adc/max1118.c static int max1118_read_raw(struct iio_dev *indio_dev, iio_dev 160 drivers/iio/adc/max1118.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 195 drivers/iio/adc/max1118.c struct iio_dev *indio_dev; iio_dev 258 drivers/iio/adc/max1118.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 356 drivers/iio/adc/max1363.c static int max1363_read_single_chan(struct iio_dev *indio_dev, iio_dev 413 drivers/iio/adc/max1363.c static int max1363_read_raw(struct iio_dev *indio_dev, iio_dev 691 drivers/iio/adc/max1363.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 722 drivers/iio/adc/max1363.c static int max1363_read_thresh(struct iio_dev *indio_dev, iio_dev 735 drivers/iio/adc/max1363.c static int max1363_write_thresh(struct iio_dev *indio_dev, iio_dev 788 drivers/iio/adc/max1363.c struct iio_dev *indio_dev = private; iio_dev 805 drivers/iio/adc/max1363.c static int max1363_read_event_config(struct iio_dev *indio_dev, iio_dev 956 drivers/iio/adc/max1363.c static int max1363_write_event_config(struct iio_dev *indio_dev, iio_dev 1011 drivers/iio/adc/max1363.c static int max1363_update_scan_mode(struct iio_dev *indio_dev, iio_dev 1446 drivers/iio/adc/max1363.c static int max1363_alloc_scan_masks(struct iio_dev *indio_dev) iio_dev 1473 drivers/iio/adc/max1363.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1575 drivers/iio/adc/max1363.c struct iio_dev *indio_dev; iio_dev 1689 drivers/iio/adc/max1363.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 301 drivers/iio/adc/max9611.c static int max9611_read_raw(struct iio_dev *indio_dev, iio_dev 534 drivers/iio/adc/max9611.c struct iio_dev *indio_dev; iio_dev 193 drivers/iio/adc/mcp320x.c static int mcp320x_read_raw(struct iio_dev *indio_dev, iio_dev 375 drivers/iio/adc/mcp320x.c struct iio_dev *indio_dev; iio_dev 464 drivers/iio/adc/mcp320x.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 155 drivers/iio/adc/mcp3422.c static int mcp3422_read_raw(struct iio_dev *iio, iio_dev 189 drivers/iio/adc/mcp3422.c static int mcp3422_write_raw(struct iio_dev *iio, iio_dev 253 drivers/iio/adc/mcp3422.c static int mcp3422_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 331 drivers/iio/adc/mcp3422.c struct iio_dev *indio_dev; iio_dev 99 drivers/iio/adc/mcp3911.c static int mcp3911_read_raw(struct iio_dev *indio_dev, iio_dev 151 drivers/iio/adc/mcp3911.c static int mcp3911_write_raw(struct iio_dev *indio_dev, iio_dev 244 drivers/iio/adc/mcp3911.c struct iio_dev *indio_dev; iio_dev 325 drivers/iio/adc/mcp3911.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 47 drivers/iio/adc/men_z188_adc.c static int z188_iio_read_raw(struct iio_dev *iio_dev, iio_dev 53 drivers/iio/adc/men_z188_adc.c struct z188_adc *adc = iio_priv(iio_dev); iio_dev 62 drivers/iio/adc/men_z188_adc.c dev_info(&iio_dev->dev, iio_dev 104 drivers/iio/adc/men_z188_adc.c struct iio_dev *indio_dev; iio_dev 141 drivers/iio/adc/men_z188_adc.c struct iio_dev *indio_dev = mcb_get_drvdata(dev); iio_dev 301 drivers/iio/adc/meson_saradc.c static unsigned int meson_sar_adc_get_fifo_count(struct iio_dev *indio_dev) iio_dev 311 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_calib_val(struct iio_dev *indio_dev, int val) iio_dev 322 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_wait_busy_clear(struct iio_dev *indio_dev) iio_dev 343 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_read_raw_sample(struct iio_dev *indio_dev, iio_dev 377 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_set_averaging(struct iio_dev *indio_dev, iio_dev 395 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_enable_channel(struct iio_dev *indio_dev, iio_dev 440 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_set_chan7_mux(struct iio_dev *indio_dev, iio_dev 453 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_start_sample_engine(struct iio_dev *indio_dev) iio_dev 472 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_stop_sample_engine(struct iio_dev *indio_dev) iio_dev 490 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_lock(struct iio_dev *indio_dev) iio_dev 521 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_unlock(struct iio_dev *indio_dev) iio_dev 533 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_clear_fifo(struct iio_dev *indio_dev) iio_dev 546 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_get_sample(struct iio_dev *indio_dev, iio_dev 585 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_iio_info_read_raw(struct iio_dev *indio_dev, iio_dev 651 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_clk_init(struct iio_dev *indio_dev, iio_dev 702 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_temp_sensor_init(struct iio_dev *indio_dev) iio_dev 770 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_init(struct iio_dev *indio_dev) iio_dev 912 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_set_bandgap(struct iio_dev *indio_dev, bool on_off) iio_dev 927 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_hw_enable(struct iio_dev *indio_dev) iio_dev 985 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_hw_disable(struct iio_dev *indio_dev) iio_dev 1012 drivers/iio/adc/meson_saradc.c struct iio_dev *indio_dev = data; iio_dev 1029 drivers/iio/adc/meson_saradc.c static int meson_sar_adc_calib(struct iio_dev *indio_dev) iio_dev 1189 drivers/iio/adc/meson_saradc.c struct iio_dev *indio_dev; iio_dev 1327 drivers/iio/adc/meson_saradc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 1336 drivers/iio/adc/meson_saradc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1343 drivers/iio/adc/meson_saradc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 101 drivers/iio/adc/mt6577_auxadc.c static int mt6577_auxadc_read(struct iio_dev *indio_dev, iio_dev 175 drivers/iio/adc/mt6577_auxadc.c static int mt6577_auxadc_read_raw(struct iio_dev *indio_dev, iio_dev 207 drivers/iio/adc/mt6577_auxadc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 226 drivers/iio/adc/mt6577_auxadc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 241 drivers/iio/adc/mt6577_auxadc.c struct iio_dev *indio_dev; iio_dev 308 drivers/iio/adc/mt6577_auxadc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 130 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_read_single(struct iio_dev *iio_dev, int chan, iio_dev 133 drivers/iio/adc/mxs-lradc-adc.c struct mxs_lradc_adc *adc = iio_priv(iio_dev); iio_dev 143 drivers/iio/adc/mxs-lradc-adc.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 194 drivers/iio/adc/mxs-lradc-adc.c iio_device_release_direct_mode(iio_dev); iio_dev 199 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_read_temp(struct iio_dev *iio_dev, int *val) iio_dev 203 drivers/iio/adc/mxs-lradc-adc.c ret = mxs_lradc_adc_read_single(iio_dev, 8, &min); iio_dev 207 drivers/iio/adc/mxs-lradc-adc.c ret = mxs_lradc_adc_read_single(iio_dev, 9, &max); iio_dev 216 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_read_raw(struct iio_dev *iio_dev, iio_dev 220 drivers/iio/adc/mxs-lradc-adc.c struct mxs_lradc_adc *adc = iio_priv(iio_dev); iio_dev 225 drivers/iio/adc/mxs-lradc-adc.c return mxs_lradc_adc_read_temp(iio_dev, val); iio_dev 227 drivers/iio/adc/mxs-lradc-adc.c return mxs_lradc_adc_read_single(iio_dev, chan->channel, val); iio_dev 268 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_write_raw(struct iio_dev *iio_dev, iio_dev 272 drivers/iio/adc/mxs-lradc-adc.c struct mxs_lradc_adc *adc = iio_priv(iio_dev); iio_dev 277 drivers/iio/adc/mxs-lradc-adc.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 302 drivers/iio/adc/mxs-lradc-adc.c iio_device_release_direct_mode(iio_dev); iio_dev 307 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_write_raw_get_fmt(struct iio_dev *iio_dev, iio_dev 318 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio = dev_to_iio_dev(dev); iio_dev 385 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio = data; iio_dev 415 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio = pf->indio_dev; iio_dev 438 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio = iio_trigger_get_drvdata(trig); iio_dev 451 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_trigger_init(struct iio_dev *iio) iio_dev 475 drivers/iio/adc/mxs-lradc-adc.c static void mxs_lradc_adc_trigger_remove(struct iio_dev *iio) iio_dev 482 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_buffer_preenable(struct iio_dev *iio) iio_dev 520 drivers/iio/adc/mxs-lradc-adc.c static int mxs_lradc_adc_buffer_postdisable(struct iio_dev *iio) iio_dev 537 drivers/iio/adc/mxs-lradc-adc.c static bool mxs_lradc_adc_validate_scan_mask(struct iio_dev *iio, iio_dev 694 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio; iio_dev 814 drivers/iio/adc/mxs-lradc-adc.c struct iio_dev *iio = platform_get_drvdata(pdev); iio_dev 177 drivers/iio/adc/nau7802.c struct iio_dev *indio_dev = private; iio_dev 204 drivers/iio/adc/nau7802.c static int nau7802_read_irq(struct iio_dev *indio_dev, iio_dev 242 drivers/iio/adc/nau7802.c static int nau7802_read_poll(struct iio_dev *indio_dev, iio_dev 289 drivers/iio/adc/nau7802.c static int nau7802_read_raw(struct iio_dev *indio_dev, iio_dev 359 drivers/iio/adc/nau7802.c static int nau7802_write_raw(struct iio_dev *indio_dev, iio_dev 396 drivers/iio/adc/nau7802.c static int nau7802_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 413 drivers/iio/adc/nau7802.c struct iio_dev *indio_dev; iio_dev 561 drivers/iio/adc/nau7802.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 80 drivers/iio/adc/npcm_adc.c struct iio_dev *indio_dev = data; iio_dev 133 drivers/iio/adc/npcm_adc.c static int npcm_adc_read_raw(struct iio_dev *indio_dev, iio_dev 188 drivers/iio/adc/npcm_adc.c struct iio_dev *indio_dev; iio_dev 306 drivers/iio/adc/npcm_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 382 drivers/iio/adc/palmas_gpadc.c static int palmas_gpadc_read_raw(struct iio_dev *indio_dev, iio_dev 494 drivers/iio/adc/palmas_gpadc.c struct iio_dev *indio_dev; iio_dev 633 drivers/iio/adc/palmas_gpadc.c struct iio_dev *indio_dev = dev_to_iio_dev(&pdev->dev); iio_dev 774 drivers/iio/adc/palmas_gpadc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 797 drivers/iio/adc/palmas_gpadc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 416 drivers/iio/adc/qcom-pm8xxx-xoadc.c struct iio_dev *indio_dev = d; iio_dev 647 drivers/iio/adc/qcom-pm8xxx-xoadc.c static int pm8xxx_read_raw(struct iio_dev *indio_dev, iio_dev 695 drivers/iio/adc/qcom-pm8xxx-xoadc.c static int pm8xxx_of_xlate(struct iio_dev *indio_dev, iio_dev 885 drivers/iio/adc/qcom-pm8xxx-xoadc.c struct iio_dev *indio_dev; iio_dev 966 drivers/iio/adc/qcom-pm8xxx-xoadc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 367 drivers/iio/adc/qcom-spmi-adc5.c static int adc5_of_xlate(struct iio_dev *indio_dev, iio_dev 380 drivers/iio/adc/qcom-spmi-adc5.c static int adc5_read_raw(struct iio_dev *indio_dev, iio_dev 733 drivers/iio/adc/qcom-spmi-adc5.c struct iio_dev *indio_dev; iio_dev 310 drivers/iio/adc/qcom-spmi-iadc.c static int iadc_read_raw(struct iio_dev *indio_dev, iio_dev 489 drivers/iio/adc/qcom-spmi-iadc.c struct iio_dev *indio_dev; iio_dev 444 drivers/iio/adc/qcom-spmi-vadc.c static int vadc_read_raw(struct iio_dev *indio_dev, iio_dev 485 drivers/iio/adc/qcom-spmi-vadc.c static int vadc_of_xlate(struct iio_dev *indio_dev, iio_dev 854 drivers/iio/adc/qcom-spmi-vadc.c struct iio_dev *indio_dev; iio_dev 179 drivers/iio/adc/rcar-gyroadc.c static int rcar_gyroadc_read_raw(struct iio_dev *indio_dev, iio_dev 245 drivers/iio/adc/rcar-gyroadc.c static int rcar_gyroadc_reg_access(struct iio_dev *indio_dev, iio_dev 319 drivers/iio/adc/rcar-gyroadc.c static int rcar_gyroadc_parse_subdevs(struct iio_dev *indio_dev) iio_dev 440 drivers/iio/adc/rcar-gyroadc.c static void rcar_gyroadc_deinit_supplies(struct iio_dev *indio_dev) iio_dev 453 drivers/iio/adc/rcar-gyroadc.c static int rcar_gyroadc_init_supplies(struct iio_dev *indio_dev) iio_dev 483 drivers/iio/adc/rcar-gyroadc.c struct iio_dev *indio_dev; iio_dev 564 drivers/iio/adc/rcar-gyroadc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 583 drivers/iio/adc/rcar-gyroadc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 593 drivers/iio/adc/rcar-gyroadc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 54 drivers/iio/adc/rockchip_saradc.c static int rockchip_saradc_read_raw(struct iio_dev *indio_dev, iio_dev 200 drivers/iio/adc/rockchip_saradc.c struct iio_dev *indio_dev = NULL; iio_dev 335 drivers/iio/adc/rockchip_saradc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 349 drivers/iio/adc/rockchip_saradc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 361 drivers/iio/adc/rockchip_saradc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 326 drivers/iio/adc/sc27xx_adc.c static int sc27xx_adc_read_raw(struct iio_dev *indio_dev, iio_dev 367 drivers/iio/adc/sc27xx_adc.c static int sc27xx_adc_write_raw(struct iio_dev *indio_dev, iio_dev 492 drivers/iio/adc/sc27xx_adc.c struct iio_dev *indio_dev; iio_dev 29 drivers/iio/adc/sd_adc_modulator.c struct iio_dev *iio; iio_dev 138 drivers/iio/adc/spear_adc.c static int spear_adc_read_raw(struct iio_dev *indio_dev, iio_dev 178 drivers/iio/adc/spear_adc.c static int spear_adc_write_raw(struct iio_dev *indio_dev, iio_dev 264 drivers/iio/adc/spear_adc.c struct iio_dev *indio_dev = NULL; iio_dev 362 drivers/iio/adc/spear_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 620 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 637 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 675 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 698 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 718 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 762 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 835 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 951 drivers/iio/adc/stm32-adc.c static int stm32_adc_conf_scan_seq(struct iio_dev *indio_dev, iio_dev 1001 drivers/iio/adc/stm32-adc.c static int stm32_adc_get_trig_extsel(struct iio_dev *indio_dev, iio_dev 1032 drivers/iio/adc/stm32-adc.c static int stm32_adc_set_trig(struct iio_dev *indio_dev, iio_dev 1061 drivers/iio/adc/stm32-adc.c static int stm32_adc_set_trig_pol(struct iio_dev *indio_dev, iio_dev 1072 drivers/iio/adc/stm32-adc.c static int stm32_adc_get_trig_pol(struct iio_dev *indio_dev, iio_dev 1103 drivers/iio/adc/stm32-adc.c static int stm32_adc_single_conv(struct iio_dev *indio_dev, iio_dev 1165 drivers/iio/adc/stm32-adc.c static int stm32_adc_read_raw(struct iio_dev *indio_dev, iio_dev 1210 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 1240 drivers/iio/adc/stm32-adc.c static int stm32_adc_validate_trigger(struct iio_dev *indio_dev, iio_dev 1246 drivers/iio/adc/stm32-adc.c static int stm32_adc_set_watermark(struct iio_dev *indio_dev, unsigned int val) iio_dev 1264 drivers/iio/adc/stm32-adc.c static int stm32_adc_update_scan_mode(struct iio_dev *indio_dev, iio_dev 1286 drivers/iio/adc/stm32-adc.c static int stm32_adc_of_xlate(struct iio_dev *indio_dev, iio_dev 1308 drivers/iio/adc/stm32-adc.c static int stm32_adc_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 1369 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = data; iio_dev 1396 drivers/iio/adc/stm32-adc.c static int stm32_adc_dma_start(struct iio_dev *indio_dev) iio_dev 1434 drivers/iio/adc/stm32-adc.c static int __stm32_adc_buffer_postenable(struct iio_dev *indio_dev) iio_dev 1477 drivers/iio/adc/stm32-adc.c static int stm32_adc_buffer_postenable(struct iio_dev *indio_dev) iio_dev 1492 drivers/iio/adc/stm32-adc.c static void __stm32_adc_buffer_predisable(struct iio_dev *indio_dev) iio_dev 1511 drivers/iio/adc/stm32-adc.c static int stm32_adc_buffer_predisable(struct iio_dev *indio_dev) iio_dev 1532 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1577 drivers/iio/adc/stm32-adc.c static int stm32_adc_of_get_resolution(struct iio_dev *indio_dev) iio_dev 1619 drivers/iio/adc/stm32-adc.c static void stm32_adc_chan_init_one(struct iio_dev *indio_dev, iio_dev 1656 drivers/iio/adc/stm32-adc.c static int stm32_adc_chan_of_init(struct iio_dev *indio_dev) iio_dev 1760 drivers/iio/adc/stm32-adc.c static int stm32_adc_dma_request(struct device *dev, struct iio_dev *indio_dev) iio_dev 1813 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev; iio_dev 1937 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 1960 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 1971 drivers/iio/adc/stm32-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 65 drivers/iio/adc/stm32-dfsdm-adc.c int (*init)(struct device *dev, struct iio_dev *indio_dev); iio_dev 170 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_get_jextsel(struct iio_dev *indio_dev, iio_dev 311 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_compute_all_osrs(struct iio_dev *indio_dev, iio_dev 335 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 355 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 425 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 454 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 498 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 595 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev, iio_dev 665 drivers/iio/adc/stm32-dfsdm-adc.c static ssize_t dfsdm_adc_audio_get_spiclk(struct iio_dev *indio_dev, iio_dev 675 drivers/iio/adc/stm32-dfsdm-adc.c static int dfsdm_adc_set_samp_freq(struct iio_dev *indio_dev, iio_dev 699 drivers/iio/adc/stm32-dfsdm-adc.c static ssize_t dfsdm_adc_audio_set_spiclk(struct iio_dev *indio_dev, iio_dev 777 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_set_watermark(struct iio_dev *indio_dev, iio_dev 847 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = data; iio_dev 896 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_adc_dma_start(struct iio_dev *indio_dev) iio_dev 971 drivers/iio/adc/stm32-dfsdm-adc.c static void stm32_dfsdm_adc_dma_stop(struct iio_dev *indio_dev) iio_dev 983 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_update_scan_mode(struct iio_dev *indio_dev, iio_dev 996 drivers/iio/adc/stm32-dfsdm-adc.c static int __stm32_dfsdm_postenable(struct iio_dev *indio_dev) iio_dev 1039 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_postenable(struct iio_dev *indio_dev) iio_dev 1062 drivers/iio/adc/stm32-dfsdm-adc.c static void __stm32_dfsdm_predisable(struct iio_dev *indio_dev) iio_dev 1076 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_predisable(struct iio_dev *indio_dev) iio_dev 1102 drivers/iio/adc/stm32-dfsdm-adc.c int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev, iio_dev 1109 drivers/iio/adc/stm32-dfsdm-adc.c if (!iio_dev) iio_dev 1111 drivers/iio/adc/stm32-dfsdm-adc.c adc = iio_priv(iio_dev); iio_dev 1125 drivers/iio/adc/stm32-dfsdm-adc.c int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev) iio_dev 1129 drivers/iio/adc/stm32-dfsdm-adc.c if (!iio_dev) iio_dev 1131 drivers/iio/adc/stm32-dfsdm-adc.c adc = iio_priv(iio_dev); iio_dev 1140 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_single_conv(struct iio_dev *indio_dev, iio_dev 1193 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_write_raw(struct iio_dev *indio_dev, iio_dev 1241 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_read_raw(struct iio_dev *indio_dev, iio_dev 1287 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_validate_trigger(struct iio_dev *indio_dev, iio_dev 1311 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 1350 drivers/iio/adc/stm32-dfsdm-adc.c static void stm32_dfsdm_dma_release(struct iio_dev *indio_dev) iio_dev 1363 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev) iio_dev 1389 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_adc_chan_init_one(struct iio_dev *indio_dev, iio_dev 1423 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_audio_init(struct device *dev, struct iio_dev *indio_dev) iio_dev 1453 drivers/iio/adc/stm32-dfsdm-adc.c static int stm32_dfsdm_adc_init(struct device *dev, struct iio_dev *indio_dev) iio_dev 1554 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *iio; iio_dev 1649 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 1662 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 1673 drivers/iio/adc/stm32-dfsdm-adc.c struct iio_dev *indio_dev = iio_priv_to_dev(adc); iio_dev 133 drivers/iio/adc/stmpe-adc.c static int stmpe_read_raw(struct iio_dev *indio_dev, iio_dev 255 drivers/iio/adc/stmpe-adc.c struct iio_dev *indio_dev; iio_dev 338 drivers/iio/adc/stmpe-adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 71 drivers/iio/adc/stx104.c static int stx104_read_raw(struct iio_dev *indio_dev, iio_dev 123 drivers/iio/adc/stx104.c static int stx104_write_raw(struct iio_dev *indio_dev, iio_dev 289 drivers/iio/adc/stx104.c struct iio_dev *indio_dev; iio_dev 92 drivers/iio/adc/sun4i-gpadc-iio.c struct iio_dev *indio_dev; iio_dev 164 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_prepare_for_irq(struct iio_dev *indio_dev, int channel, iio_dev 220 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_read(struct iio_dev *indio_dev, int channel, int *val, iio_dev 262 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_adc_read(struct iio_dev *indio_dev, int channel, iio_dev 270 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_temp_read(struct iio_dev *indio_dev, int *val) iio_dev 288 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_temp_offset(struct iio_dev *indio_dev, int *val) iio_dev 297 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_temp_scale(struct iio_dev *indio_dev, int *val) iio_dev 306 drivers/iio/adc/sun4i-gpadc-iio.c static int sun4i_gpadc_read_raw(struct iio_dev *indio_dev, iio_dev 496 drivers/iio/adc/sun4i-gpadc-iio.c struct iio_dev *indio_dev) iio_dev 531 drivers/iio/adc/sun4i-gpadc-iio.c struct iio_dev *indio_dev) iio_dev 610 drivers/iio/adc/sun4i-gpadc-iio.c struct iio_dev *indio_dev; iio_dev 679 drivers/iio/adc/sun4i-gpadc-iio.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 40 drivers/iio/adc/ti-adc081c.c static int adc081c_read_raw(struct iio_dev *iio, iio_dev 129 drivers/iio/adc/ti-adc081c.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 148 drivers/iio/adc/ti-adc081c.c struct iio_dev *iio; iio_dev 217 drivers/iio/adc/ti-adc081c.c struct iio_dev *iio = i2c_get_clientdata(client); iio_dev 162 drivers/iio/adc/ti-adc0832.c static int adc0832_read_raw(struct iio_dev *iio, iio_dev 200 drivers/iio/adc/ti-adc0832.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 235 drivers/iio/adc/ti-adc0832.c struct iio_dev *indio_dev; iio_dev 308 drivers/iio/adc/ti-adc0832.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 84 drivers/iio/adc/ti-adc084s021.c static int adc084s021_read_raw(struct iio_dev *indio_dev, iio_dev 141 drivers/iio/adc/ti-adc084s021.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 158 drivers/iio/adc/ti-adc084s021.c static int adc084s021_buffer_preenable(struct iio_dev *indio_dev) iio_dev 175 drivers/iio/adc/ti-adc084s021.c static int adc084s021_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 197 drivers/iio/adc/ti-adc084s021.c struct iio_dev *indio_dev; iio_dev 112 drivers/iio/adc/ti-adc108s102.c static int adc108s102_update_scan_mode(struct iio_dev *indio_dev, iio_dev 142 drivers/iio/adc/ti-adc108s102.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 174 drivers/iio/adc/ti-adc108s102.c static int adc108s102_read_raw(struct iio_dev *indio_dev, iio_dev 220 drivers/iio/adc/ti-adc108s102.c struct iio_dev *indio_dev; iio_dev 292 drivers/iio/adc/ti-adc108s102.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 220 drivers/iio/adc/ti-adc12138.c static int adc12138_read_raw(struct iio_dev *iio, iio_dev 330 drivers/iio/adc/ti-adc12138.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 385 drivers/iio/adc/ti-adc12138.c struct iio_dev *indio_dev = p; iio_dev 395 drivers/iio/adc/ti-adc12138.c struct iio_dev *indio_dev; iio_dev 502 drivers/iio/adc/ti-adc12138.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 59 drivers/iio/adc/ti-adc128s052.c static int adc128_read_raw(struct iio_dev *indio_dev, iio_dev 136 drivers/iio/adc/ti-adc128s052.c struct iio_dev *indio_dev; iio_dev 181 drivers/iio/adc/ti-adc128s052.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 66 drivers/iio/adc/ti-adc161s626.c struct iio_dev *indio_dev; iio_dev 114 drivers/iio/adc/ti-adc161s626.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 130 drivers/iio/adc/ti-adc161s626.c static int ti_adc_read_raw(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/adc/ti-adc161s626.c struct iio_dev *indio_dev; iio_dev 235 drivers/iio/adc/ti-adc161s626.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 379 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 439 drivers/iio/adc/ti-ads1015.c static int ads1015_read_raw(struct iio_dev *indio_dev, iio_dev 502 drivers/iio/adc/ti-ads1015.c static int ads1015_write_raw(struct iio_dev *indio_dev, iio_dev 526 drivers/iio/adc/ti-ads1015.c static int ads1015_read_event(struct iio_dev *indio_dev, iio_dev 566 drivers/iio/adc/ti-ads1015.c static int ads1015_write_event(struct iio_dev *indio_dev, iio_dev 612 drivers/iio/adc/ti-ads1015.c static int ads1015_read_event_config(struct iio_dev *indio_dev, iio_dev 711 drivers/iio/adc/ti-ads1015.c static int ads1015_write_event_config(struct iio_dev *indio_dev, iio_dev 742 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = priv; iio_dev 766 drivers/iio/adc/ti-ads1015.c static int ads1015_buffer_preenable(struct iio_dev *indio_dev) iio_dev 777 drivers/iio/adc/ti-ads1015.c static int ads1015_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 843 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 904 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 936 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev; iio_dev 1063 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1079 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1087 drivers/iio/adc/ti-ads1015.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 152 drivers/iio/adc/ti-ads124s08.c static int ads124s_write_cmd(struct iio_dev *indio_dev, u8 command) iio_dev 161 drivers/iio/adc/ti-ads124s08.c static int ads124s_write_reg(struct iio_dev *indio_dev, u8 reg, u8 data) iio_dev 172 drivers/iio/adc/ti-ads124s08.c static int ads124s_reset(struct iio_dev *indio_dev) iio_dev 187 drivers/iio/adc/ti-ads124s08.c static int ads124s_read(struct iio_dev *indio_dev, unsigned int chan) iio_dev 216 drivers/iio/adc/ti-ads124s08.c static int ads124s_read_raw(struct iio_dev *indio_dev, iio_dev 271 drivers/iio/adc/ti-ads124s08.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 307 drivers/iio/adc/ti-ads124s08.c struct iio_dev *indio_dev; iio_dev 283 drivers/iio/adc/ti-ads7950.c static int ti_ads7950_update_scan_mode(struct iio_dev *indio_dev, iio_dev 307 drivers/iio/adc/ti-ads7950.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 326 drivers/iio/adc/ti-ads7950.c static int ti_ads7950_scan_direct(struct iio_dev *indio_dev, unsigned int ch) iio_dev 367 drivers/iio/adc/ti-ads7950.c static int ti_ads7950_read_raw(struct iio_dev *indio_dev, iio_dev 535 drivers/iio/adc/ti-ads7950.c struct iio_dev *indio_dev; iio_dev 669 drivers/iio/adc/ti-ads7950.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 101 drivers/iio/adc/ti-ads8344.c static int ads8344_read_raw(struct iio_dev *iio, iio_dev 138 drivers/iio/adc/ti-ads8344.c struct iio_dev *indio_dev; iio_dev 179 drivers/iio/adc/ti-ads8344.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 186 drivers/iio/adc/ti-ads8688.c static int ads8688_prog_write(struct iio_dev *indio_dev, unsigned int addr, iio_dev 199 drivers/iio/adc/ti-ads8688.c static int ads8688_reset(struct iio_dev *indio_dev) iio_dev 211 drivers/iio/adc/ti-ads8688.c static int ads8688_read(struct iio_dev *indio_dev, unsigned int chan) iio_dev 243 drivers/iio/adc/ti-ads8688.c static int ads8688_read_raw(struct iio_dev *indio_dev, iio_dev 279 drivers/iio/adc/ti-ads8688.c static int ads8688_write_reg_range(struct iio_dev *indio_dev, iio_dev 292 drivers/iio/adc/ti-ads8688.c static int ads8688_write_raw(struct iio_dev *indio_dev, iio_dev 361 drivers/iio/adc/ti-ads8688.c static int ads8688_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 385 drivers/iio/adc/ti-ads8688.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 418 drivers/iio/adc/ti-ads8688.c struct iio_dev *indio_dev; iio_dev 487 drivers/iio/adc/ti-ads8688.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 93 drivers/iio/adc/ti-tlc4541.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 122 drivers/iio/adc/ti-tlc4541.c static int tlc4541_read_raw(struct iio_dev *indio_dev, iio_dev 162 drivers/iio/adc/ti-tlc4541.c struct iio_dev *indio_dev; iio_dev 228 drivers/iio/adc/ti-tlc4541.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 105 drivers/iio/adc/ti_am335x_adc.c static void tiadc_step_config(struct iio_dev *indio_dev) iio_dev 173 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = private; iio_dev 213 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = private; iio_dev 235 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = param; iio_dev 250 drivers/iio/adc/ti_am335x_adc.c static int tiadc_start_dma(struct iio_dev *indio_dev) iio_dev 294 drivers/iio/adc/ti_am335x_adc.c static int tiadc_buffer_preenable(struct iio_dev *indio_dev) iio_dev 311 drivers/iio/adc/ti_am335x_adc.c static int tiadc_buffer_postenable(struct iio_dev *indio_dev) iio_dev 342 drivers/iio/adc/ti_am335x_adc.c static int tiadc_buffer_predisable(struct iio_dev *indio_dev) iio_dev 366 drivers/iio/adc/ti_am335x_adc.c static int tiadc_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 380 drivers/iio/adc/ti_am335x_adc.c static int tiadc_iio_buffered_hardware_setup(struct iio_dev *indio_dev, iio_dev 411 drivers/iio/adc/ti_am335x_adc.c static void tiadc_iio_buffered_hardware_remove(struct iio_dev *indio_dev) iio_dev 431 drivers/iio/adc/ti_am335x_adc.c static int tiadc_channel_init(struct iio_dev *indio_dev, int channels) iio_dev 462 drivers/iio/adc/ti_am335x_adc.c static void tiadc_channels_remove(struct iio_dev *indio_dev) iio_dev 467 drivers/iio/adc/ti_am335x_adc.c static int tiadc_read_raw(struct iio_dev *indio_dev, iio_dev 609 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev; iio_dev 675 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 697 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 711 drivers/iio/adc/ti_am335x_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 174 drivers/iio/adc/twl4030-madc.c static int twl4030_madc_read(struct iio_dev *iio_dev, iio_dev 178 drivers/iio/adc/twl4030-madc.c struct twl4030_madc_data *madc = iio_priv(iio_dev); iio_dev 758 drivers/iio/adc/twl4030-madc.c struct iio_dev *iio_dev = NULL; iio_dev 765 drivers/iio/adc/twl4030-madc.c iio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*madc)); iio_dev 766 drivers/iio/adc/twl4030-madc.c if (!iio_dev) { iio_dev 771 drivers/iio/adc/twl4030-madc.c madc = iio_priv(iio_dev); iio_dev 774 drivers/iio/adc/twl4030-madc.c iio_dev->name = dev_name(&pdev->dev); iio_dev 775 drivers/iio/adc/twl4030-madc.c iio_dev->dev.parent = &pdev->dev; iio_dev 776 drivers/iio/adc/twl4030-madc.c iio_dev->dev.of_node = pdev->dev.of_node; iio_dev 777 drivers/iio/adc/twl4030-madc.c iio_dev->info = &twl4030_madc_iio_info; iio_dev 778 drivers/iio/adc/twl4030-madc.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 779 drivers/iio/adc/twl4030-madc.c iio_dev->channels = twl4030_madc_iio_channels; iio_dev 780 drivers/iio/adc/twl4030-madc.c iio_dev->num_channels = ARRAY_SIZE(twl4030_madc_iio_channels); iio_dev 842 drivers/iio/adc/twl4030-madc.c platform_set_drvdata(pdev, iio_dev); iio_dev 886 drivers/iio/adc/twl4030-madc.c ret = iio_device_register(iio_dev); iio_dev 905 drivers/iio/adc/twl4030-madc.c struct iio_dev *iio_dev = platform_get_drvdata(pdev); iio_dev 906 drivers/iio/adc/twl4030-madc.c struct twl4030_madc_data *madc = iio_priv(iio_dev); iio_dev 908 drivers/iio/adc/twl4030-madc.c iio_device_unregister(iio_dev); iio_dev 503 drivers/iio/adc/twl6030-gpadc.c static int twl6030_gpadc_read_raw(struct iio_dev *indio_dev, iio_dev 871 drivers/iio/adc/twl6030-gpadc.c struct iio_dev *indio_dev; iio_dev 940 drivers/iio/adc/twl6030-gpadc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 461 drivers/iio/adc/vf610_adc.c static int vf610_set_conversion_mode(struct iio_dev *indio_dev, iio_dev 476 drivers/iio/adc/vf610_adc.c static int vf610_get_conversion_mode(struct iio_dev *indio_dev, iio_dev 574 drivers/iio/adc/vf610_adc.c struct iio_dev *indio_dev = dev_id; iio_dev 622 drivers/iio/adc/vf610_adc.c static int vf610_read_raw(struct iio_dev *indio_dev, iio_dev 695 drivers/iio/adc/vf610_adc.c static int vf610_write_raw(struct iio_dev *indio_dev, iio_dev 723 drivers/iio/adc/vf610_adc.c static int vf610_adc_buffer_postenable(struct iio_dev *indio_dev) iio_dev 749 drivers/iio/adc/vf610_adc.c static int vf610_adc_buffer_predisable(struct iio_dev *indio_dev) iio_dev 773 drivers/iio/adc/vf610_adc.c static int vf610_adc_reg_access(struct iio_dev *indio_dev, iio_dev 804 drivers/iio/adc/vf610_adc.c struct iio_dev *indio_dev; iio_dev 909 drivers/iio/adc/vf610_adc.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 923 drivers/iio/adc/vf610_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 940 drivers/iio/adc/vf610_adc.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 49 drivers/iio/adc/viperboard_adc.c static int vprbrd_iio_read_raw(struct iio_dev *iio_dev, iio_dev 56 drivers/iio/adc/viperboard_adc.c struct vprbrd_adc *adc = iio_priv(iio_dev); iio_dev 73 drivers/iio/adc/viperboard_adc.c dev_err(&iio_dev->dev, "usb send error on adc read\n"); iio_dev 87 drivers/iio/adc/viperboard_adc.c dev_err(&iio_dev->dev, "usb recv error on adc read\n"); iio_dev 111 drivers/iio/adc/viperboard_adc.c struct iio_dev *indio_dev; iio_dev 290 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev = devid; iio_dev 337 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev, int irq) iio_dev 472 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev, int irq) iio_dev 484 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev = devid; iio_dev 584 drivers/iio/adc/xilinx-xadc-core.c static int xadc_update_scan_mode(struct iio_dev *indio_dev, iio_dev 631 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 705 drivers/iio/adc/xilinx-xadc-core.c static struct iio_trigger *xadc_alloc_trigger(struct iio_dev *indio_dev, iio_dev 764 drivers/iio/adc/xilinx-xadc-core.c static int xadc_postdisable(struct iio_dev *indio_dev) iio_dev 792 drivers/iio/adc/xilinx-xadc-core.c static int xadc_preenable(struct iio_dev *indio_dev) iio_dev 864 drivers/iio/adc/xilinx-xadc-core.c static int xadc_read_raw(struct iio_dev *indio_dev, iio_dev 968 drivers/iio/adc/xilinx-xadc-core.c static int xadc_write_raw(struct iio_dev *indio_dev, iio_dev 1094 drivers/iio/adc/xilinx-xadc-core.c static int xadc_parse_dt(struct iio_dev *indio_dev, struct device_node *np, iio_dev 1189 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev; iio_dev 1367 drivers/iio/adc/xilinx-xadc-core.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 16 drivers/iio/adc/xilinx-xadc-events.c struct iio_dev *indio_dev, unsigned int event) iio_dev 30 drivers/iio/adc/xilinx-xadc-events.c static void xadc_handle_event(struct iio_dev *indio_dev, unsigned int event) iio_dev 62 drivers/iio/adc/xilinx-xadc-events.c void xadc_handle_events(struct iio_dev *indio_dev, unsigned long events) iio_dev 113 drivers/iio/adc/xilinx-xadc-events.c int xadc_read_event_config(struct iio_dev *indio_dev, iio_dev 122 drivers/iio/adc/xilinx-xadc-events.c int xadc_write_event_config(struct iio_dev *indio_dev, iio_dev 161 drivers/iio/adc/xilinx-xadc-events.c int xadc_read_event_value(struct iio_dev *indio_dev, iio_dev 185 drivers/iio/adc/xilinx-xadc-events.c int xadc_write_event_value(struct iio_dev *indio_dev, iio_dev 16 drivers/iio/adc/xilinx-xadc.h struct iio_dev; iio_dev 21 drivers/iio/adc/xilinx-xadc.h void xadc_handle_events(struct iio_dev *indio_dev, unsigned long events); iio_dev 23 drivers/iio/adc/xilinx-xadc.h int xadc_read_event_config(struct iio_dev *indio_dev, iio_dev 26 drivers/iio/adc/xilinx-xadc.h int xadc_write_event_config(struct iio_dev *indio_dev, iio_dev 29 drivers/iio/adc/xilinx-xadc.h int xadc_read_event_value(struct iio_dev *indio_dev, iio_dev 33 drivers/iio/adc/xilinx-xadc.h int xadc_write_event_value(struct iio_dev *indio_dev, iio_dev 76 drivers/iio/adc/xilinx-xadc.h int (*setup)(struct platform_device *pdev, struct iio_dev *indio_dev, iio_dev 36 drivers/iio/afe/iio-rescale.c static int rescale_read_raw(struct iio_dev *indio_dev, iio_dev 76 drivers/iio/afe/iio-rescale.c static int rescale_read_avail(struct iio_dev *indio_dev, iio_dev 98 drivers/iio/afe/iio-rescale.c static ssize_t rescale_read_ext_info(struct iio_dev *indio_dev, iio_dev 110 drivers/iio/afe/iio-rescale.c static ssize_t rescale_write_ext_info(struct iio_dev *indio_dev, iio_dev 270 drivers/iio/afe/iio-rescale.c struct iio_dev *indio_dev; iio_dev 67 drivers/iio/amplifiers/ad8366.c static int ad8366_write(struct iio_dev *indio_dev, iio_dev 96 drivers/iio/amplifiers/ad8366.c static int ad8366_read_raw(struct iio_dev *indio_dev, iio_dev 137 drivers/iio/amplifiers/ad8366.c static int ad8366_write_raw(struct iio_dev *indio_dev, iio_dev 207 drivers/iio/amplifiers/ad8366.c struct iio_dev *indio_dev; iio_dev 272 drivers/iio/amplifiers/ad8366.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 19 drivers/iio/buffer/industrialio-buffer-cb.c struct iio_dev *indio_dev; iio_dev 142 drivers/iio/buffer/industrialio-buffer-cb.c struct iio_dev iio_dev 402 drivers/iio/buffer/industrialio-buffer-dma.c struct iio_dev *indio_dev) iio_dev 428 drivers/iio/buffer/industrialio-buffer-dma.c struct iio_dev *indio_dev) iio_dev 29 drivers/iio/buffer/industrialio-hw-consumer.c struct iio_dev *indio_dev; iio_dev 53 drivers/iio/buffer/industrialio-hw-consumer.c struct iio_hw_consumer *hwc, struct iio_dev *indio_dev) iio_dev 41 drivers/iio/buffer/industrialio-triggered-buffer.c int iio_triggered_buffer_setup(struct iio_dev *indio_dev, iio_dev 91 drivers/iio/buffer/industrialio-triggered-buffer.c void iio_triggered_buffer_cleanup(struct iio_dev *indio_dev) iio_dev 100 drivers/iio/buffer/industrialio-triggered-buffer.c iio_triggered_buffer_cleanup(*(struct iio_dev **)res); iio_dev 104 drivers/iio/buffer/industrialio-triggered-buffer.c struct iio_dev *indio_dev, iio_dev 109 drivers/iio/buffer/industrialio-triggered-buffer.c struct iio_dev **ptr; iio_dev 130 drivers/iio/buffer/industrialio-triggered-buffer.c struct iio_dev *indio_dev) iio_dev 92 drivers/iio/chemical/ams-iaq-core.c static int ams_iaqcore_read_raw(struct iio_dev *indio_dev, iio_dev 140 drivers/iio/chemical/ams-iaq-core.c struct iio_dev *indio_dev; iio_dev 303 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_buffer_postenable(struct iio_dev *indio_dev) iio_dev 321 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_buffer_predisable(struct iio_dev *indio_dev) iio_dev 356 drivers/iio/chemical/atlas-ph-sensor.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 375 drivers/iio/chemical/atlas-ph-sensor.c struct iio_dev *indio_dev = private; iio_dev 406 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_read_raw(struct iio_dev *indio_dev, iio_dev 474 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_write_raw(struct iio_dev *indio_dev, iio_dev 519 drivers/iio/chemical/atlas-ph-sensor.c struct iio_dev *indio_dev; iio_dev 634 drivers/iio/chemical/atlas-ph-sensor.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 770 drivers/iio/chemical/bme680_core.c static int bme680_read_raw(struct iio_dev *indio_dev, iio_dev 814 drivers/iio/chemical/bme680_core.c static int bme680_write_raw(struct iio_dev *indio_dev, iio_dev 884 drivers/iio/chemical/bme680_core.c struct iio_dev *indio_dev; iio_dev 191 drivers/iio/chemical/ccs811.c static int ccs811_read_raw(struct iio_dev *indio_dev, iio_dev 281 drivers/iio/chemical/ccs811.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 306 drivers/iio/chemical/ccs811.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 330 drivers/iio/chemical/ccs811.c struct iio_dev *indio_dev = private; iio_dev 342 drivers/iio/chemical/ccs811.c struct iio_dev *indio_dev; iio_dev 451 drivers/iio/chemical/ccs811.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 109 drivers/iio/chemical/pms7003.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 137 drivers/iio/chemical/pms7003.c static int pms7003_read_raw(struct iio_dev *indio_dev, iio_dev 217 drivers/iio/chemical/pms7003.c struct iio_dev *indio_dev = serdev_device_get_drvdata(serdev); iio_dev 273 drivers/iio/chemical/pms7003.c struct iio_dev *indio_dev; iio_dev 333 drivers/iio/chemical/sgp30.c static int sgp_read_raw(struct iio_dev *indio_dev, iio_dev 502 drivers/iio/chemical/sgp30.c struct iio_dev *indio_dev; iio_dev 559 drivers/iio/chemical/sgp30.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 230 drivers/iio/chemical/sps30.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 252 drivers/iio/chemical/sps30.c static int sps30_read_raw(struct iio_dev *indio_dev, iio_dev 335 drivers/iio/chemical/sps30.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 355 drivers/iio/chemical/sps30.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 373 drivers/iio/chemical/sps30.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 474 drivers/iio/chemical/sps30.c struct iio_dev *indio_dev; iio_dev 262 drivers/iio/chemical/vz89x.c static int vz89x_read_raw(struct iio_dev *indio_dev, iio_dev 355 drivers/iio/chemical/vz89x.c struct iio_dev *indio_dev; iio_dev 50 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c static int cros_ec_sensors_read_lid_angle(struct iio_dev *indio_dev, iio_dev 67 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c static int cros_ec_lid_angle_read(struct iio_dev *indio_dev, iio_dev 92 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c struct iio_dev *indio_dev; iio_dev 36 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c static int cros_ec_sensors_read(struct iio_dev *indio_dev, iio_dev 150 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c static int cros_ec_sensors_write(struct iio_dev *indio_dev, iio_dev 226 drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c struct iio_dev *indio_dev; iio_dev 86 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c struct iio_dev *indio_dev, iio_dev 185 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static ssize_t cros_ec_sensors_calibrate(struct iio_dev *indio_dev, iio_dev 214 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static ssize_t cros_ec_sensors_id(struct iio_dev *indio_dev, iio_dev 223 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static ssize_t cros_ec_sensors_loc(struct iio_dev *indio_dev, iio_dev 341 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c static int cros_ec_sensors_read_data_unsafe(struct iio_dev *indio_dev, iio_dev 375 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c int cros_ec_sensors_read_lpc(struct iio_dev *indio_dev, iio_dev 423 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c int cros_ec_sensors_read_cmd(struct iio_dev *indio_dev, iio_dev 450 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 522 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c int cros_ec_sensors_core_read_avail(struct iio_dev *indio_dev, iio_dev 578 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 600 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 24 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 47 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 62 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 85 drivers/iio/common/hid-sensors/hid-sensor-trigger.c static void hid_sensor_setup_batch_mode(struct iio_dev *indio_dev, iio_dev 243 drivers/iio/common/hid-sensors/hid-sensor-trigger.c int hid_sensor_setup_trigger(struct iio_dev *indio_dev, const char *name, iio_dev 294 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 302 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 310 drivers/iio/common/hid-sensors/hid-sensor-trigger.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 14 drivers/iio/common/hid-sensors/hid-sensor-trigger.h int hid_sensor_setup_trigger(struct iio_dev *indio_dev, const char *name, iio_dev 221 drivers/iio/common/ssp_sensors/ssp.h struct iio_dev *sensor_devs[SSP_SENSOR_MAX]; iio_dev 498 drivers/iio/common/ssp_sensors/ssp_dev.c void ssp_register_consumer(struct iio_dev *indio_dev, enum ssp_sensor_type type) iio_dev 20 drivers/iio/common/ssp_sensors/ssp_iio.c int ssp_common_buffer_postenable(struct iio_dev *indio_dev) iio_dev 44 drivers/iio/common/ssp_sensors/ssp_iio.c int ssp_common_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 70 drivers/iio/common/ssp_sensors/ssp_iio.c int ssp_common_process_data(struct iio_dev *indio_dev, void *buf, iio_dev 39 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h int ssp_common_buffer_postenable(struct iio_dev *indio_dev); iio_dev 41 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h int ssp_common_buffer_postdisable(struct iio_dev *indio_dev); iio_dev 43 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h int ssp_common_process_data(struct iio_dev *indio_dev, void *buf, iio_dev 271 drivers/iio/common/ssp_sensors/ssp_spi.c struct iio_dev **indio_devs = data->sensor_devs; iio_dev 25 drivers/iio/common/st_sensors/st_sensors_buffer.c static int st_sensors_get_buffer_element(struct iio_dev *indio_dev, u8 *buf) iio_dev 55 drivers/iio/common/st_sensors/st_sensors_buffer.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 29 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_write_data_with_mask(struct iio_dev *indio_dev, iio_dev 38 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 77 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_set_odr(struct iio_dev *indio_dev, unsigned int odr) iio_dev 135 drivers/iio/common/st_sensors/st_sensors_core.c static int st_sensors_set_fullscale(struct iio_dev *indio_dev, unsigned int fs) iio_dev 163 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_set_enable(struct iio_dev *indio_dev, bool enable) iio_dev 210 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_set_axis_enable(struct iio_dev *indio_dev, u8 axis_enable) iio_dev 224 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_power_enable(struct iio_dev *indio_dev) iio_dev 263 drivers/iio/common/st_sensors/st_sensors_core.c void st_sensors_power_disable(struct iio_dev *indio_dev) iio_dev 272 drivers/iio/common/st_sensors/st_sensors_core.c static int st_sensors_set_drdy_int_pin(struct iio_dev *indio_dev, iio_dev 380 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_init_sensor(struct iio_dev *indio_dev, iio_dev 463 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_set_dataready_irq(struct iio_dev *indio_dev, bool enable) iio_dev 512 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale) iio_dev 535 drivers/iio/common/st_sensors/st_sensors_core.c static int st_sensors_read_axis_data(struct iio_dev *indio_dev, iio_dev 567 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_read_info_raw(struct iio_dev *indio_dev, iio_dev 632 drivers/iio/common/st_sensors/st_sensors_core.c int st_sensors_verify_id(struct iio_dev *indio_dev) iio_dev 662 drivers/iio/common/st_sensors/st_sensors_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 684 drivers/iio/common/st_sensors/st_sensors_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 7 drivers/iio/common/st_sensors/st_sensors_core.h int st_sensors_write_data_with_mask(struct iio_dev *indio_dev, iio_dev 41 drivers/iio/common/st_sensors/st_sensors_i2c.c int st_sensors_i2c_configure(struct iio_dev *indio_dev, iio_dev 81 drivers/iio/common/st_sensors/st_sensors_spi.c int st_sensors_spi_configure(struct iio_dev *indio_dev, iio_dev 27 drivers/iio/common/st_sensors/st_sensors_trigger.c static int st_sensors_new_samples_available(struct iio_dev *indio_dev, iio_dev 63 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 79 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 121 drivers/iio/common/st_sensors/st_sensors_trigger.c int st_sensors_allocate_trigger(struct iio_dev *indio_dev, iio_dev 236 drivers/iio/common/st_sensors/st_sensors_trigger.c void st_sensors_deallocate_trigger(struct iio_dev *indio_dev) iio_dev 247 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio_dev) iio_dev 249 drivers/iio/common/st_sensors/st_sensors_trigger.c struct iio_dev *indio = iio_trigger_get_drvdata(trig); iio_dev 238 drivers/iio/dac/ad5064.c static int ad5064_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 246 drivers/iio/dac/ad5064.c static int ad5064_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 275 drivers/iio/dac/ad5064.c static ssize_t ad5064_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 283 drivers/iio/dac/ad5064.c static ssize_t ad5064_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 315 drivers/iio/dac/ad5064.c static int ad5064_read_raw(struct iio_dev *indio_dev, iio_dev 342 drivers/iio/dac/ad5064.c static int ad5064_write_raw(struct iio_dev *indio_dev, iio_dev 849 drivers/iio/dac/ad5064.c struct iio_dev *indio_dev; iio_dev 906 drivers/iio/dac/ad5064.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 191 drivers/iio/dac/ad5360.c static int ad5360_write_unlocked(struct iio_dev *indio_dev, iio_dev 204 drivers/iio/dac/ad5360.c static int ad5360_write(struct iio_dev *indio_dev, unsigned int cmd, iio_dev 216 drivers/iio/dac/ad5360.c static int ad5360_read(struct iio_dev *indio_dev, unsigned int type, iio_dev 252 drivers/iio/dac/ad5360.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 258 drivers/iio/dac/ad5360.c static int ad5360_update_ctrl(struct iio_dev *indio_dev, unsigned int set, iio_dev 280 drivers/iio/dac/ad5360.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 310 drivers/iio/dac/ad5360.c static int ad5360_write_raw(struct iio_dev *indio_dev, iio_dev 366 drivers/iio/dac/ad5360.c static int ad5360_read_raw(struct iio_dev *indio_dev, iio_dev 433 drivers/iio/dac/ad5360.c static int ad5360_alloc_channels(struct iio_dev *indio_dev) iio_dev 459 drivers/iio/dac/ad5360.c struct iio_dev *indio_dev; iio_dev 522 drivers/iio/dac/ad5360.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 81 drivers/iio/dac/ad5380.c static ssize_t ad5380_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 89 drivers/iio/dac/ad5380.c static ssize_t ad5380_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 120 drivers/iio/dac/ad5380.c static int ad5380_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 136 drivers/iio/dac/ad5380.c static int ad5380_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/dac/ad5380.c static int ad5380_write_raw(struct iio_dev *indio_dev, iio_dev 202 drivers/iio/dac/ad5380.c static int ad5380_read_raw(struct iio_dev *indio_dev, iio_dev 344 drivers/iio/dac/ad5380.c static int ad5380_alloc_channels(struct iio_dev *indio_dev) iio_dev 370 drivers/iio/dac/ad5380.c struct iio_dev *indio_dev; iio_dev 446 drivers/iio/dac/ad5380.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 132 drivers/iio/dac/ad5421.c static int ad5421_write_unlocked(struct iio_dev *indio_dev, iio_dev 142 drivers/iio/dac/ad5421.c static int ad5421_write(struct iio_dev *indio_dev, unsigned int reg, iio_dev 154 drivers/iio/dac/ad5421.c static int ad5421_read(struct iio_dev *indio_dev, unsigned int reg) iio_dev 182 drivers/iio/dac/ad5421.c static int ad5421_update_ctrl(struct iio_dev *indio_dev, unsigned int set, iio_dev 202 drivers/iio/dac/ad5421.c struct iio_dev *indio_dev = data; iio_dev 311 drivers/iio/dac/ad5421.c static int ad5421_read_raw(struct iio_dev *indio_dev, iio_dev 353 drivers/iio/dac/ad5421.c static int ad5421_write_raw(struct iio_dev *indio_dev, iio_dev 382 drivers/iio/dac/ad5421.c static int ad5421_write_event_config(struct iio_dev *indio_dev, iio_dev 413 drivers/iio/dac/ad5421.c static int ad5421_read_event_config(struct iio_dev *indio_dev, iio_dev 437 drivers/iio/dac/ad5421.c static int ad5421_read_event_value(struct iio_dev *indio_dev, iio_dev 472 drivers/iio/dac/ad5421.c struct iio_dev *indio_dev; iio_dev 63 drivers/iio/dac/ad5446.c static int ad5446_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 73 drivers/iio/dac/ad5446.c static int ad5446_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 88 drivers/iio/dac/ad5446.c static ssize_t ad5446_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 98 drivers/iio/dac/ad5446.c static ssize_t ad5446_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 163 drivers/iio/dac/ad5446.c static int ad5446_read_raw(struct iio_dev *indio_dev, iio_dev 183 drivers/iio/dac/ad5446.c static int ad5446_write_raw(struct iio_dev *indio_dev, iio_dev 220 drivers/iio/dac/ad5446.c struct iio_dev *indio_dev; iio_dev 280 drivers/iio/dac/ad5446.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 84 drivers/iio/dac/ad5449.c static int ad5449_write(struct iio_dev *indio_dev, unsigned int addr, iio_dev 98 drivers/iio/dac/ad5449.c static int ad5449_read(struct iio_dev *indio_dev, unsigned int addr, iio_dev 130 drivers/iio/dac/ad5449.c static int ad5449_read_raw(struct iio_dev *indio_dev, iio_dev 168 drivers/iio/dac/ad5449.c static int ad5449_write_raw(struct iio_dev *indio_dev, iio_dev 271 drivers/iio/dac/ad5449.c struct iio_dev *indio_dev; iio_dev 332 drivers/iio/dac/ad5449.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 94 drivers/iio/dac/ad5504.c static int ad5504_read_raw(struct iio_dev *indio_dev, iio_dev 120 drivers/iio/dac/ad5504.c static int ad5504_write_raw(struct iio_dev *indio_dev, iio_dev 144 drivers/iio/dac/ad5504.c static int ad5504_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 152 drivers/iio/dac/ad5504.c static int ad5504_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 169 drivers/iio/dac/ad5504.c static ssize_t ad5504_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 178 drivers/iio/dac/ad5504.c static ssize_t ad5504_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 275 drivers/iio/dac/ad5504.c struct iio_dev *indio_dev; iio_dev 343 drivers/iio/dac/ad5504.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 160 drivers/iio/dac/ad5592r-base.c struct iio_dev *iio_dev = iio_priv_to_dev(st); iio_dev 170 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 173 drivers/iio/dac/ad5592r-base.c mutex_unlock(&iio_dev->mlock); iio_dev 201 drivers/iio/dac/ad5592r-base.c struct iio_dev *iio_dev = iio_priv_to_dev(st); iio_dev 251 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 289 drivers/iio/dac/ad5592r-base.c mutex_unlock(&iio_dev->mlock); iio_dev 303 drivers/iio/dac/ad5592r-base.c static int ad5592r_write_raw(struct iio_dev *iio_dev, iio_dev 306 drivers/iio/dac/ad5592r-base.c struct ad5592r_state *st = iio_priv(iio_dev); iio_dev 318 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 322 drivers/iio/dac/ad5592r-base.c mutex_unlock(&iio_dev->mlock); iio_dev 337 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 342 drivers/iio/dac/ad5592r-base.c mutex_unlock(&iio_dev->mlock); iio_dev 364 drivers/iio/dac/ad5592r-base.c mutex_unlock(&iio_dev->mlock); iio_dev 376 drivers/iio/dac/ad5592r-base.c static int ad5592r_read_raw(struct iio_dev *iio_dev, iio_dev 380 drivers/iio/dac/ad5592r-base.c struct ad5592r_state *st = iio_priv(iio_dev); iio_dev 386 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 423 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 441 drivers/iio/dac/ad5592r-base.c mutex_lock(&iio_dev->mlock); iio_dev 454 drivers/iio/dac/ad5592r-base.c mutex_unlock(&iio_dev->mlock); iio_dev 458 drivers/iio/dac/ad5592r-base.c static int ad5592r_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 478 drivers/iio/dac/ad5592r-base.c static ssize_t ad5592r_show_scale_available(struct iio_dev *iio_dev, iio_dev 483 drivers/iio/dac/ad5592r-base.c struct ad5592r_state *st = iio_priv(iio_dev); iio_dev 499 drivers/iio/dac/ad5592r-base.c static void ad5592r_setup_channel(struct iio_dev *iio_dev, iio_dev 518 drivers/iio/dac/ad5592r-base.c struct iio_dev *iio_dev = iio_priv_to_dev(st); iio_dev 547 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], iio_dev 553 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], iio_dev 559 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], iio_dev 562 drivers/iio/dac/ad5592r-base.c ad5592r_setup_channel(iio_dev, &channels[curr_channel], iio_dev 579 drivers/iio/dac/ad5592r-base.c iio_dev->num_channels = curr_channel; iio_dev 580 drivers/iio/dac/ad5592r-base.c iio_dev->channels = channels; iio_dev 598 drivers/iio/dac/ad5592r-base.c struct iio_dev *iio_dev; iio_dev 602 drivers/iio/dac/ad5592r-base.c iio_dev = devm_iio_device_alloc(dev, sizeof(*st)); iio_dev 603 drivers/iio/dac/ad5592r-base.c if (!iio_dev) iio_dev 606 drivers/iio/dac/ad5592r-base.c st = iio_priv(iio_dev); iio_dev 610 drivers/iio/dac/ad5592r-base.c dev_set_drvdata(dev, iio_dev); iio_dev 624 drivers/iio/dac/ad5592r-base.c iio_dev->dev.parent = dev; iio_dev 625 drivers/iio/dac/ad5592r-base.c iio_dev->name = name; iio_dev 626 drivers/iio/dac/ad5592r-base.c iio_dev->info = &ad5592r_info; iio_dev 627 drivers/iio/dac/ad5592r-base.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 648 drivers/iio/dac/ad5592r-base.c ret = iio_device_register(iio_dev); iio_dev 659 drivers/iio/dac/ad5592r-base.c iio_device_unregister(iio_dev); iio_dev 674 drivers/iio/dac/ad5592r-base.c struct iio_dev *iio_dev = dev_get_drvdata(dev); iio_dev 675 drivers/iio/dac/ad5592r-base.c struct ad5592r_state *st = iio_priv(iio_dev); iio_dev 677 drivers/iio/dac/ad5592r-base.c iio_device_unregister(iio_dev); iio_dev 45 drivers/iio/dac/ad5624r_spi.c static int ad5624r_read_raw(struct iio_dev *indio_dev, iio_dev 62 drivers/iio/dac/ad5624r_spi.c static int ad5624r_write_raw(struct iio_dev *indio_dev, iio_dev 90 drivers/iio/dac/ad5624r_spi.c static int ad5624r_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 98 drivers/iio/dac/ad5624r_spi.c static int ad5624r_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 115 drivers/iio/dac/ad5624r_spi.c static ssize_t ad5624r_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 124 drivers/iio/dac/ad5624r_spi.c static ssize_t ad5624r_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 225 drivers/iio/dac/ad5624r_spi.c struct iio_dev *indio_dev; iio_dev 283 drivers/iio/dac/ad5624r_spi.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 28 drivers/iio/dac/ad5686.c static int ad5686_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 36 drivers/iio/dac/ad5686.c static int ad5686_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 55 drivers/iio/dac/ad5686.c static ssize_t ad5686_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 64 drivers/iio/dac/ad5686.c static ssize_t ad5686_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 119 drivers/iio/dac/ad5686.c static int ad5686_read_raw(struct iio_dev *indio_dev, iio_dev 146 drivers/iio/dac/ad5686.c static int ad5686_write_raw(struct iio_dev *indio_dev, iio_dev 424 drivers/iio/dac/ad5686.c struct iio_dev *indio_dev; iio_dev 517 drivers/iio/dac/ad5686.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 157 drivers/iio/dac/ad5755.c static int ad5755_write_unlocked(struct iio_dev *indio_dev, iio_dev 167 drivers/iio/dac/ad5755.c static int ad5755_write_ctrl_unlocked(struct iio_dev *indio_dev, iio_dev 174 drivers/iio/dac/ad5755.c static int ad5755_write(struct iio_dev *indio_dev, unsigned int reg, iio_dev 186 drivers/iio/dac/ad5755.c static int ad5755_write_ctrl(struct iio_dev *indio_dev, unsigned int channel, iio_dev 198 drivers/iio/dac/ad5755.c static int ad5755_read(struct iio_dev *indio_dev, unsigned int addr) iio_dev 228 drivers/iio/dac/ad5755.c static int ad5755_update_dac_ctrl(struct iio_dev *indio_dev, iio_dev 243 drivers/iio/dac/ad5755.c static int ad5755_set_channel_pwr_down(struct iio_dev *indio_dev, iio_dev 337 drivers/iio/dac/ad5755.c static int ad5755_read_raw(struct iio_dev *indio_dev, iio_dev 372 drivers/iio/dac/ad5755.c static int ad5755_write_raw(struct iio_dev *indio_dev, iio_dev 393 drivers/iio/dac/ad5755.c static ssize_t ad5755_read_powerdown(struct iio_dev *indio_dev, uintptr_t priv, iio_dev 402 drivers/iio/dac/ad5755.c static ssize_t ad5755_write_powerdown(struct iio_dev *indio_dev, uintptr_t priv, iio_dev 488 drivers/iio/dac/ad5755.c static int ad5755_setup_pdata(struct iio_dev *indio_dev, iio_dev 557 drivers/iio/dac/ad5755.c static int ad5755_init_channels(struct iio_dev *indio_dev, iio_dev 730 drivers/iio/dac/ad5755.c struct iio_dev *indio_dev; iio_dev 493 drivers/iio/dac/ad5758.c static int ad5758_reg_access(struct iio_dev *indio_dev, iio_dev 519 drivers/iio/dac/ad5758.c static int ad5758_read_raw(struct iio_dev *indio_dev, iio_dev 552 drivers/iio/dac/ad5758.c static int ad5758_write_raw(struct iio_dev *indio_dev, iio_dev 570 drivers/iio/dac/ad5758.c static ssize_t ad5758_read_powerdown(struct iio_dev *indio_dev, iio_dev 580 drivers/iio/dac/ad5758.c static ssize_t ad5758_write_powerdown(struct iio_dev *indio_dev, iio_dev 843 drivers/iio/dac/ad5758.c struct iio_dev *indio_dev; iio_dev 122 drivers/iio/dac/ad5761.c static int ad5761_spi_write(struct iio_dev *indio_dev, u8 addr, u16 val) iio_dev 161 drivers/iio/dac/ad5761.c static int ad5761_spi_read(struct iio_dev *indio_dev, u8 addr, u16 *val) iio_dev 197 drivers/iio/dac/ad5761.c static int ad5761_read_raw(struct iio_dev *indio_dev, iio_dev 231 drivers/iio/dac/ad5761.c static int ad5761_write_raw(struct iio_dev *indio_dev, iio_dev 347 drivers/iio/dac/ad5761.c struct iio_dev *iio_dev; iio_dev 355 drivers/iio/dac/ad5761.c iio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); iio_dev 356 drivers/iio/dac/ad5761.c if (!iio_dev) iio_dev 359 drivers/iio/dac/ad5761.c st = iio_priv(iio_dev); iio_dev 362 drivers/iio/dac/ad5761.c spi_set_drvdata(spi, iio_dev); iio_dev 375 drivers/iio/dac/ad5761.c iio_dev->dev.parent = &spi->dev; iio_dev 376 drivers/iio/dac/ad5761.c iio_dev->info = &ad5761_info; iio_dev 377 drivers/iio/dac/ad5761.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 378 drivers/iio/dac/ad5761.c iio_dev->channels = &chip_info->channel; iio_dev 379 drivers/iio/dac/ad5761.c iio_dev->num_channels = 1; iio_dev 380 drivers/iio/dac/ad5761.c iio_dev->name = spi_get_device_id(st->spi)->name; iio_dev 381 drivers/iio/dac/ad5761.c ret = iio_device_register(iio_dev); iio_dev 396 drivers/iio/dac/ad5761.c struct iio_dev *iio_dev = spi_get_drvdata(spi); iio_dev 397 drivers/iio/dac/ad5761.c struct ad5761_state *st = iio_priv(iio_dev); iio_dev 399 drivers/iio/dac/ad5761.c iio_device_unregister(iio_dev); iio_dev 123 drivers/iio/dac/ad5764.c static int ad5764_write(struct iio_dev *indio_dev, unsigned int reg, iio_dev 138 drivers/iio/dac/ad5764.c static int ad5764_read(struct iio_dev *indio_dev, unsigned int reg, iio_dev 183 drivers/iio/dac/ad5764.c static int ad5764_write_raw(struct iio_dev *indio_dev, iio_dev 220 drivers/iio/dac/ad5764.c static int ad5764_read_raw(struct iio_dev *indio_dev, iio_dev 275 drivers/iio/dac/ad5764.c struct iio_dev *indio_dev; iio_dev 335 drivers/iio/dac/ad5764.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 152 drivers/iio/dac/ad5791.c static int ad5791_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 160 drivers/iio/dac/ad5791.c static int ad5791_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 177 drivers/iio/dac/ad5791.c static ssize_t ad5791_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 185 drivers/iio/dac/ad5791.c static ssize_t ad5791_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 248 drivers/iio/dac/ad5791.c static int ad5791_read_raw(struct iio_dev *indio_dev, iio_dev 319 drivers/iio/dac/ad5791.c static int ad5791_write_raw(struct iio_dev *indio_dev, iio_dev 347 drivers/iio/dac/ad5791.c struct iio_dev *indio_dev; iio_dev 436 drivers/iio/dac/ad5791.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 61 drivers/iio/dac/ad7303.c static ssize_t ad7303_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 70 drivers/iio/dac/ad7303.c static ssize_t ad7303_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 111 drivers/iio/dac/ad7303.c static int ad7303_read_raw(struct iio_dev *indio_dev, iio_dev 136 drivers/iio/dac/ad7303.c static int ad7303_write_raw(struct iio_dev *indio_dev, iio_dev 200 drivers/iio/dac/ad7303.c struct iio_dev *indio_dev; iio_dev 270 drivers/iio/dac/ad7303.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 39 drivers/iio/dac/ad8801.c static int ad8801_write_raw(struct iio_dev *indio_dev, iio_dev 61 drivers/iio/dac/ad8801.c static int ad8801_read_raw(struct iio_dev *indio_dev, iio_dev 112 drivers/iio/dac/ad8801.c struct iio_dev *indio_dev; iio_dev 200 drivers/iio/dac/ad8801.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 47 drivers/iio/dac/cio-dac.c static int cio_dac_read_raw(struct iio_dev *indio_dev, iio_dev 60 drivers/iio/dac/cio-dac.c static int cio_dac_write_raw(struct iio_dev *indio_dev, iio_dev 93 drivers/iio/dac/cio-dac.c struct iio_dev *indio_dev; iio_dev 52 drivers/iio/dac/dpot-dac.c static int dpot_dac_read_raw(struct iio_dev *indio_dev, iio_dev 94 drivers/iio/dac/dpot-dac.c static int dpot_dac_read_avail(struct iio_dev *indio_dev, iio_dev 110 drivers/iio/dac/dpot-dac.c static int dpot_dac_write_raw(struct iio_dev *indio_dev, iio_dev 130 drivers/iio/dac/dpot-dac.c static int dpot_dac_channel_max_ohms(struct iio_dev *indio_dev) iio_dev 167 drivers/iio/dac/dpot-dac.c struct iio_dev *indio_dev; iio_dev 235 drivers/iio/dac/dpot-dac.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 70 drivers/iio/dac/ds4424.c static int ds4424_get_value(struct iio_dev *indio_dev, iio_dev 88 drivers/iio/dac/ds4424.c static int ds4424_set_value(struct iio_dev *indio_dev, iio_dev 107 drivers/iio/dac/ds4424.c static int ds4424_read_raw(struct iio_dev *indio_dev, iio_dev 133 drivers/iio/dac/ds4424.c static int ds4424_write_raw(struct iio_dev *indio_dev, iio_dev 162 drivers/iio/dac/ds4424.c static int ds4424_verify_chip(struct iio_dev *indio_dev) iio_dev 177 drivers/iio/dac/ds4424.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 195 drivers/iio/dac/ds4424.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 220 drivers/iio/dac/ds4424.c struct iio_dev *indio_dev; iio_dev 291 drivers/iio/dac/ds4424.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 49 drivers/iio/dac/lpc18xx_dac.c static int lpc18xx_dac_read_raw(struct iio_dev *indio_dev, iio_dev 74 drivers/iio/dac/lpc18xx_dac.c static int lpc18xx_dac_write_raw(struct iio_dev *indio_dev, iio_dev 107 drivers/iio/dac/lpc18xx_dac.c struct iio_dev *indio_dev; iio_dev 176 drivers/iio/dac/lpc18xx_dac.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 47 drivers/iio/dac/ltc1660.c static int ltc1660_read_raw(struct iio_dev *indio_dev, iio_dev 76 drivers/iio/dac/ltc1660.c static int ltc1660_write_raw(struct iio_dev *indio_dev, iio_dev 157 drivers/iio/dac/ltc1660.c struct iio_dev *indio_dev; iio_dev 213 drivers/iio/dac/ltc1660.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 83 drivers/iio/dac/ltc2632.c static int ltc2632_read_raw(struct iio_dev *indio_dev, iio_dev 100 drivers/iio/dac/ltc2632.c static int ltc2632_write_raw(struct iio_dev *indio_dev, iio_dev 122 drivers/iio/dac/ltc2632.c static ssize_t ltc2632_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 133 drivers/iio/dac/ltc2632.c static ssize_t ltc2632_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 233 drivers/iio/dac/ltc2632.c struct iio_dev *indio_dev; iio_dev 301 drivers/iio/dac/ltc2632.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 33 drivers/iio/dac/m62332.c static int m62332_set_value(struct iio_dev *indio_dev, u8 val, int channel) iio_dev 75 drivers/iio/dac/m62332.c static int m62332_read_raw(struct iio_dev *indio_dev, iio_dev 110 drivers/iio/dac/m62332.c static int m62332_write_raw(struct iio_dev *indio_dev, iio_dev 131 drivers/iio/dac/m62332.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 148 drivers/iio/dac/m62332.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 190 drivers/iio/dac/m62332.c struct iio_dev *indio_dev; iio_dev 233 drivers/iio/dac/m62332.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 43 drivers/iio/dac/max517.c static int max517_set_value(struct iio_dev *indio_dev, iio_dev 66 drivers/iio/dac/max517.c static int max517_read_raw(struct iio_dev *indio_dev, iio_dev 86 drivers/iio/dac/max517.c static int max517_write_raw(struct iio_dev *indio_dev, iio_dev 148 drivers/iio/dac/max517.c struct iio_dev *indio_dev; iio_dev 54 drivers/iio/dac/max5821.c static int max5821_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 62 drivers/iio/dac/max5821.c static int max5821_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 80 drivers/iio/dac/max5821.c static ssize_t max5821_read_dac_powerdown(struct iio_dev *indio_dev, iio_dev 110 drivers/iio/dac/max5821.c static ssize_t max5821_write_dac_powerdown(struct iio_dev *indio_dev, iio_dev 169 drivers/iio/dac/max5821.c static int max5821_get_value(struct iio_dev *indio_dev, iio_dev 210 drivers/iio/dac/max5821.c static int max5821_set_value(struct iio_dev *indio_dev, iio_dev 237 drivers/iio/dac/max5821.c static int max5821_read_raw(struct iio_dev *indio_dev, iio_dev 255 drivers/iio/dac/max5821.c static int max5821_write_raw(struct iio_dev *indio_dev, iio_dev 301 drivers/iio/dac/max5821.c struct iio_dev *indio_dev; iio_dev 362 drivers/iio/dac/max5821.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 76 drivers/iio/dac/mcp4725.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 147 drivers/iio/dac/mcp4725.c static int mcp4725_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 155 drivers/iio/dac/mcp4725.c static int mcp4725_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 165 drivers/iio/dac/mcp4725.c static ssize_t mcp4725_read_powerdown(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/dac/mcp4725.c static ssize_t mcp4725_write_powerdown(struct iio_dev *indio_dev, iio_dev 264 drivers/iio/dac/mcp4725.c static int mcp4725_set_value(struct iio_dev *indio_dev, int val) iio_dev 285 drivers/iio/dac/mcp4725.c static int mcp4726_set_cfg(struct iio_dev *indio_dev) iio_dev 307 drivers/iio/dac/mcp4725.c static int mcp4725_read_raw(struct iio_dev *indio_dev, iio_dev 334 drivers/iio/dac/mcp4725.c static int mcp4725_write_raw(struct iio_dev *indio_dev, iio_dev 388 drivers/iio/dac/mcp4725.c struct iio_dev *indio_dev; iio_dev 504 drivers/iio/dac/mcp4725.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 59 drivers/iio/dac/mcp4922.c static int mcp4922_read_raw(struct iio_dev *indio_dev, iio_dev 80 drivers/iio/dac/mcp4922.c static int mcp4922_write_raw(struct iio_dev *indio_dev, iio_dev 121 drivers/iio/dac/mcp4922.c struct iio_dev *indio_dev; iio_dev 179 drivers/iio/dac/mcp4922.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 31 drivers/iio/dac/stm32-dac.c static int stm32_dac_is_enabled(struct iio_dev *indio_dev, int channel) iio_dev 48 drivers/iio/dac/stm32-dac.c static int stm32_dac_set_enable_state(struct iio_dev *indio_dev, int ch, iio_dev 98 drivers/iio/dac/stm32-dac.c static int stm32_dac_read_raw(struct iio_dev *indio_dev, iio_dev 116 drivers/iio/dac/stm32-dac.c static int stm32_dac_write_raw(struct iio_dev *indio_dev, iio_dev 130 drivers/iio/dac/stm32-dac.c static int stm32_dac_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 152 drivers/iio/dac/stm32-dac.c static int stm32_dac_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 158 drivers/iio/dac/stm32-dac.c static int stm32_dac_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 165 drivers/iio/dac/stm32-dac.c static ssize_t stm32_dac_read_powerdown(struct iio_dev *indio_dev, iio_dev 178 drivers/iio/dac/stm32-dac.c static ssize_t stm32_dac_write_powerdown(struct iio_dev *indio_dev, iio_dev 239 drivers/iio/dac/stm32-dac.c static int stm32_dac_chan_of_init(struct iio_dev *indio_dev) iio_dev 275 drivers/iio/dac/stm32-dac.c struct iio_dev *indio_dev; iio_dev 78 drivers/iio/dac/ti-dac082s085.c static int ti_dac_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 86 drivers/iio/dac/ti-dac082s085.c static int ti_dac_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 116 drivers/iio/dac/ti-dac082s085.c static ssize_t ti_dac_read_powerdown(struct iio_dev *indio_dev, iio_dev 126 drivers/iio/dac/ti-dac082s085.c static ssize_t ti_dac_write_powerdown(struct iio_dev *indio_dev, iio_dev 185 drivers/iio/dac/ti-dac082s085.c static int ti_dac_read_raw(struct iio_dev *indio_dev, iio_dev 215 drivers/iio/dac/ti-dac082s085.c static int ti_dac_write_raw(struct iio_dev *indio_dev, iio_dev 247 drivers/iio/dac/ti-dac082s085.c static int ti_dac_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 264 drivers/iio/dac/ti-dac082s085.c struct iio_dev *indio_dev; iio_dev 318 drivers/iio/dac/ti-dac082s085.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 123 drivers/iio/dac/ti-dac5571.c static int dac5571_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 131 drivers/iio/dac/ti-dac5571.c static int dac5571_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 163 drivers/iio/dac/ti-dac5571.c static ssize_t dac5571_read_powerdown(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/dac/ti-dac5571.c static ssize_t dac5571_write_powerdown(struct iio_dev *indio_dev, iio_dev 238 drivers/iio/dac/ti-dac5571.c static int dac5571_read_raw(struct iio_dev *indio_dev, iio_dev 264 drivers/iio/dac/ti-dac5571.c static int dac5571_write_raw(struct iio_dev *indio_dev, iio_dev 294 drivers/iio/dac/ti-dac5571.c static int dac5571_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 313 drivers/iio/dac/ti-dac5571.c struct iio_dev *indio_dev; iio_dev 379 drivers/iio/dac/ti-dac5571.c struct iio_dev *indio_dev = i2c_get_clientdata(i2c); iio_dev 81 drivers/iio/dac/ti-dac7311.c static int ti_dac_get_powerdown_mode(struct iio_dev *indio_dev, iio_dev 89 drivers/iio/dac/ti-dac7311.c static int ti_dac_set_powerdown_mode(struct iio_dev *indio_dev, iio_dev 106 drivers/iio/dac/ti-dac7311.c static ssize_t ti_dac_read_powerdown(struct iio_dev *indio_dev, iio_dev 116 drivers/iio/dac/ti-dac7311.c static ssize_t ti_dac_write_powerdown(struct iio_dev *indio_dev, iio_dev 166 drivers/iio/dac/ti-dac7311.c static int ti_dac_read_raw(struct iio_dev *indio_dev, iio_dev 191 drivers/iio/dac/ti-dac7311.c static int ti_dac_write_raw(struct iio_dev *indio_dev, iio_dev 224 drivers/iio/dac/ti-dac7311.c static int ti_dac_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 241 drivers/iio/dac/ti-dac7311.c struct iio_dev *indio_dev; iio_dev 300 drivers/iio/dac/ti-dac7311.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 67 drivers/iio/dac/ti-dac7612.c static int dac7612_read_raw(struct iio_dev *iio_dev, iio_dev 75 drivers/iio/dac/ti-dac7612.c priv = iio_priv(iio_dev); iio_dev 88 drivers/iio/dac/ti-dac7612.c static int dac7612_write_raw(struct iio_dev *iio_dev, iio_dev 92 drivers/iio/dac/ti-dac7612.c struct dac7612 *priv = iio_priv(iio_dev); iio_dev 104 drivers/iio/dac/ti-dac7612.c mutex_lock(&iio_dev->mlock); iio_dev 106 drivers/iio/dac/ti-dac7612.c mutex_unlock(&iio_dev->mlock); iio_dev 118 drivers/iio/dac/ti-dac7612.c struct iio_dev *iio_dev; iio_dev 123 drivers/iio/dac/ti-dac7612.c iio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*priv)); iio_dev 124 drivers/iio/dac/ti-dac7612.c if (!iio_dev) iio_dev 127 drivers/iio/dac/ti-dac7612.c priv = iio_priv(iio_dev); iio_dev 141 drivers/iio/dac/ti-dac7612.c spi_set_drvdata(spi, iio_dev); iio_dev 142 drivers/iio/dac/ti-dac7612.c iio_dev->dev.parent = &spi->dev; iio_dev 143 drivers/iio/dac/ti-dac7612.c iio_dev->info = &dac7612_info; iio_dev 144 drivers/iio/dac/ti-dac7612.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 145 drivers/iio/dac/ti-dac7612.c iio_dev->channels = dac7612_channels; iio_dev 146 drivers/iio/dac/ti-dac7612.c iio_dev->num_channels = ARRAY_SIZE(priv->cache); iio_dev 147 drivers/iio/dac/ti-dac7612.c iio_dev->name = spi_get_device_id(spi)->name; iio_dev 155 drivers/iio/dac/ti-dac7612.c return devm_iio_device_register(&spi->dev, iio_dev); iio_dev 60 drivers/iio/dac/vf610_dac.c static int vf610_set_conversion_mode(struct iio_dev *indio_dev, iio_dev 80 drivers/iio/dac/vf610_dac.c static int vf610_get_conversion_mode(struct iio_dev *indio_dev, iio_dev 115 drivers/iio/dac/vf610_dac.c static int vf610_read_raw(struct iio_dev *indio_dev, iio_dev 141 drivers/iio/dac/vf610_dac.c static int vf610_write_raw(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/dac/vf610_dac.c struct iio_dev *indio_dev; iio_dev 236 drivers/iio/dac/vf610_dac.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 249 drivers/iio/dac/vf610_dac.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 260 drivers/iio/dac/vf610_dac.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 279 drivers/iio/dummy/iio_simple_dummy.c static int iio_dummy_read_raw(struct iio_dev *indio_dev, iio_dev 422 drivers/iio/dummy/iio_simple_dummy.c static int iio_dummy_write_raw(struct iio_dev *indio_dev, iio_dev 536 drivers/iio/dummy/iio_simple_dummy.c static int iio_dummy_init_device(struct iio_dev *indio_dev) iio_dev 566 drivers/iio/dummy/iio_simple_dummy.c struct iio_dev *indio_dev; iio_dev 672 drivers/iio/dummy/iio_simple_dummy.c struct iio_dev *indio_dev = swd->device; iio_dev 52 drivers/iio/dummy/iio_simple_dummy.h struct iio_dev; iio_dev 54 drivers/iio/dummy/iio_simple_dummy.h int iio_simple_dummy_read_event_config(struct iio_dev *indio_dev, iio_dev 59 drivers/iio/dummy/iio_simple_dummy.h int iio_simple_dummy_write_event_config(struct iio_dev *indio_dev, iio_dev 65 drivers/iio/dummy/iio_simple_dummy.h int iio_simple_dummy_read_event_value(struct iio_dev *indio_dev, iio_dev 72 drivers/iio/dummy/iio_simple_dummy.h int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, iio_dev 79 drivers/iio/dummy/iio_simple_dummy.h int iio_simple_dummy_events_register(struct iio_dev *indio_dev); iio_dev 80 drivers/iio/dummy/iio_simple_dummy.h void iio_simple_dummy_events_unregister(struct iio_dev *indio_dev); iio_dev 85 drivers/iio/dummy/iio_simple_dummy.h iio_simple_dummy_events_register(struct iio_dev *indio_dev) iio_dev 91 drivers/iio/dummy/iio_simple_dummy.h iio_simple_dummy_events_unregister(struct iio_dev *indio_dev) iio_dev 113 drivers/iio/dummy/iio_simple_dummy.h int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev); iio_dev 114 drivers/iio/dummy/iio_simple_dummy.h void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev); iio_dev 116 drivers/iio/dummy/iio_simple_dummy.h static inline int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev) iio_dev 122 drivers/iio/dummy/iio_simple_dummy.h void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev) iio_dev 47 drivers/iio/dummy/iio_simple_dummy_buffer.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 118 drivers/iio/dummy/iio_simple_dummy_buffer.c int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev) iio_dev 184 drivers/iio/dummy/iio_simple_dummy_buffer.c void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev) iio_dev 30 drivers/iio/dummy/iio_simple_dummy_events.c int iio_simple_dummy_read_event_config(struct iio_dev *indio_dev, iio_dev 52 drivers/iio/dummy/iio_simple_dummy_events.c int iio_simple_dummy_write_event_config(struct iio_dev *indio_dev, iio_dev 117 drivers/iio/dummy/iio_simple_dummy_events.c int iio_simple_dummy_read_event_value(struct iio_dev *indio_dev, iio_dev 140 drivers/iio/dummy/iio_simple_dummy_events.c int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, iio_dev 156 drivers/iio/dummy/iio_simple_dummy_events.c struct iio_dev *indio_dev = private; iio_dev 175 drivers/iio/dummy/iio_simple_dummy_events.c struct iio_dev *indio_dev = private; iio_dev 234 drivers/iio/dummy/iio_simple_dummy_events.c int iio_simple_dummy_events_register(struct iio_dev *indio_dev) iio_dev 267 drivers/iio/dummy/iio_simple_dummy_events.c void iio_simple_dummy_events_unregister(struct iio_dev *indio_dev) iio_dev 299 drivers/iio/frequency/ad9523.c static int ad9523_read(struct iio_dev *indio_dev, unsigned int addr) iio_dev 333 drivers/iio/frequency/ad9523.c static int ad9523_write(struct iio_dev *indio_dev, iio_dev 361 drivers/iio/frequency/ad9523.c static int ad9523_io_update(struct iio_dev *indio_dev) iio_dev 366 drivers/iio/frequency/ad9523.c static int ad9523_vco_out_map(struct iio_dev *indio_dev, iio_dev 420 drivers/iio/frequency/ad9523.c static int ad9523_set_clock_provider(struct iio_dev *indio_dev, iio_dev 446 drivers/iio/frequency/ad9523.c static int ad9523_store_eeprom(struct iio_dev *indio_dev) iio_dev 484 drivers/iio/frequency/ad9523.c static int ad9523_sync(struct iio_dev *indio_dev) iio_dev 513 drivers/iio/frequency/ad9523.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 546 drivers/iio/frequency/ad9523.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 630 drivers/iio/frequency/ad9523.c static int ad9523_read_raw(struct iio_dev *indio_dev, iio_dev 666 drivers/iio/frequency/ad9523.c static int ad9523_write_raw(struct iio_dev *indio_dev, iio_dev 726 drivers/iio/frequency/ad9523.c static int ad9523_reg_access(struct iio_dev *indio_dev, iio_dev 758 drivers/iio/frequency/ad9523.c static int ad9523_setup(struct iio_dev *indio_dev) iio_dev 975 drivers/iio/frequency/ad9523.c struct iio_dev *indio_dev; iio_dev 1058 drivers/iio/frequency/ad9523.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 93 drivers/iio/frequency/adf4350.c static int adf4350_reg_access(struct iio_dev *indio_dev, iio_dev 244 drivers/iio/frequency/adf4350.c static ssize_t adf4350_write(struct iio_dev *indio_dev, iio_dev 304 drivers/iio/frequency/adf4350.c static ssize_t adf4350_read(struct iio_dev *indio_dev, iio_dev 495 drivers/iio/frequency/adf4350.c struct iio_dev *indio_dev; iio_dev 599 drivers/iio/frequency/adf4350.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 324 drivers/iio/frequency/adf4371.c static ssize_t adf4371_read(struct iio_dev *indio_dev, iio_dev 367 drivers/iio/frequency/adf4371.c static ssize_t adf4371_write(struct iio_dev *indio_dev, iio_dev 458 drivers/iio/frequency/adf4371.c static int adf4371_reg_access(struct iio_dev *indio_dev, iio_dev 553 drivers/iio/frequency/adf4371.c struct iio_dev *indio_dev; iio_dev 49 drivers/iio/gyro/adis16080.c static int adis16080_read_sample(struct iio_dev *indio_dev, iio_dev 74 drivers/iio/gyro/adis16080.c static int adis16080_read_raw(struct iio_dev *indio_dev, iio_dev 189 drivers/iio/gyro/adis16080.c struct iio_dev *indio_dev; iio_dev 45 drivers/iio/gyro/adis16130.c static int adis16130_spi_read(struct iio_dev *indio_dev, u8 reg_addr, u32 *val) iio_dev 68 drivers/iio/gyro/adis16130.c static int adis16130_read_raw(struct iio_dev *indio_dev, iio_dev 144 drivers/iio/gyro/adis16130.c struct iio_dev *indio_dev; iio_dev 147 drivers/iio/gyro/adis16136.c static int adis16136_debugfs_init(struct iio_dev *indio_dev) iio_dev 166 drivers/iio/gyro/adis16136.c static int adis16136_debugfs_init(struct iio_dev *indio_dev) iio_dev 205 drivers/iio/gyro/adis16136.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 225 drivers/iio/gyro/adis16136.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 252 drivers/iio/gyro/adis16136.c static int adis16136_set_filter(struct iio_dev *indio_dev, int val) iio_dev 270 drivers/iio/gyro/adis16136.c static int adis16136_get_filter(struct iio_dev *indio_dev, int *val) iio_dev 295 drivers/iio/gyro/adis16136.c static int adis16136_read_raw(struct iio_dev *indio_dev, iio_dev 334 drivers/iio/gyro/adis16136.c static int adis16136_write_raw(struct iio_dev *indio_dev, iio_dev 410 drivers/iio/gyro/adis16136.c static int adis16136_stop_device(struct iio_dev *indio_dev) iio_dev 423 drivers/iio/gyro/adis16136.c static int adis16136_initial_setup(struct iio_dev *indio_dev) iio_dev 505 drivers/iio/gyro/adis16136.c struct iio_dev *indio_dev; iio_dev 553 drivers/iio/gyro/adis16136.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 174 drivers/iio/gyro/adis16260.c static int adis16260_stop_device(struct iio_dev *indio_dev) iio_dev 191 drivers/iio/gyro/adis16260.c static int adis16260_read_raw(struct iio_dev *indio_dev, iio_dev 270 drivers/iio/gyro/adis16260.c static int adis16260_write_raw(struct iio_dev *indio_dev, iio_dev 359 drivers/iio/gyro/adis16260.c struct iio_dev *indio_dev; iio_dev 408 drivers/iio/gyro/adis16260.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 88 drivers/iio/gyro/adxrs450.c static int adxrs450_spi_read_reg_16(struct iio_dev *indio_dev, iio_dev 136 drivers/iio/gyro/adxrs450.c static int adxrs450_spi_write_reg_16(struct iio_dev *indio_dev, iio_dev 165 drivers/iio/gyro/adxrs450.c static int adxrs450_spi_sensor_data(struct iio_dev *indio_dev, s16 *val) iio_dev 235 drivers/iio/gyro/adxrs450.c static int adxrs450_initial_setup(struct iio_dev *indio_dev) iio_dev 282 drivers/iio/gyro/adxrs450.c static int adxrs450_write_raw(struct iio_dev *indio_dev, iio_dev 303 drivers/iio/gyro/adxrs450.c static int adxrs450_read_raw(struct iio_dev *indio_dev, iio_dev 415 drivers/iio/gyro/adxrs450.c struct iio_dev *indio_dev; iio_dev 548 drivers/iio/gyro/bmg160_core.c static int bmg160_read_raw(struct iio_dev *indio_dev, iio_dev 610 drivers/iio/gyro/bmg160_core.c static int bmg160_write_raw(struct iio_dev *indio_dev, iio_dev 688 drivers/iio/gyro/bmg160_core.c static int bmg160_read_event(struct iio_dev *indio_dev, iio_dev 709 drivers/iio/gyro/bmg160_core.c static int bmg160_write_event(struct iio_dev *indio_dev, iio_dev 732 drivers/iio/gyro/bmg160_core.c static int bmg160_read_event_config(struct iio_dev *indio_dev, iio_dev 743 drivers/iio/gyro/bmg160_core.c static int bmg160_write_event_config(struct iio_dev *indio_dev, iio_dev 791 drivers/iio/gyro/bmg160_core.c bmg160_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 877 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 898 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 922 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 969 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = private; iio_dev 1023 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = private; iio_dev 1038 drivers/iio/gyro/bmg160_core.c static int bmg160_buffer_preenable(struct iio_dev *indio_dev) iio_dev 1045 drivers/iio/gyro/bmg160_core.c static int bmg160_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 1074 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev; iio_dev 1191 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1216 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1228 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1244 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1259 drivers/iio/gyro/bmg160_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 528 drivers/iio/gyro/fxas21002c_core.c static int fxas21002c_read_raw(struct iio_dev *indio_dev, iio_dev 571 drivers/iio/gyro/fxas21002c_core.c static int fxas21002c_write_raw(struct iio_dev *indio_dev, iio_dev 667 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 721 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 733 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = private; iio_dev 743 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = private; iio_dev 763 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 866 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev; iio_dev 949 drivers/iio/gyro/fxas21002c_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 92 drivers/iio/gyro/hid-sensor-gyro-3d.c static int gyro_3d_read_raw(struct iio_dev *indio_dev, iio_dev 153 drivers/iio/gyro/hid-sensor-gyro-3d.c static int gyro_3d_write_raw(struct iio_dev *indio_dev, iio_dev 184 drivers/iio/gyro/hid-sensor-gyro-3d.c static void hid_sensor_push_data(struct iio_dev *indio_dev, const void *data, iio_dev 196 drivers/iio/gyro/hid-sensor-gyro-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 214 drivers/iio/gyro/hid-sensor-gyro-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 287 drivers/iio/gyro/hid-sensor-gyro-3d.c struct iio_dev *indio_dev; iio_dev 376 drivers/iio/gyro/hid-sensor-gyro-3d.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 47 drivers/iio/gyro/itg3200_buffer.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 63 drivers/iio/gyro/itg3200_buffer.c int itg3200_buffer_configure(struct iio_dev *indio_dev) iio_dev 69 drivers/iio/gyro/itg3200_buffer.c void itg3200_buffer_unconfigure(struct iio_dev *indio_dev) iio_dev 78 drivers/iio/gyro/itg3200_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 104 drivers/iio/gyro/itg3200_buffer.c int itg3200_probe_trigger(struct iio_dev *indio_dev) iio_dev 142 drivers/iio/gyro/itg3200_buffer.c void itg3200_remove_trigger(struct iio_dev *indio_dev) iio_dev 32 drivers/iio/gyro/itg3200_core.c int itg3200_write_reg_8(struct iio_dev *indio_dev, iio_dev 40 drivers/iio/gyro/itg3200_core.c int itg3200_read_reg_8(struct iio_dev *indio_dev, iio_dev 53 drivers/iio/gyro/itg3200_core.c static int itg3200_read_reg_s16(struct iio_dev *indio_dev, u8 lower_reg_address, iio_dev 84 drivers/iio/gyro/itg3200_core.c static int itg3200_read_raw(struct iio_dev *indio_dev, iio_dev 129 drivers/iio/gyro/itg3200_core.c static int itg3200_write_raw(struct iio_dev *indio_dev, iio_dev 168 drivers/iio/gyro/itg3200_core.c static int itg3200_reset(struct iio_dev *indio_dev) iio_dev 201 drivers/iio/gyro/itg3200_core.c static int itg3200_enable_full_scale(struct iio_dev *indio_dev) iio_dev 217 drivers/iio/gyro/itg3200_core.c static int itg3200_initial_setup(struct iio_dev *indio_dev) iio_dev 243 drivers/iio/gyro/itg3200_core.c itg3200_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 302 drivers/iio/gyro/itg3200_core.c struct iio_dev *indio_dev; iio_dev 358 drivers/iio/gyro/itg3200_core.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 372 drivers/iio/gyro/itg3200_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 383 drivers/iio/gyro/itg3200_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 261 drivers/iio/gyro/mpu3050-core.c static int mpu3050_read_raw(struct iio_dev *indio_dev, iio_dev 368 drivers/iio/gyro/mpu3050-core.c static int mpu3050_write_raw(struct iio_dev *indio_dev, iio_dev 461 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 640 drivers/iio/gyro/mpu3050-core.c static int mpu3050_buffer_preenable(struct iio_dev *indio_dev) iio_dev 653 drivers/iio/gyro/mpu3050-core.c static int mpu3050_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 671 drivers/iio/gyro/mpu3050-core.c mpu3050_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 900 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 915 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 942 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1039 drivers/iio/gyro/mpu3050-core.c static int mpu3050_trigger_probe(struct iio_dev *indio_dev, int irq) iio_dev 1134 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev; iio_dev 1258 drivers/iio/gyro/mpu3050-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 83 drivers/iio/gyro/mpu3050-i2c.c struct iio_dev *indio_dev = dev_get_drvdata(&client->dev); iio_dev 27 drivers/iio/gyro/ssp_gyro_sensor.c static int ssp_gyro_read_raw(struct iio_dev *indio_dev, iio_dev 46 drivers/iio/gyro/ssp_gyro_sensor.c static int ssp_gyro_write_raw(struct iio_dev *indio_dev, iio_dev 82 drivers/iio/gyro/ssp_gyro_sensor.c static int ssp_process_gyro_data(struct iio_dev *indio_dev, void *buf, iio_dev 97 drivers/iio/gyro/ssp_gyro_sensor.c struct iio_dev *indio_dev; iio_dev 36 drivers/iio/gyro/st_gyro.h int st_gyro_common_probe(struct iio_dev *indio_dev); iio_dev 37 drivers/iio/gyro/st_gyro.h void st_gyro_common_remove(struct iio_dev *indio_dev); iio_dev 40 drivers/iio/gyro/st_gyro.h int st_gyro_allocate_ring(struct iio_dev *indio_dev); iio_dev 41 drivers/iio/gyro/st_gyro.h void st_gyro_deallocate_ring(struct iio_dev *indio_dev); iio_dev 45 drivers/iio/gyro/st_gyro.h static inline int st_gyro_allocate_ring(struct iio_dev *indio_dev) iio_dev 49 drivers/iio/gyro/st_gyro.h static inline void st_gyro_deallocate_ring(struct iio_dev *indio_dev) iio_dev 27 drivers/iio/gyro/st_gyro_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 32 drivers/iio/gyro/st_gyro_buffer.c static int st_gyro_buffer_postenable(struct iio_dev *indio_dev) iio_dev 58 drivers/iio/gyro/st_gyro_buffer.c static int st_gyro_buffer_predisable(struct iio_dev *indio_dev) iio_dev 81 drivers/iio/gyro/st_gyro_buffer.c int st_gyro_allocate_ring(struct iio_dev *indio_dev) iio_dev 87 drivers/iio/gyro/st_gyro_buffer.c void st_gyro_deallocate_ring(struct iio_dev *indio_dev) iio_dev 361 drivers/iio/gyro/st_gyro_core.c static int st_gyro_read_raw(struct iio_dev *indio_dev, iio_dev 390 drivers/iio/gyro/st_gyro_core.c static int st_gyro_write_raw(struct iio_dev *indio_dev, iio_dev 461 drivers/iio/gyro/st_gyro_core.c int st_gyro_common_probe(struct iio_dev *indio_dev) iio_dev 522 drivers/iio/gyro/st_gyro_core.c void st_gyro_common_remove(struct iio_dev *indio_dev) iio_dev 70 drivers/iio/gyro/st_gyro_i2c.c struct iio_dev *indio_dev; iio_dev 74 drivers/iio/gyro/st_gyro_spi.c struct iio_dev *indio_dev; iio_dev 135 drivers/iio/health/afe4403.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 159 drivers/iio/health/afe4403.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 240 drivers/iio/health/afe4403.c static int afe4403_read_raw(struct iio_dev *indio_dev, iio_dev 279 drivers/iio/health/afe4403.c static int afe4403_write_raw(struct iio_dev *indio_dev, iio_dev 309 drivers/iio/health/afe4403.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 415 drivers/iio/health/afe4403.c struct iio_dev *indio_dev = spi_get_drvdata(to_spi_device(dev)); iio_dev 436 drivers/iio/health/afe4403.c struct iio_dev *indio_dev = spi_get_drvdata(to_spi_device(dev)); iio_dev 458 drivers/iio/health/afe4403.c struct iio_dev *indio_dev; iio_dev 581 drivers/iio/health/afe4403.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 169 drivers/iio/health/afe4404.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 193 drivers/iio/health/afe4404.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 246 drivers/iio/health/afe4404.c static int afe4404_read_raw(struct iio_dev *indio_dev, iio_dev 291 drivers/iio/health/afe4404.c static int afe4404_write_raw(struct iio_dev *indio_dev, iio_dev 328 drivers/iio/health/afe4404.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 421 drivers/iio/health/afe4404.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 442 drivers/iio/health/afe4404.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 465 drivers/iio/health/afe4404.c struct iio_dev *indio_dev; iio_dev 587 drivers/iio/health/afe4404.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 72 drivers/iio/health/max30100.c struct iio_dev *indio_dev; iio_dev 173 drivers/iio/health/max30100.c static int max30100_buffer_postenable(struct iio_dev *indio_dev) iio_dev 185 drivers/iio/health/max30100.c static int max30100_buffer_predisable(struct iio_dev *indio_dev) iio_dev 227 drivers/iio/health/max30100.c struct iio_dev *indio_dev = private; iio_dev 378 drivers/iio/health/max30100.c static int max30100_read_raw(struct iio_dev *indio_dev, iio_dev 423 drivers/iio/health/max30100.c struct iio_dev *indio_dev; iio_dev 481 drivers/iio/health/max30100.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 105 drivers/iio/health/max30102.c struct iio_dev *indio_dev; iio_dev 192 drivers/iio/health/max30102.c static int max30102_buffer_postenable(struct iio_dev *indio_dev) iio_dev 227 drivers/iio/health/max30102.c static int max30102_buffer_predisable(struct iio_dev *indio_dev) iio_dev 293 drivers/iio/health/max30102.c struct iio_dev *indio_dev = private; iio_dev 468 drivers/iio/health/max30102.c static int max30102_read_raw(struct iio_dev *indio_dev, iio_dev 511 drivers/iio/health/max30102.c struct iio_dev *indio_dev; iio_dev 602 drivers/iio/health/max30102.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 160 drivers/iio/humidity/am2315.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 190 drivers/iio/humidity/am2315.c static int am2315_read_raw(struct iio_dev *indio_dev, iio_dev 222 drivers/iio/humidity/am2315.c struct iio_dev *indio_dev; iio_dev 174 drivers/iio/humidity/dht11.c struct iio_dev *iio = data; iio_dev 190 drivers/iio/humidity/dht11.c static int dht11_read_raw(struct iio_dev *iio_dev, iio_dev 194 drivers/iio/humidity/dht11.c struct dht11 *dht11 = iio_priv(iio_dev); iio_dev 230 drivers/iio/humidity/dht11.c iio_dev->name, iio_dev); iio_dev 237 drivers/iio/humidity/dht11.c free_irq(dht11->irq, iio_dev); iio_dev 297 drivers/iio/humidity/dht11.c struct iio_dev *iio; iio_dev 191 drivers/iio/humidity/hdc100x.c static int hdc100x_read_raw(struct iio_dev *indio_dev, iio_dev 246 drivers/iio/humidity/hdc100x.c static int hdc100x_write_raw(struct iio_dev *indio_dev, iio_dev 276 drivers/iio/humidity/hdc100x.c static int hdc100x_buffer_postenable(struct iio_dev *indio_dev) iio_dev 292 drivers/iio/humidity/hdc100x.c static int hdc100x_buffer_predisable(struct iio_dev *indio_dev) iio_dev 317 drivers/iio/humidity/hdc100x.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 357 drivers/iio/humidity/hdc100x.c struct iio_dev *indio_dev; iio_dev 51 drivers/iio/humidity/hid-sensor-humidity.c static int humidity_read_raw(struct iio_dev *indio_dev, iio_dev 97 drivers/iio/humidity/hid-sensor-humidity.c static int humidity_write_raw(struct iio_dev *indio_dev, iio_dev 126 drivers/iio/humidity/hid-sensor-humidity.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 142 drivers/iio/humidity/hid-sensor-humidity.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 199 drivers/iio/humidity/hid-sensor-humidity.c struct iio_dev *indio_dev; iio_dev 272 drivers/iio/humidity/hid-sensor-humidity.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 40 drivers/iio/humidity/hts221_buffer.c struct iio_dev *iio_dev = iio_trigger_get_drvdata(trig); iio_dev 41 drivers/iio/humidity/hts221_buffer.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 77 drivers/iio/humidity/hts221_buffer.c struct iio_dev *iio_dev = iio_priv_to_dev(hw); iio_dev 134 drivers/iio/humidity/hts221_buffer.c iio_dev->name); iio_dev 138 drivers/iio/humidity/hts221_buffer.c iio_trigger_set_drvdata(hw->trig, iio_dev); iio_dev 141 drivers/iio/humidity/hts221_buffer.c iio_dev->trig = iio_trigger_get(hw->trig); iio_dev 146 drivers/iio/humidity/hts221_buffer.c static int hts221_buffer_preenable(struct iio_dev *iio_dev) iio_dev 148 drivers/iio/humidity/hts221_buffer.c return hts221_set_enable(iio_priv(iio_dev), true); iio_dev 151 drivers/iio/humidity/hts221_buffer.c static int hts221_buffer_postdisable(struct iio_dev *iio_dev) iio_dev 153 drivers/iio/humidity/hts221_buffer.c return hts221_set_enable(iio_priv(iio_dev), false); iio_dev 167 drivers/iio/humidity/hts221_buffer.c struct iio_dev *iio_dev = pf->indio_dev; iio_dev 168 drivers/iio/humidity/hts221_buffer.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 173 drivers/iio/humidity/hts221_buffer.c ch = &iio_dev->channels[HTS221_SENSOR_H]; iio_dev 180 drivers/iio/humidity/hts221_buffer.c ch = &iio_dev->channels[HTS221_SENSOR_T]; iio_dev 186 drivers/iio/humidity/hts221_buffer.c iio_push_to_buffers_with_timestamp(iio_dev, buffer, iio_dev 187 drivers/iio/humidity/hts221_buffer.c iio_get_time_ns(iio_dev)); iio_dev 427 drivers/iio/humidity/hts221_core.c static int hts221_read_raw(struct iio_dev *iio_dev, iio_dev 431 drivers/iio/humidity/hts221_core.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 434 drivers/iio/humidity/hts221_core.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 480 drivers/iio/humidity/hts221_core.c iio_device_release_direct_mode(iio_dev); iio_dev 485 drivers/iio/humidity/hts221_core.c static int hts221_write_raw(struct iio_dev *iio_dev, iio_dev 489 drivers/iio/humidity/hts221_core.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 492 drivers/iio/humidity/hts221_core.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 518 drivers/iio/humidity/hts221_core.c iio_device_release_direct_mode(iio_dev); iio_dev 523 drivers/iio/humidity/hts221_core.c static int hts221_validate_trigger(struct iio_dev *iio_dev, iio_dev 526 drivers/iio/humidity/hts221_core.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 560 drivers/iio/humidity/hts221_core.c struct iio_dev *iio_dev; iio_dev 565 drivers/iio/humidity/hts221_core.c iio_dev = devm_iio_device_alloc(dev, sizeof(*hw)); iio_dev 566 drivers/iio/humidity/hts221_core.c if (!iio_dev) iio_dev 569 drivers/iio/humidity/hts221_core.c dev_set_drvdata(dev, (void *)iio_dev); iio_dev 571 drivers/iio/humidity/hts221_core.c hw = iio_priv(iio_dev); iio_dev 581 drivers/iio/humidity/hts221_core.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 582 drivers/iio/humidity/hts221_core.c iio_dev->dev.parent = hw->dev; iio_dev 583 drivers/iio/humidity/hts221_core.c iio_dev->available_scan_masks = hts221_scan_masks; iio_dev 584 drivers/iio/humidity/hts221_core.c iio_dev->channels = hts221_channels; iio_dev 585 drivers/iio/humidity/hts221_core.c iio_dev->num_channels = ARRAY_SIZE(hts221_channels); iio_dev 586 drivers/iio/humidity/hts221_core.c iio_dev->name = HTS221_DEV_NAME; iio_dev 587 drivers/iio/humidity/hts221_core.c iio_dev->info = &hts221_info; iio_dev 640 drivers/iio/humidity/hts221_core.c return devm_iio_device_register(hw->dev, iio_dev); iio_dev 646 drivers/iio/humidity/hts221_core.c struct iio_dev *iio_dev = dev_get_drvdata(dev); iio_dev 647 drivers/iio/humidity/hts221_core.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 656 drivers/iio/humidity/hts221_core.c struct iio_dev *iio_dev = dev_get_drvdata(dev); iio_dev 657 drivers/iio/humidity/hts221_core.c struct hts221_hw *hw = iio_priv(iio_dev); iio_dev 38 drivers/iio/humidity/htu21.c static int htu21_read_raw(struct iio_dev *indio_dev, iio_dev 77 drivers/iio/humidity/htu21.c static int htu21_write_raw(struct iio_dev *indio_dev, iio_dev 131 drivers/iio/humidity/htu21.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 140 drivers/iio/humidity/htu21.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 150 drivers/iio/humidity/htu21.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 183 drivers/iio/humidity/htu21.c struct iio_dev *indio_dev; iio_dev 73 drivers/iio/humidity/si7005.c static int si7005_read_raw(struct iio_dev *indio_dev, iio_dev 129 drivers/iio/humidity/si7005.c struct iio_dev *indio_dev; iio_dev 36 drivers/iio/humidity/si7020.c static int si7020_read_raw(struct iio_dev *indio_dev, iio_dev 108 drivers/iio/humidity/si7020.c struct iio_dev *indio_dev; iio_dev 16 drivers/iio/iio_core.h struct iio_dev; iio_dev 48 drivers/iio/iio_core.h int iio_buffer_alloc_sysfs_and_mask(struct iio_dev *indio_dev); iio_dev 49 drivers/iio/iio_core.h void iio_buffer_free_sysfs_and_mask(struct iio_dev *indio_dev); iio_dev 54 drivers/iio/iio_core.h void iio_disable_all_buffers(struct iio_dev *indio_dev); iio_dev 55 drivers/iio/iio_core.h void iio_buffer_wakeup_poll(struct iio_dev *indio_dev); iio_dev 62 drivers/iio/iio_core.h static inline int iio_buffer_alloc_sysfs_and_mask(struct iio_dev *indio_dev) iio_dev 67 drivers/iio/iio_core.h static inline void iio_buffer_free_sysfs_and_mask(struct iio_dev *indio_dev) {} iio_dev 69 drivers/iio/iio_core.h static inline void iio_disable_all_buffers(struct iio_dev *indio_dev) {} iio_dev 70 drivers/iio/iio_core.h static inline void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) {} iio_dev 74 drivers/iio/iio_core.h int iio_device_register_eventset(struct iio_dev *indio_dev); iio_dev 75 drivers/iio/iio_core.h void iio_device_unregister_eventset(struct iio_dev *indio_dev); iio_dev 76 drivers/iio/iio_core.h void iio_device_wakeup_eventset(struct iio_dev *indio_dev); iio_dev 77 drivers/iio/iio_core.h int iio_event_getfd(struct iio_dev *indio_dev); iio_dev 13 drivers/iio/iio_core_trigger.h void iio_device_register_trigger_consumer(struct iio_dev *indio_dev); iio_dev 19 drivers/iio/iio_core_trigger.h void iio_device_unregister_trigger_consumer(struct iio_dev *indio_dev); iio_dev 27 drivers/iio/iio_core_trigger.h static int iio_device_register_trigger_consumer(struct iio_dev *indio_dev) iio_dev 36 drivers/iio/iio_core_trigger.h static void iio_device_unregister_trigger_consumer(struct iio_dev *indio_dev) iio_dev 222 drivers/iio/imu/adis.c int adis_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 393 drivers/iio/imu/adis.c int adis_single_conversion(struct iio_dev *indio_dev, iio_dev 437 drivers/iio/imu/adis.c int adis_init(struct adis *adis, struct iio_dev *indio_dev, iio_dev 279 drivers/iio/imu/adis16400.c static int adis16400_debugfs_init(struct iio_dev *indio_dev) iio_dev 299 drivers/iio/imu/adis16400.c static int adis16400_debugfs_init(struct iio_dev *indio_dev) iio_dev 407 drivers/iio/imu/adis16400.c static int adis16400_set_filter(struct iio_dev *indio_dev, int sps, int val) iio_dev 428 drivers/iio/imu/adis16400.c static int adis16400_stop_device(struct iio_dev *indio_dev) iio_dev 442 drivers/iio/imu/adis16400.c static int adis16400_initial_setup(struct iio_dev *indio_dev) iio_dev 506 drivers/iio/imu/adis16400.c static int adis16400_write_raw(struct iio_dev *indio_dev, iio_dev 552 drivers/iio/imu/adis16400.c static int adis16400_read_raw(struct iio_dev *indio_dev, iio_dev 648 drivers/iio/imu/adis16400.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1127 drivers/iio/imu/adis16400.c struct iio_dev *indio_dev; iio_dev 1182 drivers/iio/imu/adis16400.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 129 drivers/iio/imu/adis16460.c static int adis16460_debugfs_init(struct iio_dev *indio_dev) iio_dev 145 drivers/iio/imu/adis16460.c static int adis16460_debugfs_init(struct iio_dev *indio_dev) iio_dev 152 drivers/iio/imu/adis16460.c static int adis16460_set_freq(struct iio_dev *indio_dev, int val, int val2) iio_dev 171 drivers/iio/imu/adis16460.c static int adis16460_get_freq(struct iio_dev *indio_dev, int *val, int *val2) iio_dev 189 drivers/iio/imu/adis16460.c static int adis16460_read_raw(struct iio_dev *indio_dev, iio_dev 223 drivers/iio/imu/adis16460.c static int adis16460_write_raw(struct iio_dev *indio_dev, iio_dev 336 drivers/iio/imu/adis16460.c static int adis16460_initial_setup(struct iio_dev *indio_dev) iio_dev 405 drivers/iio/imu/adis16460.c struct iio_dev *indio_dev; iio_dev 454 drivers/iio/imu/adis16460.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 283 drivers/iio/imu/adis16480.c static int adis16480_debugfs_init(struct iio_dev *indio_dev) iio_dev 308 drivers/iio/imu/adis16480.c static int adis16480_debugfs_init(struct iio_dev *indio_dev) iio_dev 315 drivers/iio/imu/adis16480.c static int adis16480_set_freq(struct iio_dev *indio_dev, int val, int val2) iio_dev 351 drivers/iio/imu/adis16480.c static int adis16480_get_freq(struct iio_dev *indio_dev, int *val, int *val2) iio_dev 422 drivers/iio/imu/adis16480.c static int adis16480_set_calibbias(struct iio_dev *indio_dev, iio_dev 444 drivers/iio/imu/adis16480.c static int adis16480_get_calibbias(struct iio_dev *indio_dev, iio_dev 476 drivers/iio/imu/adis16480.c static int adis16480_set_calibscale(struct iio_dev *indio_dev, iio_dev 488 drivers/iio/imu/adis16480.c static int adis16480_get_calibscale(struct iio_dev *indio_dev, iio_dev 530 drivers/iio/imu/adis16480.c static int adis16480_get_filter_freq(struct iio_dev *indio_dev, iio_dev 554 drivers/iio/imu/adis16480.c static int adis16480_set_filter_freq(struct iio_dev *indio_dev, iio_dev 595 drivers/iio/imu/adis16480.c static int adis16480_read_raw(struct iio_dev *indio_dev, iio_dev 656 drivers/iio/imu/adis16480.c static int adis16480_write_raw(struct iio_dev *indio_dev, iio_dev 932 drivers/iio/imu/adis16480.c static int adis16480_stop_device(struct iio_dev *indio_dev) iio_dev 960 drivers/iio/imu/adis16480.c static int adis16480_initial_setup(struct iio_dev *indio_dev) iio_dev 1194 drivers/iio/imu/adis16480.c struct iio_dev *indio_dev; iio_dev 1264 drivers/iio/imu/adis16480.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 22 drivers/iio/imu/adis_buffer.c static int adis_update_scan_mode_burst(struct iio_dev *indio_dev, iio_dev 62 drivers/iio/imu/adis_buffer.c int adis_update_scan_mode(struct iio_dev *indio_dev, iio_dev 124 drivers/iio/imu/adis_buffer.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 174 drivers/iio/imu/adis_buffer.c int adis_setup_buffer_and_trigger(struct adis *adis, struct iio_dev *indio_dev, iio_dev 208 drivers/iio/imu/adis_buffer.c struct iio_dev *indio_dev) iio_dev 39 drivers/iio/imu/adis_trigger.c int adis_probe_trigger(struct adis *adis, struct iio_dev *indio_dev) iio_dev 19 drivers/iio/imu/bmi160/bmi160.h int bmi160_probe_trigger(struct iio_dev *indio_dev, int irq, u32 irq_type); iio_dev 412 drivers/iio/imu/bmi160/bmi160_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 434 drivers/iio/imu/bmi160/bmi160_core.c static int bmi160_read_raw(struct iio_dev *indio_dev, iio_dev 463 drivers/iio/imu/bmi160/bmi160_core.c static int bmi160_write_raw(struct iio_dev *indio_dev, iio_dev 655 drivers/iio/imu/bmi160/bmi160_core.c static int bmi160_config_device_irq(struct iio_dev *indio_dev, int irq_type, iio_dev 684 drivers/iio/imu/bmi160/bmi160_core.c static int bmi160_setup_irq(struct iio_dev *indio_dev, int irq, iio_dev 753 drivers/iio/imu/bmi160/bmi160_core.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 763 drivers/iio/imu/bmi160/bmi160_core.c int bmi160_probe_trigger(struct iio_dev *indio_dev, int irq, u32 irq_type) iio_dev 804 drivers/iio/imu/bmi160/bmi160_core.c struct iio_dev *indio_dev; iio_dev 311 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c static int inv_mpu6050_init_config(struct iio_dev *indio_dev) iio_dev 389 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c static int inv_mpu6050_read_channel_data(struct iio_dev *indio_dev, iio_dev 449 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c inv_mpu6050_read_raw(struct iio_dev *indio_dev, iio_dev 540 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c static int inv_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 578 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c static int inv_mpu6050_write_raw(struct iio_dev *indio_dev, iio_dev 687 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 792 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c static int inv_mpu6050_validate_trigger(struct iio_dev *indio_dev, iio_dev 804 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c inv_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 1072 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type) iio_dev 1075 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c struct iio_dev *indio_dev; iio_dev 22 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c struct iio_dev *indio_dev = i2c_mux_priv(muxc); iio_dev 43 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c struct iio_dev *indio_dev = i2c_mux_priv(muxc); iio_dev 152 drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 345 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h int inv_mpu6050_probe_trigger(struct iio_dev *indio_dev, int irq_type); iio_dev 346 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h int inv_reset_fifo(struct iio_dev *indio_dev); iio_dev 353 drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type); iio_dev 93 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c int inv_reset_fifo(struct iio_dev *indio_dev) iio_dev 164 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 17 drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c static int inv_mpu_i2c_disable(struct iio_dev *indio_dev) iio_dev 8 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c static void inv_scan_query(struct iio_dev *indio_dev) iio_dev 34 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c static int inv_mpu6050_set_enable(struct iio_dev *indio_dev, bool enable) iio_dev 114 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 129 drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c int inv_mpu6050_probe_trigger(struct iio_dev *indio_dev, int irq_type) iio_dev 136 drivers/iio/imu/kmx61.c struct iio_dev *acc_indio_dev; iio_dev 144 drivers/iio/imu/kmx61.c struct iio_dev *mag_indio_dev; iio_dev 279 drivers/iio/imu/kmx61.c static void kmx61_set_data(struct iio_dev *indio_dev, struct kmx61_data *data) iio_dev 286 drivers/iio/imu/kmx61.c static struct kmx61_data *kmx61_get_data(struct iio_dev *indio_dev) iio_dev 783 drivers/iio/imu/kmx61.c static int kmx61_read_raw(struct iio_dev *indio_dev, iio_dev 853 drivers/iio/imu/kmx61.c static int kmx61_write_raw(struct iio_dev *indio_dev, iio_dev 886 drivers/iio/imu/kmx61.c static int kmx61_read_event(struct iio_dev *indio_dev, iio_dev 908 drivers/iio/imu/kmx61.c static int kmx61_write_event(struct iio_dev *indio_dev, iio_dev 932 drivers/iio/imu/kmx61.c static int kmx61_read_event_config(struct iio_dev *indio_dev, iio_dev 942 drivers/iio/imu/kmx61.c static int kmx61_write_event_config(struct iio_dev *indio_dev, iio_dev 979 drivers/iio/imu/kmx61.c static int kmx61_acc_validate_trigger(struct iio_dev *indio_dev, iio_dev 990 drivers/iio/imu/kmx61.c static int kmx61_mag_validate_trigger(struct iio_dev *indio_dev, iio_dev 1026 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1068 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1089 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev = data->acc_indio_dev; iio_dev 1197 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1237 drivers/iio/imu/kmx61.c static struct iio_dev *kmx61_indiodev_setup(struct kmx61_data *data, iio_dev 1243 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev; iio_dev 1262 drivers/iio/imu/kmx61.c struct iio_dev *indio_dev, iio_dev 327 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h struct iio_dev *iio_devs[ST_LSM6DSX_ID_MAX]; iio_dev 340 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h int st_lsm6dsx_set_watermark(struct iio_dev *iio_dev, unsigned int val); iio_dev 464 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c struct iio_dev *iio_dev; iio_dev 474 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_GYRO]; iio_dev 477 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_ACC]; iio_dev 481 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_EXT0]; iio_dev 483 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_EXT1]; iio_dev 485 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_EXT2]; iio_dev 490 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_EXT1]; iio_dev 492 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_EXT2]; iio_dev 495 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_dev = hw->iio_devs[ST_LSM6DSX_ID_EXT2]; iio_dev 501 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c sensor = iio_priv(iio_dev); iio_dev 502 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c iio_push_to_buffers_with_timestamp(iio_dev, data, iio_dev 676 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c static int st_lsm6dsx_buffer_preenable(struct iio_dev *iio_dev) iio_dev 678 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 687 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c static int st_lsm6dsx_buffer_postdisable(struct iio_dev *iio_dev) iio_dev 689 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 1102 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c static int st_lsm6dsx_read_raw(struct iio_dev *iio_dev, iio_dev 1106 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 1111 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 1116 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_device_release_direct_mode(iio_dev); iio_dev 1135 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c static int st_lsm6dsx_write_raw(struct iio_dev *iio_dev, iio_dev 1139 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 1142 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c err = iio_device_claim_direct_mode(iio_dev); iio_dev 1165 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_device_release_direct_mode(iio_dev); iio_dev 1170 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c int st_lsm6dsx_set_watermark(struct iio_dev *iio_dev, unsigned int val) iio_dev 1172 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 1439 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c static struct iio_dev *st_lsm6dsx_alloc_iiodev(struct st_lsm6dsx_hw *hw, iio_dev 1444 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c struct iio_dev *iio_dev; iio_dev 1446 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev = devm_iio_device_alloc(hw->dev, sizeof(*sensor)); iio_dev 1447 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c if (!iio_dev) iio_dev 1450 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 1451 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->dev.parent = hw->dev; iio_dev 1452 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->available_scan_masks = st_lsm6dsx_available_scan_masks; iio_dev 1453 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->channels = hw->settings->channels[id].chan; iio_dev 1454 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->num_channels = hw->settings->channels[id].len; iio_dev 1456 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c sensor = iio_priv(iio_dev); iio_dev 1465 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->info = &st_lsm6dsx_acc_info; iio_dev 1470 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->info = &st_lsm6dsx_gyro_info; iio_dev 1477 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c iio_dev->name = sensor->name; iio_dev 1479 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c return iio_dev; iio_dev 466 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c st_lsm6dsx_shub_read_raw(struct iio_dev *iio_dev, iio_dev 470 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 475 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 480 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_device_release_direct_mode(iio_dev); iio_dev 500 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c st_lsm6dsx_shub_write_raw(struct iio_dev *iio_dev, iio_dev 504 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); iio_dev 507 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c err = iio_device_claim_direct_mode(iio_dev); iio_dev 525 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_device_release_direct_mode(iio_dev); iio_dev 589 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c static struct iio_dev * iio_dev 597 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c struct iio_dev *iio_dev; iio_dev 599 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev = devm_iio_device_alloc(hw->dev, sizeof(*sensor)); iio_dev 600 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c if (!iio_dev) iio_dev 603 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 604 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->dev.parent = hw->dev; iio_dev 605 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->info = &st_lsm6dsx_ext_info; iio_dev 607 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c sensor = iio_priv(iio_dev); iio_dev 634 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->available_scan_masks = st_lsm6dsx_available_scan_masks; iio_dev 635 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->channels = ext_channels; iio_dev 636 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->num_channels = ARRAY_SIZE(magn_channels); iio_dev 645 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c iio_dev->name = sensor->name; iio_dev 647 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c return iio_dev; iio_dev 42 drivers/iio/industrialio-buffer.c static int iio_buffer_flush_hwfifo(struct iio_dev *indio_dev, iio_dev 51 drivers/iio/industrialio-buffer.c static bool iio_buffer_ready(struct iio_dev *indio_dev, struct iio_buffer *buf, iio_dev 105 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = filp->private_data; iio_dev 171 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = filp->private_data; iio_dev 190 drivers/iio/industrialio-buffer.c void iio_buffer_wakeup_poll(struct iio_dev *indio_dev) iio_dev 264 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 294 drivers/iio/industrialio-buffer.c static bool iio_validate_scan_mask(struct iio_dev *indio_dev, iio_dev 313 drivers/iio/industrialio-buffer.c static int iio_scan_mask_set(struct iio_dev *indio_dev, iio_dev 357 drivers/iio/industrialio-buffer.c static int iio_scan_mask_query(struct iio_dev *indio_dev, iio_dev 377 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 413 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 423 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 442 drivers/iio/industrialio-buffer.c static int iio_buffer_add_channel_sysfs(struct iio_dev *indio_dev, iio_dev 499 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 509 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 542 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 546 drivers/iio/industrialio-buffer.c static unsigned int iio_storage_bytes_for_si(struct iio_dev *indio_dev, iio_dev 559 drivers/iio/industrialio-buffer.c static unsigned int iio_storage_bytes_for_timestamp(struct iio_dev *indio_dev) iio_dev 565 drivers/iio/industrialio-buffer.c static int iio_compute_scan_bytes(struct iio_dev *indio_dev, iio_dev 591 drivers/iio/industrialio-buffer.c static void iio_buffer_activate(struct iio_dev *indio_dev, iio_dev 605 drivers/iio/industrialio-buffer.c static void iio_buffer_deactivate_all(struct iio_dev *indio_dev) iio_dev 615 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev) iio_dev 623 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev) iio_dev 630 drivers/iio/industrialio-buffer.c static void iio_buffer_update_bytes_per_datum(struct iio_dev *indio_dev, iio_dev 644 drivers/iio/industrialio-buffer.c static int iio_buffer_request_update(struct iio_dev *indio_dev, iio_dev 663 drivers/iio/industrialio-buffer.c static void iio_free_scan_mask(struct iio_dev *indio_dev, iio_dev 679 drivers/iio/industrialio-buffer.c static int iio_verify_update(struct iio_dev *indio_dev, iio_dev 822 drivers/iio/industrialio-buffer.c static int iio_buffer_update_demux(struct iio_dev *indio_dev, iio_dev 888 drivers/iio/industrialio-buffer.c static int iio_update_demux(struct iio_dev *indio_dev) iio_dev 907 drivers/iio/industrialio-buffer.c static int iio_enable_buffers(struct iio_dev *indio_dev, iio_dev 978 drivers/iio/industrialio-buffer.c static int iio_disable_buffers(struct iio_dev *indio_dev) iio_dev 1021 drivers/iio/industrialio-buffer.c static int __iio_update_buffers(struct iio_dev *indio_dev, iio_dev 1074 drivers/iio/industrialio-buffer.c int iio_update_buffers(struct iio_dev *indio_dev, iio_dev 1112 drivers/iio/industrialio-buffer.c void iio_disable_all_buffers(struct iio_dev *indio_dev) iio_dev 1125 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1158 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1169 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1203 drivers/iio/industrialio-buffer.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1231 drivers/iio/industrialio-buffer.c int iio_buffer_alloc_sysfs_and_mask(struct iio_dev *indio_dev) iio_dev 1342 drivers/iio/industrialio-buffer.c void iio_buffer_free_sysfs_and_mask(struct iio_dev *indio_dev) iio_dev 1362 drivers/iio/industrialio-buffer.c bool iio_validate_scan_mask_onehot(struct iio_dev *indio_dev, iio_dev 1405 drivers/iio/industrialio-buffer.c int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data) iio_dev 1471 drivers/iio/industrialio-buffer.c void iio_device_attach_buffer(struct iio_dev *indio_dev, iio_dev 172 drivers/iio/industrialio-core.c *iio_find_channel_from_si(struct iio_dev *indio_dev, int si) iio_dev 191 drivers/iio/industrialio-core.c static int iio_device_set_clock(struct iio_dev *indio_dev, clockid_t clock_id) iio_dev 214 drivers/iio/industrialio-core.c s64 iio_get_time_ns(const struct iio_dev *indio_dev) iio_dev 245 drivers/iio/industrialio-core.c unsigned int iio_get_time_res(const struct iio_dev *indio_dev) iio_dev 302 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = file->private_data; iio_dev 324 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = file->private_data; iio_dev 364 drivers/iio/industrialio-core.c static void iio_device_unregister_debugfs(struct iio_dev *indio_dev) iio_dev 369 drivers/iio/industrialio-core.c static void iio_device_register_debugfs(struct iio_dev *indio_dev) iio_dev 386 drivers/iio/industrialio-core.c static void iio_device_register_debugfs(struct iio_dev *indio_dev) iio_dev 390 drivers/iio/industrialio-core.c static void iio_device_unregister_debugfs(struct iio_dev *indio_dev) iio_dev 399 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 413 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 423 drivers/iio/industrialio-core.c ssize_t iio_enum_available_read(struct iio_dev *indio_dev, iio_dev 443 drivers/iio/industrialio-core.c ssize_t iio_enum_read(struct iio_dev *indio_dev, iio_dev 462 drivers/iio/industrialio-core.c ssize_t iio_enum_write(struct iio_dev *indio_dev, iio_dev 497 drivers/iio/industrialio-core.c ssize_t iio_show_mount_matrix(struct iio_dev *indio_dev, uintptr_t priv, iio_dev 634 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 745 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 837 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1056 drivers/iio/industrialio-core.c static int iio_device_add_info_mask_type(struct iio_dev *indio_dev, iio_dev 1084 drivers/iio/industrialio-core.c static int iio_device_add_info_mask_type_avail(struct iio_dev *indio_dev, iio_dev 1120 drivers/iio/industrialio-core.c static int iio_device_add_channel_sysfs(struct iio_dev *indio_dev, iio_dev 1235 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1245 drivers/iio/industrialio-core.c const struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1321 drivers/iio/industrialio-core.c static int iio_device_register_sysfs(struct iio_dev *indio_dev) iio_dev 1393 drivers/iio/industrialio-core.c static void iio_device_unregister_sysfs(struct iio_dev *indio_dev) iio_dev 1403 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = dev_to_iio_dev(device); iio_dev 1424 drivers/iio/industrialio-core.c struct iio_dev *iio_device_alloc(int sizeof_priv) iio_dev 1426 drivers/iio/industrialio-core.c struct iio_dev *dev; iio_dev 1429 drivers/iio/industrialio-core.c alloc_size = sizeof(struct iio_dev); iio_dev 1468 drivers/iio/industrialio-core.c void iio_device_free(struct iio_dev *dev) iio_dev 1477 drivers/iio/industrialio-core.c iio_device_free(*(struct iio_dev **)res); iio_dev 1482 drivers/iio/industrialio-core.c struct iio_dev **r = res; iio_dev 1505 drivers/iio/industrialio-core.c struct iio_dev *devm_iio_device_alloc(struct device *dev, int sizeof_priv) iio_dev 1507 drivers/iio/industrialio-core.c struct iio_dev **ptr, *iio_dev; iio_dev 1514 drivers/iio/industrialio-core.c iio_dev = iio_device_alloc(sizeof_priv); iio_dev 1515 drivers/iio/industrialio-core.c if (iio_dev) { iio_dev 1516 drivers/iio/industrialio-core.c *ptr = iio_dev; iio_dev 1522 drivers/iio/industrialio-core.c return iio_dev; iio_dev 1533 drivers/iio/industrialio-core.c void devm_iio_device_free(struct device *dev, struct iio_dev *iio_dev) iio_dev 1538 drivers/iio/industrialio-core.c devm_iio_device_match, iio_dev); iio_dev 1553 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = container_of(inode->i_cdev, iio_dev 1554 drivers/iio/industrialio-core.c struct iio_dev, chrdev); iio_dev 1575 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = container_of(inode->i_cdev, iio_dev 1576 drivers/iio/industrialio-core.c struct iio_dev, chrdev); iio_dev 1587 drivers/iio/industrialio-core.c struct iio_dev *indio_dev = filp->private_data; iio_dev 1616 drivers/iio/industrialio-core.c static int iio_check_unique_scan_index(struct iio_dev *indio_dev) iio_dev 1641 drivers/iio/industrialio-core.c int __iio_device_register(struct iio_dev *indio_dev, struct module *this_mod) iio_dev 1714 drivers/iio/industrialio-core.c void iio_device_unregister(struct iio_dev *indio_dev) iio_dev 1737 drivers/iio/industrialio-core.c iio_device_unregister(*(struct iio_dev **)res); iio_dev 1740 drivers/iio/industrialio-core.c int __devm_iio_device_register(struct device *dev, struct iio_dev *indio_dev, iio_dev 1743 drivers/iio/industrialio-core.c struct iio_dev **ptr; iio_dev 1768 drivers/iio/industrialio-core.c void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev) iio_dev 1789 drivers/iio/industrialio-core.c int iio_device_claim_direct_mode(struct iio_dev *indio_dev) iio_dev 1810 drivers/iio/industrialio-core.c void iio_device_release_direct_mode(struct iio_dev *indio_dev) iio_dev 63 drivers/iio/industrialio-event.c int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp) iio_dev 98 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = filep->private_data; iio_dev 118 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = filep->private_data; iio_dev 167 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = filep->private_data; iio_dev 185 drivers/iio/industrialio-event.c int iio_event_getfd(struct iio_dev *indio_dev) iio_dev 262 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 282 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 299 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 320 drivers/iio/industrialio-event.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 341 drivers/iio/industrialio-event.c static int iio_device_add_event(struct iio_dev *indio_dev, iio_dev 394 drivers/iio/industrialio-event.c static int iio_device_add_event_sysfs(struct iio_dev *indio_dev, iio_dev 436 drivers/iio/industrialio-event.c static inline int __iio_add_event_config_attrs(struct iio_dev *indio_dev) iio_dev 451 drivers/iio/industrialio-event.c static bool iio_check_for_dynamic_events(struct iio_dev *indio_dev) iio_dev 470 drivers/iio/industrialio-event.c int iio_device_register_eventset(struct iio_dev *indio_dev) iio_dev 540 drivers/iio/industrialio-event.c void iio_device_wakeup_eventset(struct iio_dev *indio_dev) iio_dev 547 drivers/iio/industrialio-event.c void iio_device_unregister_eventset(struct iio_dev *indio_dev) iio_dev 118 drivers/iio/industrialio-trigger.c int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig) iio_dev 327 drivers/iio/industrialio-trigger.c struct iio_dev *indio_dev, iio_dev 377 drivers/iio/industrialio-trigger.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 403 drivers/iio/industrialio-trigger.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 722 drivers/iio/industrialio-trigger.c bool iio_trigger_using_own(struct iio_dev *indio_dev) iio_dev 741 drivers/iio/industrialio-trigger.c struct iio_dev *indio_dev) iio_dev 749 drivers/iio/industrialio-trigger.c void iio_device_register_trigger_consumer(struct iio_dev *indio_dev) iio_dev 755 drivers/iio/industrialio-trigger.c void iio_device_unregister_trigger_consumer(struct iio_dev *indio_dev) iio_dev 762 drivers/iio/industrialio-trigger.c int iio_triggered_buffer_postenable(struct iio_dev *indio_dev) iio_dev 769 drivers/iio/industrialio-trigger.c int iio_triggered_buffer_predisable(struct iio_dev *indio_dev) iio_dev 30 drivers/iio/industrialio-triggered-event.c int iio_triggered_event_setup(struct iio_dev *indio_dev, iio_dev 55 drivers/iio/industrialio-triggered-event.c void iio_triggered_event_cleanup(struct iio_dev *indio_dev) iio_dev 19 drivers/iio/inkern.c struct iio_dev *indio_dev; iio_dev 27 drivers/iio/inkern.c int iio_map_array_register(struct iio_dev *indio_dev, struct iio_map *maps) iio_dev 58 drivers/iio/inkern.c int iio_map_array_unregister(struct iio_dev *indio_dev) iio_dev 77 drivers/iio/inkern.c *iio_chan_spec_from_name(const struct iio_dev *indio_dev, const char *name) iio_dev 108 drivers/iio/inkern.c static int __of_iio_simple_xlate(struct iio_dev *indio_dev, iio_dev 127 drivers/iio/inkern.c struct iio_dev *indio_dev; iio_dev 105 drivers/iio/light/acpi-als.c struct iio_dev *indio_dev = acpi_driver_data(device); iio_dev 136 drivers/iio/light/acpi-als.c static int acpi_als_read_raw(struct iio_dev *indio_dev, iio_dev 167 drivers/iio/light/acpi-als.c struct iio_dev *indio_dev; iio_dev 68 drivers/iio/light/adjd_s311.c static int adjd_s311_req_data(struct iio_dev *indio_dev) iio_dev 96 drivers/iio/light/adjd_s311.c static int adjd_s311_read_data(struct iio_dev *indio_dev, u8 reg, int *val) iio_dev 116 drivers/iio/light/adjd_s311.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 168 drivers/iio/light/adjd_s311.c static int adjd_s311_read_raw(struct iio_dev *indio_dev, iio_dev 205 drivers/iio/light/adjd_s311.c static int adjd_s311_write_raw(struct iio_dev *indio_dev, iio_dev 228 drivers/iio/light/adjd_s311.c static int adjd_s311_update_scan_mode(struct iio_dev *indio_dev, iio_dev 251 drivers/iio/light/adjd_s311.c struct iio_dev *indio_dev; iio_dev 289 drivers/iio/light/adjd_s311.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 110 drivers/iio/light/al3320a.c static int al3320a_read_raw(struct iio_dev *indio_dev, iio_dev 145 drivers/iio/light/al3320a.c static int al3320a_write_raw(struct iio_dev *indio_dev, iio_dev 176 drivers/iio/light/al3320a.c struct iio_dev *indio_dev; iio_dev 235 drivers/iio/light/apds9300.c static int apds9300_read_raw(struct iio_dev *indio_dev, iio_dev 273 drivers/iio/light/apds9300.c static int apds9300_read_thresh(struct iio_dev *indio_dev, iio_dev 294 drivers/iio/light/apds9300.c static int apds9300_write_thresh(struct iio_dev *indio_dev, iio_dev 312 drivers/iio/light/apds9300.c static int apds9300_read_interrupt_config(struct iio_dev *indio_dev, iio_dev 322 drivers/iio/light/apds9300.c static int apds9300_write_interrupt_config(struct iio_dev *indio_dev, iio_dev 387 drivers/iio/light/apds9300.c struct iio_dev *dev_info = private; iio_dev 405 drivers/iio/light/apds9300.c struct iio_dev *indio_dev; iio_dev 458 drivers/iio/light/apds9300.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 473 drivers/iio/light/apds9300.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 486 drivers/iio/light/apds9300.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 123 drivers/iio/light/apds9960.c struct iio_dev *indio_dev; iio_dev 468 drivers/iio/light/apds9960.c static int apds9960_read_raw(struct iio_dev *indio_dev, iio_dev 536 drivers/iio/light/apds9960.c static int apds9960_write_raw(struct iio_dev *indio_dev, iio_dev 607 drivers/iio/light/apds9960.c static int apds9960_read_event(struct iio_dev *indio_dev, iio_dev 643 drivers/iio/light/apds9960.c static int apds9960_write_event(struct iio_dev *indio_dev, iio_dev 681 drivers/iio/light/apds9960.c static int apds9960_read_event_config(struct iio_dev *indio_dev, iio_dev 700 drivers/iio/light/apds9960.c static int apds9960_write_event_config(struct iio_dev *indio_dev, iio_dev 787 drivers/iio/light/apds9960.c struct iio_dev *indio_dev = private; iio_dev 826 drivers/iio/light/apds9960.c static int apds9960_buffer_postenable(struct iio_dev *indio_dev) iio_dev 844 drivers/iio/light/apds9960.c static int apds9960_buffer_predisable(struct iio_dev *indio_dev) iio_dev 993 drivers/iio/light/apds9960.c struct iio_dev *indio_dev; iio_dev 1077 drivers/iio/light/apds9960.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 131 drivers/iio/light/bh1750.c static int bh1750_read_raw(struct iio_dev *indio_dev, iio_dev 167 drivers/iio/light/bh1750.c static int bh1750_write_raw(struct iio_dev *indio_dev, iio_dev 236 drivers/iio/light/bh1750.c struct iio_dev *indio_dev; iio_dev 269 drivers/iio/light/bh1750.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 80 drivers/iio/light/bh1780.c static int bh1780_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 99 drivers/iio/light/bh1780.c static int bh1780_read_raw(struct iio_dev *indio_dev, iio_dev 150 drivers/iio/light/bh1780.c struct iio_dev *indio_dev; iio_dev 208 drivers/iio/light/bh1780.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 229 drivers/iio/light/bh1780.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 245 drivers/iio/light/bh1780.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 203 drivers/iio/light/cm32181.c static int cm32181_read_raw(struct iio_dev *indio_dev, iio_dev 229 drivers/iio/light/cm32181.c static int cm32181_write_raw(struct iio_dev *indio_dev, iio_dev 301 drivers/iio/light/cm32181.c struct iio_dev *indio_dev; iio_dev 234 drivers/iio/light/cm3232.c static int cm3232_read_raw(struct iio_dev *indio_dev, iio_dev 259 drivers/iio/light/cm3232.c static int cm3232_write_raw(struct iio_dev *indio_dev, iio_dev 331 drivers/iio/light/cm3232.c struct iio_dev *indio_dev; iio_dev 362 drivers/iio/light/cm3232.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 380 drivers/iio/light/cm3232.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 394 drivers/iio/light/cm3232.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 79 drivers/iio/light/cm3323.c static int cm3323_init(struct iio_dev *indio_dev) iio_dev 107 drivers/iio/light/cm3323.c struct iio_dev *indio_dev = data; iio_dev 155 drivers/iio/light/cm3323.c static int cm3323_read_raw(struct iio_dev *indio_dev, iio_dev 192 drivers/iio/light/cm3323.c static int cm3323_write_raw(struct iio_dev *indio_dev, iio_dev 221 drivers/iio/light/cm3323.c struct iio_dev *indio_dev; iio_dev 56 drivers/iio/light/cm3605.c struct iio_dev *indio_dev = d; iio_dev 105 drivers/iio/light/cm3605.c static int cm3605_read_raw(struct iio_dev *indio_dev, iio_dev 157 drivers/iio/light/cm3605.c struct iio_dev *indio_dev; iio_dev 269 drivers/iio/light/cm3605.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 283 drivers/iio/light/cm3605.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 294 drivers/iio/light/cm3605.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 232 drivers/iio/light/cm36651.c struct iio_dev *indio_dev = data; iio_dev 445 drivers/iio/light/cm36651.c static int cm36651_read_raw(struct iio_dev *indio_dev, iio_dev 471 drivers/iio/light/cm36651.c static int cm36651_write_raw(struct iio_dev *indio_dev, iio_dev 488 drivers/iio/light/cm36651.c static int cm36651_read_prox_thresh(struct iio_dev *indio_dev, iio_dev 502 drivers/iio/light/cm36651.c static int cm36651_write_prox_thresh(struct iio_dev *indio_dev, iio_dev 528 drivers/iio/light/cm36651.c static int cm36651_write_prox_event_config(struct iio_dev *indio_dev, iio_dev 547 drivers/iio/light/cm36651.c static int cm36651_read_prox_event_config(struct iio_dev *indio_dev, iio_dev 625 drivers/iio/light/cm36651.c struct iio_dev *indio_dev; iio_dev 707 drivers/iio/light/cm36651.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 39 drivers/iio/light/cros_ec_light_prox.c static int cros_ec_light_prox_read(struct iio_dev *indio_dev, iio_dev 125 drivers/iio/light/cros_ec_light_prox.c static int cros_ec_light_prox_write(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/light/cros_ec_light_prox.c struct iio_dev *indio_dev; iio_dev 833 drivers/iio/light/gp2ap020a00f.c struct iio_dev *indio_dev = data; iio_dev 868 drivers/iio/light/gp2ap020a00f.c struct iio_dev *indio_dev = data; iio_dev 964 drivers/iio/light/gp2ap020a00f.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1018 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_write_event_val(struct iio_dev *indio_dev, iio_dev 1077 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_read_event_val(struct iio_dev *indio_dev, iio_dev 1105 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_write_prox_event_config(struct iio_dev *indio_dev, iio_dev 1160 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_write_event_config(struct iio_dev *indio_dev, iio_dev 1196 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_read_event_config(struct iio_dev *indio_dev, iio_dev 1279 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_read_raw(struct iio_dev *indio_dev, iio_dev 1386 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_buffer_postenable(struct iio_dev *indio_dev) iio_dev 1436 drivers/iio/light/gp2ap020a00f.c static int gp2ap020a00f_buffer_predisable(struct iio_dev *indio_dev) iio_dev 1486 drivers/iio/light/gp2ap020a00f.c struct iio_dev *indio_dev; iio_dev 1594 drivers/iio/light/gp2ap020a00f.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 74 drivers/iio/light/hid-sensor-als.c static int als_read_raw(struct iio_dev *indio_dev, iio_dev 143 drivers/iio/light/hid-sensor-als.c static int als_write_raw(struct iio_dev *indio_dev, iio_dev 174 drivers/iio/light/hid-sensor-als.c static void hid_sensor_push_data(struct iio_dev *indio_dev, const void *data, iio_dev 186 drivers/iio/light/hid-sensor-als.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 204 drivers/iio/light/hid-sensor-als.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 269 drivers/iio/light/hid-sensor-als.c struct iio_dev *indio_dev; iio_dev 358 drivers/iio/light/hid-sensor-als.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 55 drivers/iio/light/hid-sensor-prox.c static int prox_read_raw(struct iio_dev *indio_dev, iio_dev 123 drivers/iio/light/hid-sensor-prox.c static int prox_write_raw(struct iio_dev *indio_dev, iio_dev 154 drivers/iio/light/hid-sensor-prox.c static void hid_sensor_push_data(struct iio_dev *indio_dev, const void *data, iio_dev 166 drivers/iio/light/hid-sensor-prox.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 184 drivers/iio/light/hid-sensor-prox.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 247 drivers/iio/light/hid-sensor-prox.c struct iio_dev *indio_dev; iio_dev 336 drivers/iio/light/hid-sensor-prox.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 268 drivers/iio/light/isl29018.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 289 drivers/iio/light/isl29018.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 325 drivers/iio/light/isl29018.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 339 drivers/iio/light/isl29018.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 359 drivers/iio/light/isl29018.c static int isl29018_write_raw(struct iio_dev *indio_dev, iio_dev 399 drivers/iio/light/isl29018.c static int isl29018_read_raw(struct iio_dev *indio_dev, iio_dev 718 drivers/iio/light/isl29018.c struct iio_dev *indio_dev; iio_dev 354 drivers/iio/light/isl29028.c static int isl29028_write_raw(struct iio_dev *indio_dev, iio_dev 422 drivers/iio/light/isl29028.c static int isl29028_read_raw(struct iio_dev *indio_dev, iio_dev 574 drivers/iio/light/isl29028.c struct iio_dev *indio_dev; iio_dev 644 drivers/iio/light/isl29028.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 658 drivers/iio/light/isl29028.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 121 drivers/iio/light/isl29125.c static int isl29125_read_raw(struct iio_dev *indio_dev, iio_dev 150 drivers/iio/light/isl29125.c static int isl29125_write_raw(struct iio_dev *indio_dev, iio_dev 176 drivers/iio/light/isl29125.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 216 drivers/iio/light/isl29125.c static int isl29125_buffer_preenable(struct iio_dev *indio_dev) iio_dev 225 drivers/iio/light/isl29125.c static int isl29125_buffer_predisable(struct iio_dev *indio_dev) iio_dev 250 drivers/iio/light/isl29125.c struct iio_dev *indio_dev; iio_dev 308 drivers/iio/light/isl29125.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 213 drivers/iio/light/jsa1212.c static int jsa1212_read_raw(struct iio_dev *indio_dev, iio_dev 315 drivers/iio/light/jsa1212.c struct iio_dev *indio_dev; iio_dev 379 drivers/iio/light/jsa1212.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 62 drivers/iio/light/lm3533-als.c static int lm3533_als_get_adc(struct iio_dev *indio_dev, bool average, iio_dev 86 drivers/iio/light/lm3533-als.c static int _lm3533_als_get_zone(struct iio_dev *indio_dev, u8 *zone) iio_dev 104 drivers/iio/light/lm3533-als.c static int lm3533_als_get_zone(struct iio_dev *indio_dev, u8 *zone) iio_dev 129 drivers/iio/light/lm3533-als.c static int lm3533_als_get_target(struct iio_dev *indio_dev, unsigned channel, iio_dev 150 drivers/iio/light/lm3533-als.c static int lm3533_als_set_target(struct iio_dev *indio_dev, unsigned channel, iio_dev 171 drivers/iio/light/lm3533-als.c static int lm3533_als_get_current(struct iio_dev *indio_dev, unsigned channel, iio_dev 191 drivers/iio/light/lm3533-als.c static int lm3533_als_read_raw(struct iio_dev *indio_dev, iio_dev 249 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = dev_id; iio_dev 271 drivers/iio/light/lm3533-als.c static int lm3533_als_set_int_mode(struct iio_dev *indio_dev, int enable) iio_dev 293 drivers/iio/light/lm3533-als.c static int lm3533_als_get_int_mode(struct iio_dev *indio_dev, int *enable) iio_dev 318 drivers/iio/light/lm3533-als.c static int lm3533_als_get_threshold(struct iio_dev *indio_dev, unsigned nr, iio_dev 336 drivers/iio/light/lm3533-als.c static int lm3533_als_set_threshold(struct iio_dev *indio_dev, unsigned nr, iio_dev 377 drivers/iio/light/lm3533-als.c static int lm3533_als_get_hysteresis(struct iio_dev *indio_dev, unsigned nr, iio_dev 407 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 427 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 469 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 504 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 540 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 834 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev; iio_dev 900 drivers/iio/light/lm3533-als.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 621 drivers/iio/light/ltr501.c static int ltr501_read_raw(struct iio_dev *indio_dev, iio_dev 731 drivers/iio/light/ltr501.c static int ltr501_write_raw(struct iio_dev *indio_dev, iio_dev 851 drivers/iio/light/ltr501.c static int ltr501_read_thresh(struct iio_dev *indio_dev, iio_dev 911 drivers/iio/light/ltr501.c static int ltr501_write_thresh(struct iio_dev *indio_dev, iio_dev 974 drivers/iio/light/ltr501.c static int ltr501_read_event(struct iio_dev *indio_dev, iio_dev 1000 drivers/iio/light/ltr501.c static int ltr501_write_event(struct iio_dev *indio_dev, iio_dev 1023 drivers/iio/light/ltr501.c static int ltr501_read_event_config(struct iio_dev *indio_dev, iio_dev 1049 drivers/iio/light/ltr501.c static int ltr501_write_event_config(struct iio_dev *indio_dev, iio_dev 1243 drivers/iio/light/ltr501.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 1294 drivers/iio/light/ltr501.c struct iio_dev *indio_dev = private; iio_dev 1393 drivers/iio/light/ltr501.c struct iio_dev *indio_dev; iio_dev 1529 drivers/iio/light/ltr501.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 226 drivers/iio/light/lv0104cs.c static int lv0104cs_read_raw(struct iio_dev *indio_dev, iio_dev 369 drivers/iio/light/lv0104cs.c static int lv0104cs_write_raw(struct iio_dev *indio_dev, iio_dev 480 drivers/iio/light/lv0104cs.c struct iio_dev *indio_dev; iio_dev 256 drivers/iio/light/max44000.c static int max44000_read_raw(struct iio_dev *indio_dev, iio_dev 340 drivers/iio/light/max44000.c static int max44000_write_raw(struct iio_dev *indio_dev, iio_dev 375 drivers/iio/light/max44000.c static int max44000_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 489 drivers/iio/light/max44000.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 526 drivers/iio/light/max44000.c struct iio_dev *indio_dev; iio_dev 600 drivers/iio/light/max44000.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 149 drivers/iio/light/max44009.c static int max44009_write_raw(struct iio_dev *indio_dev, iio_dev 165 drivers/iio/light/max44009.c static int max44009_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 246 drivers/iio/light/max44009.c static int max44009_read_raw(struct iio_dev *indio_dev, iio_dev 338 drivers/iio/light/max44009.c static int max44009_write_event_value(struct iio_dev *indio_dev, iio_dev 362 drivers/iio/light/max44009.c static int max44009_read_threshold(struct iio_dev *indio_dev, iio_dev 397 drivers/iio/light/max44009.c static int max44009_read_event_value(struct iio_dev *indio_dev, iio_dev 421 drivers/iio/light/max44009.c static int max44009_write_event_config(struct iio_dev *indio_dev, iio_dev 446 drivers/iio/light/max44009.c static int max44009_read_event_config(struct iio_dev *indio_dev, iio_dev 472 drivers/iio/light/max44009.c struct iio_dev *indio_dev = p; iio_dev 494 drivers/iio/light/max44009.c struct iio_dev *indio_dev; iio_dev 128 drivers/iio/light/noa1305.c static int noa1305_read_raw(struct iio_dev *indio_dev, iio_dev 201 drivers/iio/light/noa1305.c struct iio_dev *indio_dev; iio_dev 385 drivers/iio/light/opt3001.c static int opt3001_read_raw(struct iio_dev *iio, iio_dev 416 drivers/iio/light/opt3001.c static int opt3001_write_raw(struct iio_dev *iio, iio_dev 442 drivers/iio/light/opt3001.c static int opt3001_read_event_value(struct iio_dev *iio, iio_dev 470 drivers/iio/light/opt3001.c static int opt3001_write_event_value(struct iio_dev *iio, iio_dev 526 drivers/iio/light/opt3001.c static int opt3001_read_event_config(struct iio_dev *iio, iio_dev 535 drivers/iio/light/opt3001.c static int opt3001_write_event_config(struct iio_dev *iio, iio_dev 686 drivers/iio/light/opt3001.c struct iio_dev *iio = _iio; iio_dev 742 drivers/iio/light/opt3001.c struct iio_dev *iio; iio_dev 799 drivers/iio/light/opt3001.c struct iio_dev *iio = i2c_get_clientdata(client); iio_dev 208 drivers/iio/light/pa12203001.c static int pa12203001_read_raw(struct iio_dev *indio_dev, iio_dev 276 drivers/iio/light/pa12203001.c static int pa12203001_write_raw(struct iio_dev *indio_dev, iio_dev 312 drivers/iio/light/pa12203001.c static int pa12203001_init(struct iio_dev *indio_dev) iio_dev 326 drivers/iio/light/pa12203001.c static int pa12203001_power_chip(struct iio_dev *indio_dev, u8 state) iio_dev 347 drivers/iio/light/pa12203001.c struct iio_dev *indio_dev; iio_dev 402 drivers/iio/light/pa12203001.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 415 drivers/iio/light/pa12203001.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 424 drivers/iio/light/pa12203001.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 407 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = private; iio_dev 422 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = private; iio_dev 436 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 448 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 522 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trigger); iio_dev 541 drivers/iio/light/rpr0521.c static int rpr0521_buffer_preenable(struct iio_dev *indio_dev) iio_dev 556 drivers/iio/light/rpr0521.c static int rpr0521_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 715 drivers/iio/light/rpr0521.c static int rpr0521_read_raw(struct iio_dev *indio_dev, iio_dev 793 drivers/iio/light/rpr0521.c static int rpr0521_write_raw(struct iio_dev *indio_dev, iio_dev 930 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev; iio_dev 1045 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1061 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1082 drivers/iio/light/rpr0521.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 644 drivers/iio/light/si1133.c struct iio_dev *iio_dev = private; iio_dev 645 drivers/iio/light/si1133.c struct si1133_data *data = iio_priv(iio_dev); iio_dev 651 drivers/iio/light/si1133.c dev_err_ratelimited(&iio_dev->dev, "Error reading IRQ\n"); iio_dev 753 drivers/iio/light/si1133.c static int si1133_read_raw(struct iio_dev *iio_dev, iio_dev 757 drivers/iio/light/si1133.c struct si1133_data *data = iio_priv(iio_dev); iio_dev 827 drivers/iio/light/si1133.c static int si1133_write_raw(struct iio_dev *iio_dev, iio_dev 831 drivers/iio/light/si1133.c struct si1133_data *data = iio_priv(iio_dev); iio_dev 967 drivers/iio/light/si1133.c static int si1133_validate_ids(struct iio_dev *iio_dev) iio_dev 969 drivers/iio/light/si1133.c struct si1133_data *data = iio_priv(iio_dev); iio_dev 986 drivers/iio/light/si1133.c dev_info(&iio_dev->dev, iio_dev 990 drivers/iio/light/si1133.c dev_err(&iio_dev->dev, iio_dev 1003 drivers/iio/light/si1133.c struct iio_dev *iio_dev; iio_dev 1006 drivers/iio/light/si1133.c iio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data)); iio_dev 1007 drivers/iio/light/si1133.c if (!iio_dev) iio_dev 1010 drivers/iio/light/si1133.c data = iio_priv(iio_dev); iio_dev 1021 drivers/iio/light/si1133.c i2c_set_clientdata(client, iio_dev); iio_dev 1024 drivers/iio/light/si1133.c iio_dev->dev.parent = &client->dev; iio_dev 1025 drivers/iio/light/si1133.c iio_dev->name = id->name; iio_dev 1026 drivers/iio/light/si1133.c iio_dev->channels = si1133_channels; iio_dev 1027 drivers/iio/light/si1133.c iio_dev->num_channels = ARRAY_SIZE(si1133_channels); iio_dev 1028 drivers/iio/light/si1133.c iio_dev->info = &si1133_info; iio_dev 1029 drivers/iio/light/si1133.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 1033 drivers/iio/light/si1133.c err = si1133_validate_ids(iio_dev); iio_dev 1054 drivers/iio/light/si1133.c client->name, iio_dev); iio_dev 1061 drivers/iio/light/si1133.c return devm_iio_device_register(&client->dev, iio_dev); iio_dev 442 drivers/iio/light/si1145.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 505 drivers/iio/light/si1145.c static int si1145_set_chlist(struct iio_dev *indio_dev, unsigned long scan_mask) iio_dev 560 drivers/iio/light/si1145.c static int si1145_measure(struct iio_dev *indio_dev, iio_dev 620 drivers/iio/light/si1145.c static int si1145_read_raw(struct iio_dev *indio_dev, iio_dev 719 drivers/iio/light/si1145.c static int si1145_write_raw(struct iio_dev *indio_dev, iio_dev 1145 drivers/iio/light/si1145.c static int si1145_buffer_preenable(struct iio_dev *indio_dev) iio_dev 1157 drivers/iio/light/si1145.c static bool si1145_validate_scan_mask(struct iio_dev *indio_dev, iio_dev 1188 drivers/iio/light/si1145.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 1238 drivers/iio/light/si1145.c static int si1145_probe_trigger(struct iio_dev *indio_dev) iio_dev 1278 drivers/iio/light/si1145.c struct iio_dev *indio_dev; iio_dev 114 drivers/iio/light/st_uvis25_core.c static int st_uvis25_read_raw(struct iio_dev *iio_dev, iio_dev 120 drivers/iio/light/st_uvis25_core.c ret = iio_device_claim_direct_mode(iio_dev); iio_dev 126 drivers/iio/light/st_uvis25_core.c struct st_uvis25_hw *hw = iio_priv(iio_dev); iio_dev 147 drivers/iio/light/st_uvis25_core.c iio_device_release_direct_mode(iio_dev); iio_dev 169 drivers/iio/light/st_uvis25_core.c static int st_uvis25_allocate_trigger(struct iio_dev *iio_dev) iio_dev 171 drivers/iio/light/st_uvis25_core.c struct st_uvis25_hw *hw = iio_priv(iio_dev); iio_dev 200 drivers/iio/light/st_uvis25_core.c iio_dev->name, hw); iio_dev 208 drivers/iio/light/st_uvis25_core.c iio_dev->name); iio_dev 212 drivers/iio/light/st_uvis25_core.c iio_trigger_set_drvdata(hw->trig, iio_dev); iio_dev 218 drivers/iio/light/st_uvis25_core.c static int st_uvis25_buffer_preenable(struct iio_dev *iio_dev) iio_dev 220 drivers/iio/light/st_uvis25_core.c return st_uvis25_set_enable(iio_priv(iio_dev), true); iio_dev 223 drivers/iio/light/st_uvis25_core.c static int st_uvis25_buffer_postdisable(struct iio_dev *iio_dev) iio_dev 225 drivers/iio/light/st_uvis25_core.c return st_uvis25_set_enable(iio_priv(iio_dev), false); iio_dev 239 drivers/iio/light/st_uvis25_core.c struct iio_dev *iio_dev = pf->indio_dev; iio_dev 240 drivers/iio/light/st_uvis25_core.c struct st_uvis25_hw *hw = iio_priv(iio_dev); iio_dev 247 drivers/iio/light/st_uvis25_core.c iio_push_to_buffers_with_timestamp(iio_dev, buffer, iio_dev 248 drivers/iio/light/st_uvis25_core.c iio_get_time_ns(iio_dev)); iio_dev 256 drivers/iio/light/st_uvis25_core.c static int st_uvis25_allocate_buffer(struct iio_dev *iio_dev) iio_dev 258 drivers/iio/light/st_uvis25_core.c struct st_uvis25_hw *hw = iio_priv(iio_dev); iio_dev 261 drivers/iio/light/st_uvis25_core.c iio_dev, NULL, iio_dev 288 drivers/iio/light/st_uvis25_core.c struct iio_dev *iio_dev; iio_dev 291 drivers/iio/light/st_uvis25_core.c iio_dev = devm_iio_device_alloc(dev, sizeof(*hw)); iio_dev 292 drivers/iio/light/st_uvis25_core.c if (!iio_dev) iio_dev 295 drivers/iio/light/st_uvis25_core.c dev_set_drvdata(dev, (void *)iio_dev); iio_dev 297 drivers/iio/light/st_uvis25_core.c hw = iio_priv(iio_dev); iio_dev 305 drivers/iio/light/st_uvis25_core.c iio_dev->modes = INDIO_DIRECT_MODE; iio_dev 306 drivers/iio/light/st_uvis25_core.c iio_dev->dev.parent = dev; iio_dev 307 drivers/iio/light/st_uvis25_core.c iio_dev->channels = st_uvis25_channels; iio_dev 308 drivers/iio/light/st_uvis25_core.c iio_dev->num_channels = ARRAY_SIZE(st_uvis25_channels); iio_dev 309 drivers/iio/light/st_uvis25_core.c iio_dev->name = ST_UVIS25_DEV_NAME; iio_dev 310 drivers/iio/light/st_uvis25_core.c iio_dev->info = &st_uvis25_info; iio_dev 317 drivers/iio/light/st_uvis25_core.c err = st_uvis25_allocate_buffer(iio_dev); iio_dev 321 drivers/iio/light/st_uvis25_core.c err = st_uvis25_allocate_trigger(iio_dev); iio_dev 326 drivers/iio/light/st_uvis25_core.c return devm_iio_device_register(dev, iio_dev); iio_dev 332 drivers/iio/light/st_uvis25_core.c struct iio_dev *iio_dev = dev_get_drvdata(dev); iio_dev 333 drivers/iio/light/st_uvis25_core.c struct st_uvis25_hw *hw = iio_priv(iio_dev); iio_dev 341 drivers/iio/light/st_uvis25_core.c struct iio_dev *iio_dev = dev_get_drvdata(dev); iio_dev 342 drivers/iio/light/st_uvis25_core.c struct st_uvis25_hw *hw = iio_priv(iio_dev); iio_dev 191 drivers/iio/light/stk3310.c static int stk3310_read_event(struct iio_dev *indio_dev, iio_dev 226 drivers/iio/light/stk3310.c static int stk3310_write_event(struct iio_dev *indio_dev, iio_dev 262 drivers/iio/light/stk3310.c static int stk3310_read_event_config(struct iio_dev *indio_dev, iio_dev 278 drivers/iio/light/stk3310.c static int stk3310_write_event_config(struct iio_dev *indio_dev, iio_dev 301 drivers/iio/light/stk3310.c static int stk3310_read_raw(struct iio_dev *indio_dev, iio_dev 359 drivers/iio/light/stk3310.c static int stk3310_write_raw(struct iio_dev *indio_dev, iio_dev 442 drivers/iio/light/stk3310.c static int stk3310_init(struct iio_dev *indio_dev) iio_dev 526 drivers/iio/light/stk3310.c struct iio_dev *indio_dev = private; iio_dev 540 drivers/iio/light/stk3310.c struct iio_dev *indio_dev = private; iio_dev 570 drivers/iio/light/stk3310.c struct iio_dev *indio_dev; iio_dev 628 drivers/iio/light/stk3310.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 124 drivers/iio/light/tcs3414.c static int tcs3414_read_raw(struct iio_dev *indio_dev, iio_dev 160 drivers/iio/light/tcs3414.c static int tcs3414_write_raw(struct iio_dev *indio_dev, iio_dev 201 drivers/iio/light/tcs3414.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 243 drivers/iio/light/tcs3414.c static int tcs3414_buffer_preenable(struct iio_dev *indio_dev) iio_dev 252 drivers/iio/light/tcs3414.c static int tcs3414_buffer_predisable(struct iio_dev *indio_dev) iio_dev 276 drivers/iio/light/tcs3414.c struct iio_dev *indio_dev; iio_dev 351 drivers/iio/light/tcs3414.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 138 drivers/iio/light/tcs3472.c static int tcs3472_read_raw(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/light/tcs3472.c static int tcs3472_write_raw(struct iio_dev *indio_dev, iio_dev 219 drivers/iio/light/tcs3472.c static int tcs3472_read_event(struct iio_dev *indio_dev, iio_dev 253 drivers/iio/light/tcs3472.c static int tcs3472_write_event(struct iio_dev *indio_dev, iio_dev 310 drivers/iio/light/tcs3472.c static int tcs3472_read_event_config(struct iio_dev *indio_dev, iio_dev 324 drivers/iio/light/tcs3472.c static int tcs3472_write_event_config(struct iio_dev *indio_dev, iio_dev 354 drivers/iio/light/tcs3472.c struct iio_dev *indio_dev = priv; iio_dev 374 drivers/iio/light/tcs3472.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 445 drivers/iio/light/tcs3472.c struct iio_dev *indio_dev; iio_dev 560 drivers/iio/light/tcs3472.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 442 drivers/iio/light/tsl2563.c static int tsl2563_write_raw(struct iio_dev *indio_dev, iio_dev 462 drivers/iio/light/tsl2563.c static int tsl2563_read_raw(struct iio_dev *indio_dev, iio_dev 557 drivers/iio/light/tsl2563.c static int tsl2563_read_thresh(struct iio_dev *indio_dev, iio_dev 578 drivers/iio/light/tsl2563.c static int tsl2563_write_thresh(struct iio_dev *indio_dev, iio_dev 612 drivers/iio/light/tsl2563.c struct iio_dev *dev_info = private; iio_dev 627 drivers/iio/light/tsl2563.c static int tsl2563_write_interrupt_config(struct iio_dev *indio_dev, iio_dev 669 drivers/iio/light/tsl2563.c static int tsl2563_read_interrupt_config(struct iio_dev *indio_dev, iio_dev 703 drivers/iio/light/tsl2563.c struct iio_dev *indio_dev; iio_dev 801 drivers/iio/light/tsl2563.c struct iio_dev *indio_dev = iio_priv_to_dev(chip); iio_dev 163 drivers/iio/light/tsl2583.c static int tsl2583_get_lux(struct iio_dev *indio_dev) iio_dev 308 drivers/iio/light/tsl2583.c static int tsl2583_als_calibrate(struct iio_dev *indio_dev) iio_dev 422 drivers/iio/light/tsl2583.c static int tsl2583_chip_init_and_power_on(struct iio_dev *indio_dev) iio_dev 465 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 480 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 498 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 522 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 551 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 650 drivers/iio/light/tsl2583.c static int tsl2583_read_raw(struct iio_dev *indio_dev, iio_dev 739 drivers/iio/light/tsl2583.c static int tsl2583_write_raw(struct iio_dev *indio_dev, iio_dev 807 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev; iio_dev 869 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 883 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 898 drivers/iio/light/tsl2583.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 409 drivers/iio/light/tsl2772.c static int tsl2772_get_lux(struct iio_dev *indio_dev) iio_dev 504 drivers/iio/light/tsl2772.c static int tsl2772_get_prox(struct iio_dev *indio_dev) iio_dev 655 drivers/iio/light/tsl2772.c static int tsl2772_als_calibrate(struct iio_dev *indio_dev) iio_dev 708 drivers/iio/light/tsl2772.c static int tsl2772_chip_on(struct iio_dev *indio_dev) iio_dev 820 drivers/iio/light/tsl2772.c static int tsl2772_chip_off(struct iio_dev *indio_dev) iio_dev 831 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = data; iio_dev 845 drivers/iio/light/tsl2772.c static int tsl2772_invoke_change(struct iio_dev *indio_dev) iio_dev 869 drivers/iio/light/tsl2772.c static int tsl2772_prox_cal(struct iio_dev *indio_dev) iio_dev 901 drivers/iio/light/tsl2772.c static int tsl2772_read_avail(struct iio_dev *indio_dev, iio_dev 942 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 962 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1011 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1053 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 1071 drivers/iio/light/tsl2772.c static int tsl2772_read_interrupt_config(struct iio_dev *indio_dev, iio_dev 1084 drivers/iio/light/tsl2772.c static int tsl2772_write_interrupt_config(struct iio_dev *indio_dev, iio_dev 1100 drivers/iio/light/tsl2772.c static int tsl2772_write_event_value(struct iio_dev *indio_dev, iio_dev 1173 drivers/iio/light/tsl2772.c static int tsl2772_read_event_value(struct iio_dev *indio_dev, iio_dev 1234 drivers/iio/light/tsl2772.c static int tsl2772_read_raw(struct iio_dev *indio_dev, iio_dev 1288 drivers/iio/light/tsl2772.c static int tsl2772_write_raw(struct iio_dev *indio_dev, iio_dev 1389 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = private; iio_dev 1761 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev; iio_dev 1876 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1888 drivers/iio/light/tsl2772.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 74 drivers/iio/light/tsl4531.c static int tsl4531_read_raw(struct iio_dev *indio_dev, iio_dev 109 drivers/iio/light/tsl4531.c static int tsl4531_write_raw(struct iio_dev *indio_dev, iio_dev 167 drivers/iio/light/tsl4531.c struct iio_dev *indio_dev; iio_dev 421 drivers/iio/light/us5182d.c static int us5182d_read_raw(struct iio_dev *indio_dev, iio_dev 496 drivers/iio/light/us5182d.c static int us5182d_write_raw(struct iio_dev *indio_dev, iio_dev 522 drivers/iio/light/us5182d.c static int us5182d_setup_prox(struct iio_dev *indio_dev, iio_dev 537 drivers/iio/light/us5182d.c static int us5182d_read_thresh(struct iio_dev *indio_dev, iio_dev 562 drivers/iio/light/us5182d.c static int us5182d_write_thresh(struct iio_dev *indio_dev, iio_dev 604 drivers/iio/light/us5182d.c static int us5182d_read_event_config(struct iio_dev *indio_dev, iio_dev 630 drivers/iio/light/us5182d.c static int us5182d_write_event_config(struct iio_dev *indio_dev, iio_dev 718 drivers/iio/light/us5182d.c static int us5182d_reset(struct iio_dev *indio_dev) iio_dev 726 drivers/iio/light/us5182d.c static int us5182d_init(struct iio_dev *indio_dev) iio_dev 761 drivers/iio/light/us5182d.c static void us5182d_get_platform_data(struct iio_dev *indio_dev) iio_dev 785 drivers/iio/light/us5182d.c static int us5182d_dark_gain_config(struct iio_dev *indio_dev) iio_dev 812 drivers/iio/light/us5182d.c struct iio_dev *indio_dev = private; iio_dev 841 drivers/iio/light/us5182d.c struct iio_dev *indio_dev; iio_dev 925 drivers/iio/light/us5182d.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 936 drivers/iio/light/us5182d.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 325 drivers/iio/light/vcnl4000.c static int vcnl4000_read_raw(struct iio_dev *indio_dev, iio_dev 368 drivers/iio/light/vcnl4000.c struct iio_dev *indio_dev; iio_dev 83 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev = private; iio_dev 103 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 126 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trigger); iio_dev 171 drivers/iio/light/vcnl4035.c static int vcnl4035_read_raw(struct iio_dev *indio_dev, iio_dev 218 drivers/iio/light/vcnl4035.c static int vcnl4035_write_raw(struct iio_dev *indio_dev, iio_dev 248 drivers/iio/light/vcnl4035.c static int vcnl4035_read_thresh(struct iio_dev *indio_dev, iio_dev 277 drivers/iio/light/vcnl4035.c static int vcnl4035_write_thresh(struct iio_dev *indio_dev, iio_dev 503 drivers/iio/light/vcnl4035.c static int vcnl4035_probe_trigger(struct iio_dev *indio_dev) iio_dev 548 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev; iio_dev 609 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 622 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 634 drivers/iio/light/vcnl4035.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 111 drivers/iio/light/veml6070.c static int veml6070_read_raw(struct iio_dev *indio_dev, iio_dev 142 drivers/iio/light/veml6070.c struct iio_dev *indio_dev; iio_dev 186 drivers/iio/light/veml6070.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 291 drivers/iio/light/vl6180.c static int vl6180_read_raw(struct iio_dev *indio_dev, iio_dev 415 drivers/iio/light/vl6180.c static int vl6180_write_raw(struct iio_dev *indio_dev, iio_dev 499 drivers/iio/light/vl6180.c struct iio_dev *indio_dev; iio_dev 252 drivers/iio/light/zopt2201.c static int zopt2201_read_raw(struct iio_dev *indio_dev, iio_dev 408 drivers/iio/light/zopt2201.c static int zopt2201_write_raw(struct iio_dev *indio_dev, iio_dev 506 drivers/iio/light/zopt2201.c struct iio_dev *indio_dev; iio_dev 537 drivers/iio/magnetometer/ak8974.c static int ak8974_read_raw(struct iio_dev *indio_dev, iio_dev 580 drivers/iio/magnetometer/ak8974.c static void ak8974_fill_buffer(struct iio_dev *indio_dev) iio_dev 612 drivers/iio/magnetometer/ak8974.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 621 drivers/iio/magnetometer/ak8974.c ak8974_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 667 drivers/iio/magnetometer/ak8974.c struct iio_dev *indio_dev = i2c_get_clientdata(i2c); iio_dev 721 drivers/iio/magnetometer/ak8974.c struct iio_dev *indio_dev; iio_dev 865 drivers/iio/magnetometer/ak8974.c struct iio_dev *indio_dev = i2c_get_clientdata(i2c); iio_dev 525 drivers/iio/magnetometer/ak8975.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 675 drivers/iio/magnetometer/ak8975.c static int ak8975_read_axis(struct iio_dev *indio_dev, int index, int *val) iio_dev 714 drivers/iio/magnetometer/ak8975.c static int ak8975_read_raw(struct iio_dev *indio_dev, iio_dev 733 drivers/iio/magnetometer/ak8975.c ak8975_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 802 drivers/iio/magnetometer/ak8975.c static void ak8975_fill_buffer(struct iio_dev *indio_dev) iio_dev 847 drivers/iio/magnetometer/ak8975.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 858 drivers/iio/magnetometer/ak8975.c struct iio_dev *indio_dev; iio_dev 1000 drivers/iio/magnetometer/ak8975.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1018 drivers/iio/magnetometer/ak8975.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1037 drivers/iio/magnetometer/ak8975.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 454 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_read_raw(struct iio_dev *indio_dev, iio_dev 529 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_write_raw(struct iio_dev *indio_dev, iio_dev 591 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 609 drivers/iio/magnetometer/bmc150_magn.c bmc150_magn_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 671 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 771 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 788 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 823 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_buffer_preenable(struct iio_dev *indio_dev) iio_dev 830 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 859 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev; iio_dev 969 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 997 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1017 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1028 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1042 drivers/iio/magnetometer/bmc150_magn.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 144 drivers/iio/magnetometer/hid-sensor-magn-3d.c static int magn_3d_read_raw(struct iio_dev *indio_dev, iio_dev 238 drivers/iio/magnetometer/hid-sensor-magn-3d.c static int magn_3d_write_raw(struct iio_dev *indio_dev, iio_dev 279 drivers/iio/magnetometer/hid-sensor-magn-3d.c static void hid_sensor_push_data(struct iio_dev *indio_dev, const void *data) iio_dev 290 drivers/iio/magnetometer/hid-sensor-magn-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 306 drivers/iio/magnetometer/hid-sensor-magn-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 481 drivers/iio/magnetometer/hid-sensor-magn-3d.c struct iio_dev *indio_dev; iio_dev 567 drivers/iio/magnetometer/hid-sensor-magn-3d.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 207 drivers/iio/magnetometer/hmc5843_core.c int hmc5843_show_measurement_configuration(struct iio_dev *indio_dev, iio_dev 222 drivers/iio/magnetometer/hmc5843_core.c int hmc5843_set_measurement_configuration(struct iio_dev *indio_dev, iio_dev 232 drivers/iio/magnetometer/hmc5843_core.c hmc5843_get_mount_matrix(const struct iio_dev *indio_dev, iio_dev 364 drivers/iio/magnetometer/hmc5843_core.c static int hmc5843_read_raw(struct iio_dev *indio_dev, iio_dev 395 drivers/iio/magnetometer/hmc5843_core.c static int hmc5843_write_raw(struct iio_dev *indio_dev, iio_dev 420 drivers/iio/magnetometer/hmc5843_core.c static int hmc5843_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 437 drivers/iio/magnetometer/hmc5843_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 624 drivers/iio/magnetometer/hmc5843_core.c struct iio_dev *indio_dev; iio_dev 678 drivers/iio/magnetometer/hmc5843_core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 268 drivers/iio/magnetometer/mag3110.c static int mag3110_read_raw(struct iio_dev *indio_dev, iio_dev 341 drivers/iio/magnetometer/mag3110.c static int mag3110_write_raw(struct iio_dev *indio_dev, iio_dev 388 drivers/iio/magnetometer/mag3110.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 469 drivers/iio/magnetometer/mag3110.c struct iio_dev *indio_dev; iio_dev 566 drivers/iio/magnetometer/mag3110.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 351 drivers/iio/magnetometer/mmc35240.c static int mmc35240_read_raw(struct iio_dev *indio_dev, iio_dev 394 drivers/iio/magnetometer/mmc35240.c static int mmc35240_write_raw(struct iio_dev *indio_dev, iio_dev 488 drivers/iio/magnetometer/mmc35240.c struct iio_dev *indio_dev; iio_dev 528 drivers/iio/magnetometer/mmc35240.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 538 drivers/iio/magnetometer/mmc35240.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 124 drivers/iio/magnetometer/rm3100-core.c struct iio_dev *indio_dev = d; iio_dev 138 drivers/iio/magnetometer/rm3100-core.c struct iio_dev *indio_dev = d; iio_dev 339 drivers/iio/magnetometer/rm3100-core.c static int rm3100_set_samp_freq(struct iio_dev *indio_dev, int val, int val2) iio_dev 399 drivers/iio/magnetometer/rm3100-core.c static int rm3100_read_raw(struct iio_dev *indio_dev, iio_dev 428 drivers/iio/magnetometer/rm3100-core.c static int rm3100_write_raw(struct iio_dev *indio_dev, iio_dev 446 drivers/iio/magnetometer/rm3100-core.c static int rm3100_buffer_preenable(struct iio_dev *indio_dev) iio_dev 456 drivers/iio/magnetometer/rm3100-core.c static int rm3100_buffer_postdisable(struct iio_dev *indio_dev) iio_dev 473 drivers/iio/magnetometer/rm3100-core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 537 drivers/iio/magnetometer/rm3100-core.c struct iio_dev *indio_dev; iio_dev 26 drivers/iio/magnetometer/st_magn.h int st_magn_common_probe(struct iio_dev *indio_dev); iio_dev 27 drivers/iio/magnetometer/st_magn.h void st_magn_common_remove(struct iio_dev *indio_dev); iio_dev 30 drivers/iio/magnetometer/st_magn.h int st_magn_allocate_ring(struct iio_dev *indio_dev); iio_dev 31 drivers/iio/magnetometer/st_magn.h void st_magn_deallocate_ring(struct iio_dev *indio_dev); iio_dev 35 drivers/iio/magnetometer/st_magn.h static inline int st_magn_probe_trigger(struct iio_dev *indio_dev, int irq) iio_dev 39 drivers/iio/magnetometer/st_magn.h static inline void st_magn_remove_trigger(struct iio_dev *indio_dev, int irq) iio_dev 43 drivers/iio/magnetometer/st_magn.h static inline int st_magn_allocate_ring(struct iio_dev *indio_dev) iio_dev 47 drivers/iio/magnetometer/st_magn.h static inline void st_magn_deallocate_ring(struct iio_dev *indio_dev) iio_dev 27 drivers/iio/magnetometer/st_magn_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 32 drivers/iio/magnetometer/st_magn_buffer.c static int st_magn_buffer_postenable(struct iio_dev *indio_dev) iio_dev 51 drivers/iio/magnetometer/st_magn_buffer.c static int st_magn_buffer_predisable(struct iio_dev *indio_dev) iio_dev 69 drivers/iio/magnetometer/st_magn_buffer.c int st_magn_allocate_ring(struct iio_dev *indio_dev) iio_dev 75 drivers/iio/magnetometer/st_magn_buffer.c void st_magn_deallocate_ring(struct iio_dev *indio_dev) iio_dev 386 drivers/iio/magnetometer/st_magn_core.c static int st_magn_read_raw(struct iio_dev *indio_dev, iio_dev 419 drivers/iio/magnetometer/st_magn_core.c static int st_magn_write_raw(struct iio_dev *indio_dev, iio_dev 490 drivers/iio/magnetometer/st_magn_core.c int st_magn_common_probe(struct iio_dev *indio_dev) iio_dev 550 drivers/iio/magnetometer/st_magn_core.c void st_magn_common_remove(struct iio_dev *indio_dev) iio_dev 62 drivers/iio/magnetometer/st_magn_i2c.c struct iio_dev *indio_dev; iio_dev 95 drivers/iio/magnetometer/st_magn_i2c.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 56 drivers/iio/magnetometer/st_magn_spi.c struct iio_dev *indio_dev; iio_dev 89 drivers/iio/magnetometer/st_magn_spi.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 32 drivers/iio/multiplexer/iio-mux.c struct iio_dev *indio_dev; iio_dev 85 drivers/iio/multiplexer/iio-mux.c static int mux_read_raw(struct iio_dev *indio_dev, iio_dev 115 drivers/iio/multiplexer/iio-mux.c static int mux_read_avail(struct iio_dev *indio_dev, iio_dev 143 drivers/iio/multiplexer/iio-mux.c static int mux_write_raw(struct iio_dev *indio_dev, iio_dev 175 drivers/iio/multiplexer/iio-mux.c static ssize_t mux_read_ext_info(struct iio_dev *indio_dev, uintptr_t private, iio_dev 195 drivers/iio/multiplexer/iio-mux.c static ssize_t mux_write_ext_info(struct iio_dev *indio_dev, uintptr_t private, iio_dev 341 drivers/iio/multiplexer/iio-mux.c struct iio_dev *indio_dev; iio_dev 93 drivers/iio/orientation/hid-sensor-incl-3d.c static int incl_3d_read_raw(struct iio_dev *indio_dev, iio_dev 153 drivers/iio/orientation/hid-sensor-incl-3d.c static int incl_3d_write_raw(struct iio_dev *indio_dev, iio_dev 184 drivers/iio/orientation/hid-sensor-incl-3d.c static void hid_sensor_push_data(struct iio_dev *indio_dev, u8 *data, int len) iio_dev 195 drivers/iio/orientation/hid-sensor-incl-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 213 drivers/iio/orientation/hid-sensor-incl-3d.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 304 drivers/iio/orientation/hid-sensor-incl-3d.c struct iio_dev *indio_dev; iio_dev 397 drivers/iio/orientation/hid-sensor-incl-3d.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 59 drivers/iio/orientation/hid-sensor-rotation.c static int dev_rot_read_raw(struct iio_dev *indio_dev, iio_dev 107 drivers/iio/orientation/hid-sensor-rotation.c static int dev_rot_write_raw(struct iio_dev *indio_dev, iio_dev 138 drivers/iio/orientation/hid-sensor-rotation.c static void hid_sensor_push_data(struct iio_dev *indio_dev, u8 *data, int len) iio_dev 151 drivers/iio/orientation/hid-sensor-rotation.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 169 drivers/iio/orientation/hid-sensor-rotation.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 233 drivers/iio/orientation/hid-sensor-rotation.c struct iio_dev *indio_dev; iio_dev 336 drivers/iio/orientation/hid-sensor-rotation.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 98 drivers/iio/potentiometer/ad5272.c static int ad5272_read_raw(struct iio_dev *indio_dev, iio_dev 120 drivers/iio/potentiometer/ad5272.c static int ad5272_write_raw(struct iio_dev *indio_dev, iio_dev 164 drivers/iio/potentiometer/ad5272.c struct iio_dev *indio_dev; iio_dev 57 drivers/iio/potentiometer/ds1803.c static int ds1803_read_raw(struct iio_dev *indio_dev, iio_dev 85 drivers/iio/potentiometer/ds1803.c static int ds1803_write_raw(struct iio_dev *indio_dev, iio_dev 117 drivers/iio/potentiometer/ds1803.c struct iio_dev *indio_dev; iio_dev 43 drivers/iio/potentiometer/max5432.c static int max5432_read_raw(struct iio_dev *indio_dev, iio_dev 61 drivers/iio/potentiometer/max5432.c static int max5432_write_raw(struct iio_dev *indio_dev, iio_dev 92 drivers/iio/potentiometer/max5432.c struct iio_dev *indio_dev; iio_dev 85 drivers/iio/potentiometer/max5481.c static int max5481_read_raw(struct iio_dev *indio_dev, iio_dev 100 drivers/iio/potentiometer/max5481.c static int max5481_write_raw(struct iio_dev *indio_dev, iio_dev 133 drivers/iio/potentiometer/max5481.c struct iio_dev *indio_dev; iio_dev 170 drivers/iio/potentiometer/max5481.c struct iio_dev *indio_dev = dev_get_drvdata(&spi->dev); iio_dev 49 drivers/iio/potentiometer/max5487.c static int max5487_read_raw(struct iio_dev *indio_dev, iio_dev 64 drivers/iio/potentiometer/max5487.c static int max5487_write_raw(struct iio_dev *indio_dev, iio_dev 86 drivers/iio/potentiometer/max5487.c struct iio_dev *indio_dev; iio_dev 118 drivers/iio/potentiometer/max5487.c struct iio_dev *indio_dev = dev_get_drvdata(&spi->dev); iio_dev 56 drivers/iio/potentiometer/mcp4018.c static int mcp4018_read_raw(struct iio_dev *indio_dev, iio_dev 79 drivers/iio/potentiometer/mcp4018.c static int mcp4018_write_raw(struct iio_dev *indio_dev, iio_dev 149 drivers/iio/potentiometer/mcp4018.c struct iio_dev *indio_dev; iio_dev 80 drivers/iio/potentiometer/mcp41010.c static int mcp41010_read_raw(struct iio_dev *indio_dev, iio_dev 101 drivers/iio/potentiometer/mcp41010.c static int mcp41010_write_raw(struct iio_dev *indio_dev, iio_dev 140 drivers/iio/potentiometer/mcp41010.c struct iio_dev *indio_dev; iio_dev 164 drivers/iio/potentiometer/mcp4131.c static int mcp4131_read_raw(struct iio_dev *indio_dev, iio_dev 205 drivers/iio/potentiometer/mcp4131.c static int mcp4131_write_raw(struct iio_dev *indio_dev, iio_dev 246 drivers/iio/potentiometer/mcp4131.c struct iio_dev *indio_dev; iio_dev 139 drivers/iio/potentiometer/mcp4531.c static int mcp4531_read_raw(struct iio_dev *indio_dev, iio_dev 164 drivers/iio/potentiometer/mcp4531.c static int mcp4531_read_avail(struct iio_dev *indio_dev, iio_dev 182 drivers/iio/potentiometer/mcp4531.c static int mcp4531_write_raw(struct iio_dev *indio_dev, iio_dev 359 drivers/iio/potentiometer/mcp4531.c struct iio_dev *indio_dev; iio_dev 63 drivers/iio/potentiometer/tpl0102.c static int tpl0102_read_raw(struct iio_dev *indio_dev, iio_dev 84 drivers/iio/potentiometer/tpl0102.c static int tpl0102_read_avail(struct iio_dev *indio_dev, iio_dev 102 drivers/iio/potentiometer/tpl0102.c static int tpl0102_write_raw(struct iio_dev *indio_dev, iio_dev 128 drivers/iio/potentiometer/tpl0102.c struct iio_dev *indio_dev; iio_dev 137 drivers/iio/potentiostat/lmp91000.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 155 drivers/iio/potentiostat/lmp91000.c static int lmp91000_read_raw(struct iio_dev *indio_dev, iio_dev 266 drivers/iio/potentiostat/lmp91000.c struct iio_dev *indio_dev = private; iio_dev 278 drivers/iio/potentiostat/lmp91000.c static int lmp91000_buffer_preenable(struct iio_dev *indio_dev) iio_dev 285 drivers/iio/potentiostat/lmp91000.c static int lmp91000_buffer_predisable(struct iio_dev *indio_dev) iio_dev 305 drivers/iio/potentiostat/lmp91000.c struct iio_dev *indio_dev; iio_dev 396 drivers/iio/potentiostat/lmp91000.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 130 drivers/iio/pressure/abp060mg.c static int abp060mg_read_raw(struct iio_dev *indio_dev, iio_dev 165 drivers/iio/pressure/abp060mg.c static void abp060mg_init_device(struct iio_dev *indio_dev, unsigned long id) iio_dev 180 drivers/iio/pressure/abp060mg.c struct iio_dev *indio_dev; iio_dev 426 drivers/iio/pressure/bmp280-core.c static int bmp280_read_raw(struct iio_dev *indio_dev, iio_dev 535 drivers/iio/pressure/bmp280-core.c static int bmp280_write_raw(struct iio_dev *indio_dev, iio_dev 989 drivers/iio/pressure/bmp280-core.c struct iio_dev *indio_dev; iio_dev 1150 drivers/iio/pressure/bmp280-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1166 drivers/iio/pressure/bmp280-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 1178 drivers/iio/pressure/bmp280-core.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 37 drivers/iio/pressure/cros_ec_baro.c static int cros_ec_baro_read(struct iio_dev *indio_dev, iio_dev 83 drivers/iio/pressure/cros_ec_baro.c static int cros_ec_baro_write(struct iio_dev *indio_dev, iio_dev 124 drivers/iio/pressure/cros_ec_baro.c struct iio_dev *indio_dev; iio_dev 413 drivers/iio/pressure/dps310.c static int dps310_write_raw(struct iio_dev *iio, iio_dev 641 drivers/iio/pressure/dps310.c static int dps310_read_raw(struct iio_dev *iio, iio_dev 724 drivers/iio/pressure/dps310.c struct iio_dev *iio; iio_dev 59 drivers/iio/pressure/hid-sensor-press.c static int press_read_raw(struct iio_dev *indio_dev, iio_dev 127 drivers/iio/pressure/hid-sensor-press.c static int press_write_raw(struct iio_dev *indio_dev, iio_dev 158 drivers/iio/pressure/hid-sensor-press.c static void hid_sensor_push_data(struct iio_dev *indio_dev, const void *data, iio_dev 170 drivers/iio/pressure/hid-sensor-press.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 188 drivers/iio/pressure/hid-sensor-press.c struct iio_dev *indio_dev = platform_get_drvdata(priv); iio_dev 249 drivers/iio/pressure/hid-sensor-press.c struct iio_dev *indio_dev; iio_dev 340 drivers/iio/pressure/hid-sensor-press.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 160 drivers/iio/pressure/hp03.c static int hp03_read_raw(struct iio_dev *indio_dev, iio_dev 215 drivers/iio/pressure/hp03.c struct iio_dev *indio_dev; iio_dev 280 drivers/iio/pressure/hp03.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 105 drivers/iio/pressure/hp206c.c static int hp206c_wait_dev_rdy(struct iio_dev *indio_dev) iio_dev 141 drivers/iio/pressure/hp206c.c static int hp206c_soft_reset(struct iio_dev *indio_dev) iio_dev 167 drivers/iio/pressure/hp206c.c static int hp206c_conv_and_read(struct iio_dev *indio_dev, iio_dev 202 drivers/iio/pressure/hp206c.c static int hp206c_read_raw(struct iio_dev *indio_dev, iio_dev 295 drivers/iio/pressure/hp206c.c static int hp206c_write_raw(struct iio_dev *indio_dev, iio_dev 356 drivers/iio/pressure/hp206c.c struct iio_dev *indio_dev; iio_dev 96 drivers/iio/pressure/mpl115.c static int mpl115_read_raw(struct iio_dev *indio_dev, iio_dev 149 drivers/iio/pressure/mpl115.c struct iio_dev *indio_dev; iio_dev 72 drivers/iio/pressure/mpl3115.c static int mpl3115_read_raw(struct iio_dev *indio_dev, iio_dev 145 drivers/iio/pressure/mpl3115.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 224 drivers/iio/pressure/mpl3115.c struct iio_dev *indio_dev; iio_dev 283 drivers/iio/pressure/mpl3115.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 62 drivers/iio/pressure/ms5611.h int ms5611_probe(struct iio_dev *indio_dev, struct device *dev, iio_dev 64 drivers/iio/pressure/ms5611.h int ms5611_remove(struct iio_dev *indio_dev); iio_dev 82 drivers/iio/pressure/ms5611_core.c static int ms5611_read_prom(struct iio_dev *indio_dev) iio_dev 105 drivers/iio/pressure/ms5611_core.c static int ms5611_read_temp_and_pressure(struct iio_dev *indio_dev, iio_dev 194 drivers/iio/pressure/ms5611_core.c static int ms5611_reset(struct iio_dev *indio_dev) iio_dev 213 drivers/iio/pressure/ms5611_core.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 233 drivers/iio/pressure/ms5611_core.c static int ms5611_read_raw(struct iio_dev *indio_dev, iio_dev 302 drivers/iio/pressure/ms5611_core.c static int ms5611_write_raw(struct iio_dev *indio_dev, iio_dev 386 drivers/iio/pressure/ms5611_core.c static int ms5611_init(struct iio_dev *indio_dev) iio_dev 418 drivers/iio/pressure/ms5611_core.c static void ms5611_fini(const struct iio_dev *indio_dev) iio_dev 425 drivers/iio/pressure/ms5611_core.c int ms5611_probe(struct iio_dev *indio_dev, struct device *dev, iio_dev 473 drivers/iio/pressure/ms5611_core.c int ms5611_remove(struct iio_dev *indio_dev) iio_dev 87 drivers/iio/pressure/ms5611_i2c.c struct iio_dev *indio_dev; iio_dev 86 drivers/iio/pressure/ms5611_spi.c struct iio_dev *indio_dev; iio_dev 36 drivers/iio/pressure/ms5637.c static int ms5637_read_raw(struct iio_dev *indio_dev, iio_dev 75 drivers/iio/pressure/ms5637.c static int ms5637_write_raw(struct iio_dev *indio_dev, iio_dev 132 drivers/iio/pressure/ms5637.c struct iio_dev *indio_dev; iio_dev 45 drivers/iio/pressure/st_pressure.h int st_press_common_probe(struct iio_dev *indio_dev); iio_dev 46 drivers/iio/pressure/st_pressure.h void st_press_common_remove(struct iio_dev *indio_dev); iio_dev 49 drivers/iio/pressure/st_pressure.h int st_press_allocate_ring(struct iio_dev *indio_dev); iio_dev 50 drivers/iio/pressure/st_pressure.h void st_press_deallocate_ring(struct iio_dev *indio_dev); iio_dev 54 drivers/iio/pressure/st_pressure.h static inline int st_press_allocate_ring(struct iio_dev *indio_dev) iio_dev 59 drivers/iio/pressure/st_pressure.h static inline void st_press_deallocate_ring(struct iio_dev *indio_dev) iio_dev 27 drivers/iio/pressure/st_pressure_buffer.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 32 drivers/iio/pressure/st_pressure_buffer.c static int st_press_buffer_postenable(struct iio_dev *indio_dev) iio_dev 51 drivers/iio/pressure/st_pressure_buffer.c static int st_press_buffer_predisable(struct iio_dev *indio_dev) iio_dev 69 drivers/iio/pressure/st_pressure_buffer.c int st_press_allocate_ring(struct iio_dev *indio_dev) iio_dev 75 drivers/iio/pressure/st_pressure_buffer.c void st_press_deallocate_ring(struct iio_dev *indio_dev) iio_dev 564 drivers/iio/pressure/st_pressure_core.c static int st_press_write_raw(struct iio_dev *indio_dev, iio_dev 585 drivers/iio/pressure/st_pressure_core.c static int st_press_read_raw(struct iio_dev *indio_dev, iio_dev 684 drivers/iio/pressure/st_pressure_core.c int st_press_common_probe(struct iio_dev *indio_dev) iio_dev 759 drivers/iio/pressure/st_pressure_core.c void st_press_common_remove(struct iio_dev *indio_dev) iio_dev 85 drivers/iio/pressure/st_pressure_i2c.c struct iio_dev *indio_dev; iio_dev 66 drivers/iio/pressure/st_pressure_spi.c struct iio_dev *indio_dev; iio_dev 126 drivers/iio/pressure/t5403.c static int t5403_read_raw(struct iio_dev *indio_dev, iio_dev 158 drivers/iio/pressure/t5403.c static int t5403_write_raw(struct iio_dev *indio_dev, iio_dev 215 drivers/iio/pressure/t5403.c struct iio_dev *indio_dev; iio_dev 217 drivers/iio/pressure/zpa2326.c static int zpa2326_enable_device(const struct iio_dev *indio_dev) iio_dev 243 drivers/iio/pressure/zpa2326.c static int zpa2326_sleep(const struct iio_dev *indio_dev) iio_dev 269 drivers/iio/pressure/zpa2326.c static int zpa2326_reset_device(const struct iio_dev *indio_dev) iio_dev 298 drivers/iio/pressure/zpa2326.c static int zpa2326_start_oneshot(const struct iio_dev *indio_dev) iio_dev 330 drivers/iio/pressure/zpa2326.c static int zpa2326_power_on(const struct iio_dev *indio_dev, iio_dev 375 drivers/iio/pressure/zpa2326.c static void zpa2326_power_off(const struct iio_dev *indio_dev, iio_dev 401 drivers/iio/pressure/zpa2326.c static int zpa2326_config_oneshot(const struct iio_dev *indio_dev, iio_dev 443 drivers/iio/pressure/zpa2326.c static int zpa2326_clear_fifo(const struct iio_dev *indio_dev, iio_dev 511 drivers/iio/pressure/zpa2326.c static int zpa2326_dequeue_pressure(const struct iio_dev *indio_dev, iio_dev 578 drivers/iio/pressure/zpa2326.c static int zpa2326_fill_sample_buffer(struct iio_dev *indio_dev, iio_dev 627 drivers/iio/pressure/zpa2326.c const struct iio_dev *indio_dev = dev_get_drvdata(parent); iio_dev 640 drivers/iio/pressure/zpa2326.c const struct iio_dev *indio_dev = dev_get_drvdata(parent); iio_dev 662 drivers/iio/pressure/zpa2326.c static int zpa2326_resume(const struct iio_dev *indio_dev) iio_dev 691 drivers/iio/pressure/zpa2326.c static void zpa2326_suspend(struct iio_dev *indio_dev) iio_dev 718 drivers/iio/pressure/zpa2326.c static int zpa2326_resume(const struct iio_dev *indio_dev) iio_dev 725 drivers/iio/pressure/zpa2326.c static void zpa2326_suspend(struct iio_dev *indio_dev) iio_dev 746 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev = data; iio_dev 785 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev = data; iio_dev 857 drivers/iio/pressure/zpa2326.c static int zpa2326_wait_oneshot_completion(const struct iio_dev *indio_dev, iio_dev 889 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev, iio_dev 933 drivers/iio/pressure/zpa2326.c static int zpa2326_poll_oneshot_completion(const struct iio_dev *indio_dev) iio_dev 1001 drivers/iio/pressure/zpa2326.c static int zpa2326_fetch_raw_sample(const struct iio_dev *indio_dev, iio_dev 1055 drivers/iio/pressure/zpa2326.c static int zpa2326_sample_oneshot(struct iio_dev *indio_dev, iio_dev 1154 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev = ((struct iio_poll_func *) iio_dev 1211 drivers/iio/pressure/zpa2326.c static int zpa2326_preenable_buffer(struct iio_dev *indio_dev) iio_dev 1241 drivers/iio/pressure/zpa2326.c static int zpa2326_postenable_buffer(struct iio_dev *indio_dev) iio_dev 1279 drivers/iio/pressure/zpa2326.c static int zpa2326_postdisable_buffer(struct iio_dev *indio_dev) iio_dev 1307 drivers/iio/pressure/zpa2326.c const struct iio_dev *indio_dev = dev_get_drvdata( iio_dev 1404 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev, iio_dev 1434 drivers/iio/pressure/zpa2326.c static int zpa2326_get_frequency(const struct iio_dev *indio_dev) iio_dev 1439 drivers/iio/pressure/zpa2326.c static int zpa2326_set_frequency(struct iio_dev *indio_dev, int hz) iio_dev 1476 drivers/iio/pressure/zpa2326.c static int zpa2326_read_raw(struct iio_dev *indio_dev, iio_dev 1540 drivers/iio/pressure/zpa2326.c static int zpa2326_write_raw(struct iio_dev *indio_dev, iio_dev 1589 drivers/iio/pressure/zpa2326.c static struct iio_dev *zpa2326_create_managed_iiodev(struct device *device, iio_dev 1593 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev; iio_dev 1618 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev; iio_dev 1710 drivers/iio/pressure/zpa2326.c struct iio_dev *indio_dev = dev_get_drvdata(parent); iio_dev 176 drivers/iio/proximity/as3935.c static int as3935_read_raw(struct iio_dev *indio_dev, iio_dev 222 drivers/iio/proximity/as3935.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 274 drivers/iio/proximity/as3935.c struct iio_dev *indio_dev = private; iio_dev 302 drivers/iio/proximity/as3935.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 322 drivers/iio/proximity/as3935.c struct iio_dev *indio_dev = dev_get_drvdata(dev); iio_dev 350 drivers/iio/proximity/as3935.c struct iio_dev *indio_dev = data; iio_dev 358 drivers/iio/proximity/as3935.c struct iio_dev *indio_dev; iio_dev 258 drivers/iio/proximity/isl29501.c static ssize_t isl29501_read_ext(struct iio_dev *indio_dev, iio_dev 380 drivers/iio/proximity/isl29501.c static ssize_t isl29501_write_ext(struct iio_dev *indio_dev, iio_dev 774 drivers/iio/proximity/isl29501.c static int isl29501_read_raw(struct iio_dev *indio_dev, iio_dev 883 drivers/iio/proximity/isl29501.c static int isl29501_write_raw(struct iio_dev *indio_dev, iio_dev 938 drivers/iio/proximity/isl29501.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 955 drivers/iio/proximity/isl29501.c struct iio_dev *indio_dev; iio_dev 47 drivers/iio/proximity/mb1232.c struct iio_dev *indio_dev = dev_id; iio_dev 114 drivers/iio/proximity/mb1232.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 133 drivers/iio/proximity/mb1232.c static int mb1232_read_raw(struct iio_dev *indio_dev, iio_dev 183 drivers/iio/proximity/mb1232.c struct iio_dev *indio_dev; iio_dev 40 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c struct iio_dev *indio_dev; iio_dev 191 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c static int lidar_read_raw(struct iio_dev *indio_dev, iio_dev 226 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 251 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c struct iio_dev *indio_dev; iio_dev 308 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 336 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 344 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 161 drivers/iio/proximity/rfd77402.c static int rfd77402_read_raw(struct iio_dev *indio_dev, iio_dev 259 drivers/iio/proximity/rfd77402.c struct iio_dev *indio_dev; iio_dev 301 drivers/iio/proximity/rfd77402.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 78 drivers/iio/proximity/srf04.c struct iio_dev *indio_dev = dev_id; iio_dev 181 drivers/iio/proximity/srf04.c static int srf04_read_raw(struct iio_dev *indio_dev, iio_dev 240 drivers/iio/proximity/srf04.c struct iio_dev *indio_dev; iio_dev 183 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 203 drivers/iio/proximity/srf08.c static int srf08_read_raw(struct iio_dev *indio_dev, iio_dev 242 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 295 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 318 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 337 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 385 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 449 drivers/iio/proximity/srf08.c struct iio_dev *indio_dev; iio_dev 379 drivers/iio/proximity/sx9500.c static int sx9500_read_raw(struct iio_dev *indio_dev, iio_dev 430 drivers/iio/proximity/sx9500.c static int sx9500_write_raw(struct iio_dev *indio_dev, iio_dev 451 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = private; iio_dev 466 drivers/iio/proximity/sx9500.c static void sx9500_push_events(struct iio_dev *indio_dev) iio_dev 500 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = private; iio_dev 525 drivers/iio/proximity/sx9500.c static int sx9500_read_event_config(struct iio_dev *indio_dev, iio_dev 539 drivers/iio/proximity/sx9500.c static int sx9500_write_event_config(struct iio_dev *indio_dev, iio_dev 583 drivers/iio/proximity/sx9500.c static int sx9500_update_scan_mode(struct iio_dev *indio_dev, iio_dev 623 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = iio_trigger_get_drvdata(trig); iio_dev 651 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 678 drivers/iio/proximity/sx9500.c static int sx9500_buffer_preenable(struct iio_dev *indio_dev) iio_dev 702 drivers/iio/proximity/sx9500.c static int sx9500_buffer_predisable(struct iio_dev *indio_dev) iio_dev 795 drivers/iio/proximity/sx9500.c static int sx9500_init_compensation(struct iio_dev *indio_dev) iio_dev 826 drivers/iio/proximity/sx9500.c static int sx9500_init_device(struct iio_dev *indio_dev) iio_dev 911 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev; iio_dev 989 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 1004 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 1027 drivers/iio/proximity/sx9500.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 88 drivers/iio/proximity/vl53l0x-i2c.c static int vl53l0x_read_raw(struct iio_dev *indio_dev, iio_dev 122 drivers/iio/proximity/vl53l0x-i2c.c struct iio_dev *indio_dev; iio_dev 47 drivers/iio/resolver/ad2s1200.c static int ad2s1200_read_raw(struct iio_dev *indio_dev, iio_dev 135 drivers/iio/resolver/ad2s1200.c struct iio_dev *indio_dev; iio_dev 30 drivers/iio/resolver/ad2s90.c static int ad2s90_read_raw(struct iio_dev *indio_dev, iio_dev 80 drivers/iio/resolver/ad2s90.c struct iio_dev *indio_dev; iio_dev 51 drivers/iio/temperature/hid-sensor-temperature.c static int temperature_read_raw(struct iio_dev *indio_dev, iio_dev 97 drivers/iio/temperature/hid-sensor-temperature.c static int temperature_write_raw(struct iio_dev *indio_dev, iio_dev 124 drivers/iio/temperature/hid-sensor-temperature.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 140 drivers/iio/temperature/hid-sensor-temperature.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 196 drivers/iio/temperature/hid-sensor-temperature.c struct iio_dev *indio_dev; iio_dev 269 drivers/iio/temperature/hid-sensor-temperature.c struct iio_dev *indio_dev = platform_get_drvdata(pdev); iio_dev 185 drivers/iio/temperature/max31856.c static int max31856_read_raw(struct iio_dev *indio_dev, iio_dev 223 drivers/iio/temperature/max31856.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 273 drivers/iio/temperature/max31856.c struct iio_dev *indio_dev; iio_dev 152 drivers/iio/temperature/maxim_thermocouple.c struct iio_dev *indio_dev = pf->indio_dev; iio_dev 167 drivers/iio/temperature/maxim_thermocouple.c static int maxim_thermocouple_read_raw(struct iio_dev *indio_dev, iio_dev 211 drivers/iio/temperature/maxim_thermocouple.c struct iio_dev *indio_dev; iio_dev 217 drivers/iio/temperature/mlx90614.c static int mlx90614_read_raw(struct iio_dev *indio_dev, iio_dev 308 drivers/iio/temperature/mlx90614.c static int mlx90614_write_raw(struct iio_dev *indio_dev, iio_dev 347 drivers/iio/temperature/mlx90614.c static int mlx90614_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 509 drivers/iio/temperature/mlx90614.c struct iio_dev *indio_dev; iio_dev 562 drivers/iio/temperature/mlx90614.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 592 drivers/iio/temperature/mlx90614.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 603 drivers/iio/temperature/mlx90614.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 624 drivers/iio/temperature/mlx90614.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 632 drivers/iio/temperature/mlx90614.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 519 drivers/iio/temperature/mlx90632.c static int mlx90632_read_raw(struct iio_dev *indio_dev, iio_dev 557 drivers/iio/temperature/mlx90632.c static int mlx90632_write_raw(struct iio_dev *indio_dev, iio_dev 623 drivers/iio/temperature/mlx90632.c struct iio_dev *indio_dev; iio_dev 699 drivers/iio/temperature/mlx90632.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 727 drivers/iio/temperature/mlx90632.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 735 drivers/iio/temperature/mlx90632.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 73 drivers/iio/temperature/tmp006.c static int tmp006_read_raw(struct iio_dev *indio_dev, iio_dev 123 drivers/iio/temperature/tmp006.c static int tmp006_write_raw(struct iio_dev *indio_dev, iio_dev 199 drivers/iio/temperature/tmp006.c struct iio_dev *indio_dev; iio_dev 243 drivers/iio/temperature/tmp006.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 254 drivers/iio/temperature/tmp006.c struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev)); iio_dev 101 drivers/iio/temperature/tmp007.c static int tmp007_read_raw(struct iio_dev *indio_dev, iio_dev 146 drivers/iio/temperature/tmp007.c static int tmp007_write_raw(struct iio_dev *indio_dev, iio_dev 173 drivers/iio/temperature/tmp007.c struct iio_dev *indio_dev = private; iio_dev 217 drivers/iio/temperature/tmp007.c static int tmp007_write_event_config(struct iio_dev *indio_dev, iio_dev 257 drivers/iio/temperature/tmp007.c static int tmp007_read_event_config(struct iio_dev *indio_dev, iio_dev 284 drivers/iio/temperature/tmp007.c static int tmp007_read_thresh(struct iio_dev *indio_dev, iio_dev 320 drivers/iio/temperature/tmp007.c static int tmp007_write_thresh(struct iio_dev *indio_dev, iio_dev 446 drivers/iio/temperature/tmp007.c struct iio_dev *indio_dev; iio_dev 537 drivers/iio/temperature/tmp007.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 45 drivers/iio/temperature/tsys01.c static int tsys01_read_temperature(struct iio_dev *indio_dev, iio_dev 79 drivers/iio/temperature/tsys01.c static int tsys01_read_raw(struct iio_dev *indio_dev, iio_dev 126 drivers/iio/temperature/tsys01.c static int tsys01_read_prom(struct iio_dev *indio_dev) iio_dev 154 drivers/iio/temperature/tsys01.c static int tsys01_probe(struct iio_dev *indio_dev, struct device *dev) iio_dev 183 drivers/iio/temperature/tsys01.c struct iio_dev *indio_dev; iio_dev 29 drivers/iio/temperature/tsys02d.c static int tsys02d_read_raw(struct iio_dev *indio_dev, iio_dev 60 drivers/iio/temperature/tsys02d.c static int tsys02d_write_raw(struct iio_dev *indio_dev, iio_dev 98 drivers/iio/temperature/tsys02d.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 128 drivers/iio/temperature/tsys02d.c struct iio_dev *indio_dev; iio_dev 30 drivers/iio/trigger/stm32-lptimer-trigger.c struct iio_dev *indio_dev) iio_dev 407 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_counter_read_raw(struct iio_dev *indio_dev, iio_dev 442 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_counter_write_raw(struct iio_dev *indio_dev, iio_dev 477 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_counter_validate_trigger(struct iio_dev *indio_dev, iio_dev 511 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_set_trigger_mode(struct iio_dev *indio_dev, iio_dev 522 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_get_trigger_mode(struct iio_dev *indio_dev, iio_dev 560 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_set_enable_mode(struct iio_dev *indio_dev, iio_dev 599 drivers/iio/trigger/stm32-timer-trigger.c static int stm32_get_enable_mode(struct iio_dev *indio_dev, iio_dev 618 drivers/iio/trigger/stm32-timer-trigger.c static ssize_t stm32_count_get_preset(struct iio_dev *indio_dev, iio_dev 631 drivers/iio/trigger/stm32-timer-trigger.c static ssize_t stm32_count_set_preset(struct iio_dev *indio_dev, iio_dev 677 drivers/iio/trigger/stm32-timer-trigger.c struct iio_dev *indio_dev; iio_dev 37 drivers/input/touchscreen/tsc2007_iio.c static int tsc2007_read_raw(struct iio_dev *indio_dev, iio_dev 108 drivers/input/touchscreen/tsc2007_iio.c struct iio_dev *indio_dev; iio_dev 172 drivers/platform/x86/toshiba_acpi.c struct iio_dev *indio_dev; iio_dev 2459 drivers/platform/x86/toshiba_acpi.c static int toshiba_iio_accel_read_raw(struct iio_dev *indio_dev, iio_dev 150 drivers/staging/iio/accel/adis16203.c static int adis16203_write_raw(struct iio_dev *indio_dev, iio_dev 163 drivers/staging/iio/accel/adis16203.c static int adis16203_read_raw(struct iio_dev *indio_dev, iio_dev 261 drivers/staging/iio/accel/adis16203.c struct iio_dev *indio_dev; iio_dev 305 drivers/staging/iio/accel/adis16203.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 207 drivers/staging/iio/accel/adis16240.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 245 drivers/staging/iio/accel/adis16240.c static int adis16240_read_raw(struct iio_dev *indio_dev, iio_dev 305 drivers/staging/iio/accel/adis16240.c static int adis16240_write_raw(struct iio_dev *indio_dev, iio_dev 386 drivers/staging/iio/accel/adis16240.c struct iio_dev *indio_dev; iio_dev 426 drivers/staging/iio/accel/adis16240.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 256 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev = spi_get_drvdata(st->sd.spi); iio_dev 343 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 353 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 364 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 427 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 550 drivers/staging/iio/adc/ad7192.c static int ad7192_read_raw(struct iio_dev *indio_dev, iio_dev 599 drivers/staging/iio/adc/ad7192.c static int ad7192_write_raw(struct iio_dev *indio_dev, iio_dev 660 drivers/staging/iio/adc/ad7192.c static int ad7192_write_raw_get_fmt(struct iio_dev *indio_dev, iio_dev 676 drivers/staging/iio/adc/ad7192.c static int ad7192_read_avail(struct iio_dev *indio_dev, iio_dev 744 drivers/staging/iio/adc/ad7192.c static int ad7192_channels_config(struct iio_dev *indio_dev) iio_dev 785 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev; iio_dev 899 drivers/staging/iio/adc/ad7192.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 403 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 417 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 448 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 472 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 688 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 718 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 770 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev = private; iio_dev 865 drivers/staging/iio/adc/ad7280a.c static int ad7280_read_raw(struct iio_dev *indio_dev, iio_dev 921 drivers/staging/iio/adc/ad7280a.c struct iio_dev *indio_dev; iio_dev 123 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 136 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 169 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 180 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 217 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 273 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 294 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 355 drivers/staging/iio/adc/ad7816.c struct iio_dev *indio_dev; iio_dev 225 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 256 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 280 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 294 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 324 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 338 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 374 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 413 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 458 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 479 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 491 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 518 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 530 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 557 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 568 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 595 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 606 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 633 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 649 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 679 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 694 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 725 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 737 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 764 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 776 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 803 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 815 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 846 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 872 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 906 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 925 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 964 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 976 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1003 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1015 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1042 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1058 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1178 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1189 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1201 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1215 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1226 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1237 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1291 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1302 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1317 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1328 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1343 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1355 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1370 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1382 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1475 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1486 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1499 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1510 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1523 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1534 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1547 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1558 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1571 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1589 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1608 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1626 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1732 drivers/staging/iio/addac/adt7316.c struct iio_dev *indio_dev = private; iio_dev 1801 drivers/staging/iio/addac/adt7316.c static int adt7316_setup_irq(struct iio_dev *indio_dev) iio_dev 1845 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1859 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1900 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1931 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1970 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 1981 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_to_iio_dev(dev); iio_dev 2097 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_get_drvdata(dev); iio_dev 2105 drivers/staging/iio/addac/adt7316.c struct iio_dev *dev_info = dev_get_drvdata(dev); iio_dev 2131 drivers/staging/iio/addac/adt7316.c struct iio_dev *indio_dev; iio_dev 100 drivers/staging/iio/cdc/ad7150.c static int ad7150_read_raw(struct iio_dev *indio_dev, iio_dev 130 drivers/staging/iio/cdc/ad7150.c static int ad7150_read_event_config(struct iio_dev *indio_dev, iio_dev 170 drivers/staging/iio/cdc/ad7150.c static int ad7150_write_event_params(struct iio_dev *indio_dev, iio_dev 215 drivers/staging/iio/cdc/ad7150.c static int ad7150_write_event_config(struct iio_dev *indio_dev, iio_dev 283 drivers/staging/iio/cdc/ad7150.c static int ad7150_read_event_value(struct iio_dev *indio_dev, iio_dev 309 drivers/staging/iio/cdc/ad7150.c static int ad7150_write_event_value(struct iio_dev *indio_dev, iio_dev 348 drivers/staging/iio/cdc/ad7150.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 377 drivers/staging/iio/cdc/ad7150.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 487 drivers/staging/iio/cdc/ad7150.c struct iio_dev *indio_dev = private; iio_dev 578 drivers/staging/iio/cdc/ad7150.c struct iio_dev *indio_dev; iio_dev 218 drivers/staging/iio/cdc/ad7746.c static int ad7746_select_channel(struct iio_dev *indio_dev, iio_dev 289 drivers/staging/iio/cdc/ad7746.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 329 drivers/staging/iio/cdc/ad7746.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 344 drivers/staging/iio/cdc/ad7746.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 420 drivers/staging/iio/cdc/ad7746.c static int ad7746_write_raw(struct iio_dev *indio_dev, iio_dev 528 drivers/staging/iio/cdc/ad7746.c static int ad7746_read_raw(struct iio_dev *indio_dev, iio_dev 681 drivers/staging/iio/cdc/ad7746.c struct iio_dev *indio_dev; iio_dev 174 drivers/staging/iio/frequency/ad9832.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 300 drivers/staging/iio/frequency/ad9832.c struct iio_dev *indio_dev; iio_dev 443 drivers/staging/iio/frequency/ad9832.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 147 drivers/staging/iio/frequency/ad9834.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 225 drivers/staging/iio/frequency/ad9834.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 284 drivers/staging/iio/frequency/ad9834.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 306 drivers/staging/iio/frequency/ad9834.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 396 drivers/staging/iio/frequency/ad9834.c struct iio_dev *indio_dev; iio_dev 509 drivers/staging/iio/frequency/ad9834.c struct iio_dev *indio_dev = spi_get_drvdata(spi); iio_dev 265 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 296 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 332 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 375 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 498 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_read_raw(struct iio_dev *indio_dev, iio_dev 546 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_ring_preenable(struct iio_dev *indio_dev) iio_dev 571 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_ring_postenable(struct iio_dev *indio_dev) iio_dev 591 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_ring_postdisable(struct iio_dev *indio_dev) iio_dev 605 drivers/staging/iio/impedance-analyzer/ad5933.c static int ad5933_register_ring_funcs_and_init(struct iio_dev *indio_dev) iio_dev 625 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev = i2c_get_clientdata(st->client); iio_dev 684 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev; iio_dev 771 drivers/staging/iio/impedance-analyzer/ad5933.c struct iio_dev *indio_dev = i2c_get_clientdata(client); iio_dev 24 drivers/staging/iio/meter/ade7854-i2c.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 72 drivers/staging/iio/meter/ade7854-i2c.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 116 drivers/staging/iio/meter/ade7854-i2c.c struct iio_dev *indio_dev; iio_dev 23 drivers/staging/iio/meter/ade7854-spi.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 74 drivers/staging/iio/meter/ade7854-spi.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 125 drivers/staging/iio/meter/ade7854-spi.c struct iio_dev *indio_dev; iio_dev 30 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 47 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 64 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 82 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 98 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 119 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 140 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 161 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 178 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 411 drivers/staging/iio/meter/ade7854.c struct iio_dev *indio_dev = dev_to_iio_dev(dev); iio_dev 431 drivers/staging/iio/meter/ade7854.c static int ade7854_initial_setup(struct iio_dev *indio_dev) iio_dev 534 drivers/staging/iio/meter/ade7854.c int ade7854_probe(struct iio_dev *indio_dev, struct device *dev) iio_dev 170 drivers/staging/iio/meter/ade7854.h int ade7854_probe(struct iio_dev *indio_dev, struct device *dev); iio_dev 171 drivers/staging/iio/meter/ade7854.h int ade7854_remove(struct iio_dev *indio_dev); iio_dev 459 drivers/staging/iio/resolver/ad2s1210.c static int ad2s1210_read_raw(struct iio_dev *indio_dev, iio_dev 653 drivers/staging/iio/resolver/ad2s1210.c struct iio_dev *indio_dev; iio_dev 29 include/linux/iio/adc/ad_sigma_delta.h struct iio_dev; iio_dev 120 include/linux/iio/adc/ad_sigma_delta.h int ad_sigma_delta_single_conversion(struct iio_dev *indio_dev, iio_dev 124 include/linux/iio/adc/ad_sigma_delta.h int ad_sd_init(struct ad_sigma_delta *sigma_delta, struct iio_dev *indio_dev, iio_dev 127 include/linux/iio/adc/ad_sigma_delta.h int ad_sd_setup_buffer_and_trigger(struct iio_dev *indio_dev); iio_dev 128 include/linux/iio/adc/ad_sigma_delta.h void ad_sd_cleanup_buffer_and_trigger(struct iio_dev *indio_dev); iio_dev 130 include/linux/iio/adc/ad_sigma_delta.h int ad_sd_validate_trigger(struct iio_dev *indio_dev, struct iio_trigger *trig); iio_dev 14 include/linux/iio/adc/stm32-dfsdm-adc.h int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev, iio_dev 18 include/linux/iio/adc/stm32-dfsdm-adc.h int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev); iio_dev 136 include/linux/iio/buffer-dma.h struct iio_dev *indio_dev); iio_dev 138 include/linux/iio/buffer-dma.h struct iio_dev *indio_dev); iio_dev 17 include/linux/iio/buffer.h int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data); iio_dev 33 include/linux/iio/buffer.h static inline int iio_push_to_buffers_with_timestamp(struct iio_dev *indio_dev, iio_dev 44 include/linux/iio/buffer.h bool iio_validate_scan_mask_onehot(struct iio_dev *indio_dev, iio_dev 47 include/linux/iio/buffer.h void iio_device_attach_buffer(struct iio_dev *indio_dev, iio_dev 9 include/linux/iio/buffer_impl.h struct iio_dev; iio_dev 58 include/linux/iio/buffer_impl.h int (*enable)(struct iio_buffer *buffer, struct iio_dev *indio_dev); iio_dev 59 include/linux/iio/buffer_impl.h int (*disable)(struct iio_buffer *buffer, struct iio_dev *indio_dev); iio_dev 144 include/linux/iio/buffer_impl.h int iio_update_buffers(struct iio_dev *indio_dev, iio_dev 73 include/linux/iio/common/cros_ec_sensors_core.h int (*read_ec_sensors_data)(struct iio_dev *indio_dev, iio_dev 93 include/linux/iio/common/cros_ec_sensors_core.h int cros_ec_sensors_read_lpc(struct iio_dev *indio_dev, unsigned long scan_mask, iio_dev 104 include/linux/iio/common/cros_ec_sensors_core.h int cros_ec_sensors_read_cmd(struct iio_dev *indio_dev, unsigned long scan_mask, iio_dev 117 include/linux/iio/common/cros_ec_sensors_core.h struct iio_dev *indio_dev, bool physical_device); iio_dev 171 include/linux/iio/common/cros_ec_sensors_core.h int cros_ec_sensors_core_read_avail(struct iio_dev *indio_dev, iio_dev 54 include/linux/iio/common/ssp_sensors.h int (*process_data)(struct iio_dev *indio_dev, void *buf, iio_dev 60 include/linux/iio/common/ssp_sensors.h void ssp_register_consumer(struct iio_dev *indio_dev, iio_dev 263 include/linux/iio/common/st_sensors.h int st_sensors_allocate_trigger(struct iio_dev *indio_dev, iio_dev 266 include/linux/iio/common/st_sensors.h void st_sensors_deallocate_trigger(struct iio_dev *indio_dev); iio_dev 268 include/linux/iio/common/st_sensors.h struct iio_dev *indio_dev); iio_dev 270 include/linux/iio/common/st_sensors.h static inline int st_sensors_allocate_trigger(struct iio_dev *indio_dev, iio_dev 275 include/linux/iio/common/st_sensors.h static inline void st_sensors_deallocate_trigger(struct iio_dev *indio_dev) iio_dev 282 include/linux/iio/common/st_sensors.h int st_sensors_init_sensor(struct iio_dev *indio_dev, iio_dev 285 include/linux/iio/common/st_sensors.h int st_sensors_set_enable(struct iio_dev *indio_dev, bool enable); iio_dev 287 include/linux/iio/common/st_sensors.h int st_sensors_set_axis_enable(struct iio_dev *indio_dev, u8 axis_enable); iio_dev 289 include/linux/iio/common/st_sensors.h int st_sensors_power_enable(struct iio_dev *indio_dev); iio_dev 291 include/linux/iio/common/st_sensors.h void st_sensors_power_disable(struct iio_dev *indio_dev); iio_dev 293 include/linux/iio/common/st_sensors.h int st_sensors_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 297 include/linux/iio/common/st_sensors.h int st_sensors_set_odr(struct iio_dev *indio_dev, unsigned int odr); iio_dev 299 include/linux/iio/common/st_sensors.h int st_sensors_set_dataready_irq(struct iio_dev *indio_dev, bool enable); iio_dev 301 include/linux/iio/common/st_sensors.h int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale); iio_dev 303 include/linux/iio/common/st_sensors.h int st_sensors_read_info_raw(struct iio_dev *indio_dev, iio_dev 310 include/linux/iio/common/st_sensors.h int st_sensors_verify_id(struct iio_dev *indio_dev); iio_dev 17 include/linux/iio/common/st_sensors_i2c.h int st_sensors_i2c_configure(struct iio_dev *indio_dev, iio_dev 16 include/linux/iio/common/st_sensors_spi.h int st_sensors_spi_configure(struct iio_dev *indio_dev, iio_dev 13 include/linux/iio/consumer.h struct iio_dev; iio_dev 24 include/linux/iio/consumer.h struct iio_dev *indio_dev; iio_dev 184 include/linux/iio/consumer.h struct iio_dev iio_dev 11 include/linux/iio/driver.h struct iio_dev; iio_dev 19 include/linux/iio/driver.h int iio_map_array_register(struct iio_dev *indio_dev, iio_dev 27 include/linux/iio/driver.h int iio_map_array_unregister(struct iio_dev *indio_dev); iio_dev 115 include/linux/iio/gyro/itg3200.h int itg3200_write_reg_8(struct iio_dev *indio_dev, iio_dev 118 include/linux/iio/gyro/itg3200.h int itg3200_read_reg_8(struct iio_dev *indio_dev, iio_dev 124 include/linux/iio/gyro/itg3200.h void itg3200_remove_trigger(struct iio_dev *indio_dev); iio_dev 125 include/linux/iio/gyro/itg3200.h int itg3200_probe_trigger(struct iio_dev *indio_dev); iio_dev 127 include/linux/iio/gyro/itg3200.h int itg3200_buffer_configure(struct iio_dev *indio_dev); iio_dev 128 include/linux/iio/gyro/itg3200.h void itg3200_buffer_unconfigure(struct iio_dev *indio_dev); iio_dev 132 include/linux/iio/gyro/itg3200.h static inline void itg3200_remove_trigger(struct iio_dev *indio_dev) iio_dev 136 include/linux/iio/gyro/itg3200.h static inline int itg3200_probe_trigger(struct iio_dev *indio_dev) iio_dev 141 include/linux/iio/gyro/itg3200.h static inline int itg3200_buffer_configure(struct iio_dev *indio_dev) iio_dev 146 include/linux/iio/gyro/itg3200.h static inline void itg3200_buffer_unconfigure(struct iio_dev *indio_dev) iio_dev 34 include/linux/iio/iio.h struct iio_dev; iio_dev 47 include/linux/iio/iio.h ssize_t (*read)(struct iio_dev *, uintptr_t private, iio_dev 49 include/linux/iio/iio.h ssize_t (*write)(struct iio_dev *, uintptr_t private, iio_dev 74 include/linux/iio/iio.h int (*set)(struct iio_dev *, const struct iio_chan_spec *, unsigned int); iio_dev 75 include/linux/iio/iio.h int (*get)(struct iio_dev *, const struct iio_chan_spec *); iio_dev 78 include/linux/iio/iio.h ssize_t iio_enum_available_read(struct iio_dev *indio_dev, iio_dev 80 include/linux/iio/iio.h ssize_t iio_enum_read(struct iio_dev *indio_dev, iio_dev 82 include/linux/iio/iio.h ssize_t iio_enum_write(struct iio_dev *indio_dev, iio_dev 128 include/linux/iio/iio.h ssize_t iio_show_mount_matrix(struct iio_dev *indio_dev, uintptr_t priv, iio_dev 315 include/linux/iio/iio.h s64 iio_get_time_ns(const struct iio_dev *indio_dev); iio_dev 316 include/linux/iio/iio.h unsigned int iio_get_time_res(const struct iio_dev *indio_dev); iio_dev 397 include/linux/iio/iio.h int (*read_raw)(struct iio_dev *indio_dev, iio_dev 403 include/linux/iio/iio.h int (*read_raw_multi)(struct iio_dev *indio_dev, iio_dev 410 include/linux/iio/iio.h int (*read_avail)(struct iio_dev *indio_dev, iio_dev 417 include/linux/iio/iio.h int (*write_raw)(struct iio_dev *indio_dev, iio_dev 423 include/linux/iio/iio.h int (*write_raw_get_fmt)(struct iio_dev *indio_dev, iio_dev 427 include/linux/iio/iio.h int (*read_event_config)(struct iio_dev *indio_dev, iio_dev 432 include/linux/iio/iio.h int (*write_event_config)(struct iio_dev *indio_dev, iio_dev 438 include/linux/iio/iio.h int (*read_event_value)(struct iio_dev *indio_dev, iio_dev 444 include/linux/iio/iio.h int (*write_event_value)(struct iio_dev *indio_dev, iio_dev 450 include/linux/iio/iio.h int (*validate_trigger)(struct iio_dev *indio_dev, iio_dev 452 include/linux/iio/iio.h int (*update_scan_mode)(struct iio_dev *indio_dev, iio_dev 454 include/linux/iio/iio.h int (*debugfs_reg_access)(struct iio_dev *indio_dev, iio_dev 457 include/linux/iio/iio.h int (*of_xlate)(struct iio_dev *indio_dev, iio_dev 459 include/linux/iio/iio.h int (*hwfifo_set_watermark)(struct iio_dev *indio_dev, unsigned val); iio_dev 460 include/linux/iio/iio.h int (*hwfifo_flush_to_buffer)(struct iio_dev *indio_dev, iio_dev 475 include/linux/iio/iio.h int (*preenable)(struct iio_dev *); iio_dev 476 include/linux/iio/iio.h int (*postenable)(struct iio_dev *); iio_dev 477 include/linux/iio/iio.h int (*predisable)(struct iio_dev *); iio_dev 478 include/linux/iio/iio.h int (*postdisable)(struct iio_dev *); iio_dev 479 include/linux/iio/iio.h bool (*validate_scan_mask)(struct iio_dev *indio_dev, iio_dev 573 include/linux/iio/iio.h *iio_find_channel_from_si(struct iio_dev *indio_dev, int si); iio_dev 580 include/linux/iio/iio.h int __iio_device_register(struct iio_dev *indio_dev, struct module *this_mod); iio_dev 581 include/linux/iio/iio.h void iio_device_unregister(struct iio_dev *indio_dev); iio_dev 600 include/linux/iio/iio.h int __devm_iio_device_register(struct device *dev, struct iio_dev *indio_dev, iio_dev 602 include/linux/iio/iio.h void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev); iio_dev 603 include/linux/iio/iio.h int iio_push_event(struct iio_dev *indio_dev, u64 ev_code, s64 timestamp); iio_dev 604 include/linux/iio/iio.h int iio_device_claim_direct_mode(struct iio_dev *indio_dev); iio_dev 605 include/linux/iio/iio.h void iio_device_release_direct_mode(struct iio_dev *indio_dev); iio_dev 613 include/linux/iio/iio.h static inline void iio_device_put(struct iio_dev *indio_dev) iio_dev 623 include/linux/iio/iio.h static inline clockid_t iio_device_get_clock(const struct iio_dev *indio_dev) iio_dev 634 include/linux/iio/iio.h static inline struct iio_dev *dev_to_iio_dev(struct device *dev) iio_dev 636 include/linux/iio/iio.h return container_of(dev, struct iio_dev, dev); iio_dev 645 include/linux/iio/iio.h static inline struct iio_dev *iio_device_get(struct iio_dev *indio_dev) iio_dev 659 include/linux/iio/iio.h static inline void iio_device_set_drvdata(struct iio_dev *indio_dev, void *data) iio_dev 670 include/linux/iio/iio.h static inline void *iio_device_get_drvdata(struct iio_dev *indio_dev) iio_dev 677 include/linux/iio/iio.h struct iio_dev *iio_device_alloc(int sizeof_priv); iio_dev 679 include/linux/iio/iio.h static inline void *iio_priv(const struct iio_dev *indio_dev) iio_dev 681 include/linux/iio/iio.h return (char *)indio_dev + ALIGN(sizeof(struct iio_dev), IIO_ALIGN); iio_dev 684 include/linux/iio/iio.h static inline struct iio_dev *iio_priv_to_dev(void *priv) iio_dev 686 include/linux/iio/iio.h return (struct iio_dev *)((char *)priv - iio_dev 687 include/linux/iio/iio.h ALIGN(sizeof(struct iio_dev), IIO_ALIGN)); iio_dev 690 include/linux/iio/iio.h void iio_device_free(struct iio_dev *indio_dev); iio_dev 692 include/linux/iio/iio.h struct iio_dev *devm_iio_device_alloc(struct device *dev, int sizeof_priv); iio_dev 693 include/linux/iio/iio.h void devm_iio_device_free(struct device *dev, struct iio_dev *indio_dev); iio_dev 702 include/linux/iio/iio.h static inline bool iio_buffer_enabled(struct iio_dev *indio_dev) iio_dev 714 include/linux/iio/iio.h static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) iio_dev 719 include/linux/iio/iio.h static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev) iio_dev 74 include/linux/iio/imu/adis.h int adis_init(struct adis *adis, struct iio_dev *indio_dev, iio_dev 160 include/linux/iio/imu/adis.h int adis_single_conversion(struct iio_dev *indio_dev, iio_dev 251 include/linux/iio/imu/adis.h struct iio_dev *indio_dev, irqreturn_t (*trigger_handler)(int, void *)); iio_dev 253 include/linux/iio/imu/adis.h struct iio_dev *indio_dev); iio_dev 255 include/linux/iio/imu/adis.h int adis_probe_trigger(struct adis *adis, struct iio_dev *indio_dev); iio_dev 258 include/linux/iio/imu/adis.h int adis_update_scan_mode(struct iio_dev *indio_dev, iio_dev 264 include/linux/iio/imu/adis.h struct iio_dev *indio_dev, irqreturn_t (*trigger_handler)(int, void *)) iio_dev 270 include/linux/iio/imu/adis.h struct iio_dev *indio_dev) iio_dev 275 include/linux/iio/imu/adis.h struct iio_dev *indio_dev) iio_dev 290 include/linux/iio/imu/adis.h int adis_debugfs_reg_access(struct iio_dev *indio_dev, iio_dev 31 include/linux/iio/sw_device.h struct iio_dev *device; iio_dev 18 include/linux/iio/trigger.h struct iio_dev; iio_dev 36 include/linux/iio/trigger.h struct iio_dev *indio_dev); iio_dev 154 include/linux/iio/trigger.h int iio_trigger_set_immutable(struct iio_dev *indio_dev, struct iio_trigger *trig); iio_dev 174 include/linux/iio/trigger.h bool iio_trigger_using_own(struct iio_dev *indio_dev); iio_dev 177 include/linux/iio/trigger.h struct iio_dev *indio_dev); iio_dev 13 include/linux/iio/trigger_consumer.h struct iio_dev; iio_dev 31 include/linux/iio/trigger_consumer.h struct iio_dev *indio_dev; iio_dev 45 include/linux/iio/trigger_consumer.h struct iio_dev *indio_dev, iio_dev 57 include/linux/iio/trigger_consumer.h int iio_triggered_buffer_postenable(struct iio_dev *indio_dev); iio_dev 58 include/linux/iio/trigger_consumer.h int iio_triggered_buffer_predisable(struct iio_dev *indio_dev); iio_dev 7 include/linux/iio/triggered_buffer.h struct iio_dev; iio_dev 10 include/linux/iio/triggered_buffer.h int iio_triggered_buffer_setup(struct iio_dev *indio_dev, iio_dev 14 include/linux/iio/triggered_buffer.h void iio_triggered_buffer_cleanup(struct iio_dev *indio_dev); iio_dev 17 include/linux/iio/triggered_buffer.h struct iio_dev *indio_dev, iio_dev 22 include/linux/iio/triggered_buffer.h struct iio_dev *indio_dev); iio_dev 7 include/linux/iio/triggered_event.h int iio_triggered_event_setup(struct iio_dev *indio_dev, iio_dev 10 include/linux/iio/triggered_event.h void iio_triggered_event_cleanup(struct iio_dev *indio_dev);