linux/include/linux/iio/adc/stm32-dfsdm-adc.h
<<
>>
Prefs
   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 <arnaud.pouliquen@st.com>.
   7 */
   8
   9#ifndef STM32_DFSDM_ADC_H
  10#define STM32_DFSDM_ADC_H
  11
  12#include <linux/iio/iio.h>
  13
  14int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev,
  15                            int (*cb)(const void *data, size_t size,
  16                                      void *private),
  17                            void *private);
  18int stm32_dfsdm_release_buff_cb(struct iio_dev *iio_dev);
  19
  20#endif
  21