stm32-dfsdm-adc.h 537 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * This file discribe the STM32 DFSDM IIO driver API for audio part
  4. *
  5. * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
  6. * Author(s): Arnaud Pouliquen <[email protected]>.
  7. */
  8. #ifndef STM32_DFSDM_ADC_H
  9. #define STM32_DFSDM_ADC_H
  10. #include <linux/iio/iio.h>
  11. int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev,
  12. int (*cb)(const void *data, size_t size,
  13. void *private),
  14. void *private);
  15. int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev);
  16. #endif