Searched refs:setup_ops (Results 1 – 21 of 21) sorted by relevance
39 const struct iio_buffer_setup_ops *setup_ops) in iio_triggered_buffer_setup() argument65 indio_dev->setup_ops = setup_ops; in iio_triggered_buffer_setup()
302 if (!indio_dev->setup_ops->validate_scan_mask) in iio_validate_scan_mask()305 return indio_dev->setup_ops->validate_scan_mask(indio_dev, mask); in iio_validate_scan_mask()943 if (indio_dev->setup_ops->preenable) { in iio_enable_buffers()944 ret = indio_dev->setup_ops->preenable(indio_dev); in iio_enable_buffers()981 if (indio_dev->setup_ops->postenable) { in iio_enable_buffers()982 ret = indio_dev->setup_ops->postenable(indio_dev); in iio_enable_buffers()1002 if (indio_dev->setup_ops->postdisable) in iio_enable_buffers()1003 indio_dev->setup_ops->postdisable(indio_dev); in iio_enable_buffers()1029 if (indio_dev->setup_ops->predisable) { in iio_disable_buffers()1030 ret2 = indio_dev->setup_ops->predisable(indio_dev); in iio_disable_buffers()[all …]
1770 indio_dev->setup_ops == NULL) in __iio_device_register()1771 indio_dev->setup_ops = &noop_ring_setup_ops; in __iio_device_register()
13 const struct iio_buffer_setup_ops *setup_ops);
551 const struct iio_buffer_setup_ops *setup_ops; member
122 indio_dev->setup_ops = &iio_simple_dummy_buffer_setup_ops; in iio_simple_dummy_configure_buffer()
123 indio_dev->setup_ops = &ssp_gyro_buffer_ops; in ssp_gyro_probe()
123 indio_dev->setup_ops = &ssp_accel_buffer_ops; in ssp_accel_probe()
1496 indio_dev->setup_ops = &sca3000_ring_setup_ops; in sca3000_probe()
386 const struct iio_buffer_setup_ops *setup_ops) in tiadc_iio_buffered_hardware_setup() argument402 indio_dev->setup_ops = setup_ops; in tiadc_iio_buffered_hardware_setup()
648 indio_dev->setup_ops = &dln2_adc_buffer_setup_ops; in dln2_adc_probe()
820 iio_dev->setup_ops = &ingenic_buffer_setup_ops; in ingenic_adc_probe()
1031 indio_dev->setup_ops = &ina2xx_setup_ops; in ina2xx_probe()
1365 indio_dev->setup_ops = &stm32_dfsdm_buffer_setup_ops; in stm32_dfsdm_dma_request()
441 indio_dev->setup_ops = &max30100_buffer_setup_ops; in max30100_probe()
527 indio_dev->setup_ops = &max30102_buffer_setup_ops; in max30102_probe()
748 indio_dev->setup_ops = &inv_icm42600_buffer_ops; in inv_icm42600_gyro_init()
737 indio_dev->setup_ops = &inv_icm42600_buffer_ops; in inv_icm42600_accel_init()
617 indio_dev->setup_ops = &ad5933_ring_setup_ops; in ad5933_register_ring_funcs_and_init()
755 hw->iio_devs[i]->setup_ops = &st_lsm6dsx_buffer_ops; in st_lsm6dsx_fifo_setup()
1010 indio_dev->setup_ops = &apds9960_buffer_setup_ops; in apds9960_probe()