Lines Matching +full:data +full:- +full:out
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> *
27 #define REPORT_LED_STATE 0x81 /* LCD: OUT[1] */
28 #define REPORT_BRIGHTNESS 0x91 /* LCD: OUT[1] */
29 #define REPORT_CONTRAST 0x92 /* LCD: OUT[1] */
30 #define REPORT_RESET 0x93 /* LCD: OUT[2] */
31 #define REPORT_LCD_CMD 0x94 /* LCD: OUT[63] */
32 #define REPORT_LCD_DATA 0x95 /* LCD: OUT[63] */
33 #define REPORT_LCD_CMD_DATA 0x96 /* LCD: OUT[63] */
34 #define REPORT_EE_READ 0xa3 /* LCD: OUT[63] */
35 #define REPORT_EE_WRITE 0xa4 /* LCD: OUT[63] */
36 #define REPORT_ERASE_MEMORY 0xb2 /* LCD: OUT[2] */
37 #define REPORT_READ_MEMORY 0xb3 /* LCD: OUT[3] */
38 #define REPORT_WRITE_MEMORY 0xb4 /* LCD: OUT[63] */
39 #define REPORT_SPLASH_RESTART 0xc1 /* LCD: OUT[1] */
40 #define REPORT_EXIT_KEYBOARD 0xef /* LCD: OUT[2] */
41 #define REPORT_VERSION 0xf1 /* LCD: IN[2],OUT[1] Bootloader: IN[2],OUT[1] */
42 #define REPORT_BL_ERASE_MEMORY 0xf2 /* Bootloader: IN[36],OUT[4] */
43 #define REPORT_BL_READ_MEMORY 0xf3 /* Bootloader: IN[36],OUT[4] */
44 #define REPORT_BL_WRITE_MEMORY 0xf4 /* Bootloader: IN[36],OUT[36] */
45 #define REPORT_DEVID 0xf5 /* LCD: IN[5], OUT[1] Bootloader: IN[5],OUT[1] */
46 #define REPORT_SPLASH_SIZE 0xf6 /* LCD: IN[4], OUT[1] */
47 #define REPORT_HOOK_VERSION 0xf7 /* LCD: IN[2], OUT[1] */
48 #define REPORT_EXIT_FLASHER 0xff /* Bootloader: OUT[2] */
50 /* Description of in-progress IO operation, used for operations
63 /* Per device data structure */
133 void picolcd_debug_out_report(struct picolcd_data *data,
141 void picolcd_debug_raw_event(struct picolcd_data *data,
145 void picolcd_init_devfs(struct picolcd_data *data,
150 void picolcd_exit_devfs(struct picolcd_data *data);
152 static inline void picolcd_debug_out_report(struct picolcd_data *data, in picolcd_debug_out_report() argument
156 static inline void picolcd_debug_raw_event(struct picolcd_data *data, in picolcd_debug_raw_event() argument
161 static inline void picolcd_init_devfs(struct picolcd_data *data, in picolcd_init_devfs() argument
167 static inline void picolcd_exit_devfs(struct picolcd_data *data) in picolcd_exit_devfs() argument
174 int picolcd_fb_reset(struct picolcd_data *data, int clear);
176 int picolcd_init_framebuffer(struct picolcd_data *data);
178 void picolcd_exit_framebuffer(struct picolcd_data *data);
180 void picolcd_fb_refresh(struct picolcd_data *data);
181 #define picolcd_fbinfo(d) ((d)->fb_info)
183 static inline int picolcd_fb_reset(struct picolcd_data *data, int clear) in picolcd_fb_reset() argument
187 static inline int picolcd_init_framebuffer(struct picolcd_data *data) in picolcd_init_framebuffer() argument
191 static inline void picolcd_exit_framebuffer(struct picolcd_data *data) in picolcd_exit_framebuffer() argument
194 static inline void picolcd_fb_refresh(struct picolcd_data *data) in picolcd_fb_refresh() argument
202 int picolcd_init_backlight(struct picolcd_data *data,
205 void picolcd_exit_backlight(struct picolcd_data *data);
207 int picolcd_resume_backlight(struct picolcd_data *data);
209 void picolcd_suspend_backlight(struct picolcd_data *data);
211 static inline int picolcd_init_backlight(struct picolcd_data *data, in picolcd_init_backlight() argument
216 static inline void picolcd_exit_backlight(struct picolcd_data *data) in picolcd_exit_backlight() argument
219 static inline int picolcd_resume_backlight(struct picolcd_data *data) in picolcd_resume_backlight() argument
223 static inline void picolcd_suspend_backlight(struct picolcd_data *data) in picolcd_suspend_backlight() argument
231 int picolcd_init_lcd(struct picolcd_data *data,
234 void picolcd_exit_lcd(struct picolcd_data *data);
236 int picolcd_resume_lcd(struct picolcd_data *data);
238 static inline int picolcd_init_lcd(struct picolcd_data *data, in picolcd_init_lcd() argument
243 static inline void picolcd_exit_lcd(struct picolcd_data *data) in picolcd_exit_lcd() argument
246 static inline int picolcd_resume_lcd(struct picolcd_data *data) in picolcd_resume_lcd() argument
254 int picolcd_init_leds(struct picolcd_data *data,
257 void picolcd_exit_leds(struct picolcd_data *data);
259 void picolcd_leds_set(struct picolcd_data *data);
261 static inline int picolcd_init_leds(struct picolcd_data *data, in picolcd_init_leds() argument
266 static inline void picolcd_exit_leds(struct picolcd_data *data) in picolcd_exit_leds() argument
269 static inline void picolcd_leds_set(struct picolcd_data *data) in picolcd_leds_set() argument
276 int picolcd_raw_cir(struct picolcd_data *data,
279 int picolcd_init_cir(struct picolcd_data *data, struct hid_report *report);
281 void picolcd_exit_cir(struct picolcd_data *data);
283 static inline int picolcd_raw_cir(struct picolcd_data *data, in picolcd_raw_cir() argument
288 static inline int picolcd_init_cir(struct picolcd_data *data, struct hid_report *report) in picolcd_init_cir() argument
292 static inline void picolcd_exit_cir(struct picolcd_data *data) in picolcd_exit_cir() argument