aboutsummaryrefslogtreecommitdiffstats
path: root/meta-steppeeagle/recipes-applications/gpio-test/files/gpio-test.h
blob: af9c3b68f64f9cdfbcfa623b8c9bdf2ab823344e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _GPIO_TEST_H_
#define _GPIO_TEST_H_



/* IOCTL numbers */

typedef struct {
	int offset;
	int value;
}debug_data;

#define GPIO_TEST_IOC_MAGIC			'k'
#define GPIO_IOC_SWCTRLIN  _IOW(GPIO_TEST_IOC_MAGIC, 1, debug_data)
#define GPIO_IOC_SWCTRLEN  _IOW(GPIO_TEST_IOC_MAGIC, 2, debug_data)

#endif /* _GPIO_TEST_H_ */