root/include/linux/iio/driver.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Industrial I/O in kernel access map interface.
   4  *
   5  * Copyright (c) 2011 Jonathan Cameron
   6  */
   7 
   8 #ifndef _IIO_INKERN_H_
   9 #define _IIO_INKERN_H_
  10 
  11 struct iio_dev;
  12 struct iio_map;
  13 
  14 /**
  15  * iio_map_array_register() - tell the core about inkernel consumers
  16  * @indio_dev:  provider device
  17  * @map:        array of mappings specifying association of channel with client
  18  */
  19 int iio_map_array_register(struct iio_dev *indio_dev,
  20                            struct iio_map *map);
  21 
  22 /**
  23  * iio_map_array_unregister() - tell the core to remove consumer mappings for
  24  *                              the given provider device
  25  * @indio_dev:  provider device
  26  */
  27 int iio_map_array_unregister(struct iio_dev *indio_dev);
  28 
  29 #endif

/* [<][>][^][v][top][bottom][index][help] */