1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/***************************************************************************
***
*** Copyright 2007 Hon Hai Precision Ind. Co. Ltd.
*** All Rights Reserved.
*** No portions of this material shall be reproduced in any form without the
*** written permission of Hon Hai Precision Ind. Co. Ltd.
***
*** All information contained in this document is Hon Hai Precision Ind.
*** Co. Ltd. company private, proprietary, and trade secret property and
*** are protected by international intellectual property laws and treaties.
***
****************************************************************************/
#ifndef __WPS_LED_H__
#define __WPS_LED_H__
#define DEV_GPIO_DRV "wps_led"
#define WPS_LED_IOCTL_NUM 'W'
#define WPS_LED_BLINK_NORMAL _IOWR(WPS_LED_IOCTL_NUM, 0, int *)
#define WPS_LED_BLINK_QUICK _IOWR(WPS_LED_IOCTL_NUM, 1, int *)
#define WPS_LED_BLINK_OFF _IOWR(WPS_LED_IOCTL_NUM, 2, int *)
#define WPS_LED_CHANGE_GREEN _IOWR(WPS_LED_IOCTL_NUM, 3, int *)
#define WPS_LED_CHANGE_AMBER _IOWR(WPS_LED_IOCTL_NUM, 4, int *)
#define WPS_LED_BLINK_QUICK2 _IOWR(WPS_LED_IOCTL_NUM, 5, int *)
#endif
|