summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dummy/iio_dummy_evgen.h
blob: e0bf64fe9d67143c0154c50076d9aa0b77c84341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _IIO_DUMMY_EVGEN_H_
#define _IIO_DUMMY_EVGEN_H_

struct iio_dummy_regs {
	u32 reg_id;
	u32 reg_data;
};

struct iio_dummy_regs *iio_dummy_evgen_get_regs(int irq);
int iio_dummy_evgen_get_irq(void);
void iio_dummy_evgen_release_irq(int irq);

#endif /* _IIO_DUMMY_EVGEN_H_ */
OpenPOWER on IntegriCloud