summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files-2.6.25/include/linux/gpio_dev.h
blob: 3f3c9c772c9c38dcdd900b3e1f09c20ce5b51aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _GPIODEV_H__
#define _GPIODEV_H__

#define IOC_GPIODEV_MAGIC  'B'
#define GPIO_GET        _IO(IOC_GPIODEV_MAGIC, 10)
#define GPIO_SET        _IO(IOC_GPIODEV_MAGIC, 11)
#define GPIO_CLEAR      _IO(IOC_GPIODEV_MAGIC, 12)
#define GPIO_DIR_IN     _IO(IOC_GPIODEV_MAGIC, 13)
#define GPIO_DIR_OUT    _IO(IOC_GPIODEV_MAGIC, 14)

#endif