1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LEDS_AN30259A_H
20#define _LEDS_AN30259A_H
21#include <linux/ioctl.h>
22#include <linux/types.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define LED_LIGHT_OFF 0
25#define LED_LIGHT_ON 1
26#define LED_LIGHT_PULSE 2
27#define LED_LIGHT_SLOPE 3
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29struct an30259a_pr_control {
30 __u32 color;
31 __u32 state;
32 __u16 start_delay;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 __u16 time_slope_up_1;
35 __u16 time_slope_up_2;
36 __u16 time_on;
37 __u16 time_slope_down_1;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 __u16 time_slope_down_2;
40 __u16 time_off;
41 __u8 mid_brightness;
42} __packed;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define AN30259A_PR_SET_LED _IOW('S', 42, struct an30259a_pr_control)
45#define AN30259A_PR_SET_LEDS _IOW('S', 43, struct an30259a_pr_control[3])
46#define AN30259A_PR_SET_IMAX _IOW('S', 44, __u8)
47#endif
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49