1 /*
2 * Copyright (c) 2022-2023 Jamie McCrae
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 #include <zephyr/drivers/auxdisplay.h>
8 #include <zephyr/syscall_handler.h>
9
z_vrfy_auxdisplay_display_on(const struct device * dev)10 static inline int z_vrfy_auxdisplay_display_on(const struct device *dev)
11 {
12 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
13 return z_impl_auxdisplay_display_on(dev);
14 }
15 #include <syscalls/auxdisplay_display_on_mrsh.c>
16
z_vrfy_auxdisplay_display_off(const struct device * dev)17 static inline int z_vrfy_auxdisplay_display_off(const struct device *dev)
18 {
19 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
20 return z_impl_auxdisplay_display_off(dev);
21 }
22 #include <syscalls/auxdisplay_display_off_mrsh.c>
23
z_vrfy_auxdisplay_cursor_set_enabled(const struct device * dev,bool enabled)24 static inline int z_vrfy_auxdisplay_cursor_set_enabled(const struct device *dev, bool enabled)
25 {
26 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
27 return z_impl_auxdisplay_cursor_set_enabled(dev, enabled);
28 }
29 #include <syscalls/auxdisplay_cursor_set_enabled_mrsh.c>
30
z_vrfy_auxdisplay_position_blinking_set_enabled(const struct device * dev,bool enabled)31 static inline int z_vrfy_auxdisplay_position_blinking_set_enabled(const struct device *dev,
32 bool enabled)
33 {
34 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
35 return z_impl_auxdisplay_position_blinking_set_enabled(dev, enabled);
36 }
37 #include <syscalls/auxdisplay_position_blinking_set_enabled_mrsh.c>
38
z_vrfy_auxdisplay_cursor_shift_set(const struct device * dev,uint8_t direction,bool display_shift)39 static inline int z_vrfy_auxdisplay_cursor_shift_set(const struct device *dev, uint8_t direction,
40 bool display_shift)
41 {
42 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
43 return z_impl_auxdisplay_cursor_shift_set(dev, direction, display_shift);
44 }
45 #include <syscalls/auxdisplay_cursor_shift_set_mrsh.c>
46
z_vrfy_auxdisplay_cursor_position_set(const struct device * dev,enum auxdisplay_position type,int16_t x,int16_t y)47 static inline int z_vrfy_auxdisplay_cursor_position_set(const struct device *dev,
48 enum auxdisplay_position type,
49 int16_t x, int16_t y)
50 {
51 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
52 return z_impl_auxdisplay_cursor_position_set(dev, type, x, y);
53 }
54 #include <syscalls/auxdisplay_cursor_position_set_mrsh.c>
55
z_vrfy_auxdisplay_cursor_position_get(const struct device * dev,int16_t * x,int16_t * y)56 static inline int z_vrfy_auxdisplay_cursor_position_get(const struct device *dev, int16_t *x,
57 int16_t *y)
58 {
59 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
60 return z_impl_auxdisplay_cursor_position_get(dev, x, y);
61 }
62 #include <syscalls/auxdisplay_cursor_position_get_mrsh.c>
63
z_vrfy_auxdisplay_display_position_set(const struct device * dev,enum auxdisplay_position type,int16_t x,int16_t y)64 static inline int z_vrfy_auxdisplay_display_position_set(const struct device *dev,
65 enum auxdisplay_position type,
66 int16_t x, int16_t y)
67 {
68 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
69 return z_impl_auxdisplay_display_position_set(dev, type, x, y);
70 }
71 #include <syscalls/auxdisplay_display_position_set_mrsh.c>
72
z_vrfy_auxdisplay_display_position_get(const struct device * dev,int16_t * x,int16_t * y)73 static inline int z_vrfy_auxdisplay_display_position_get(const struct device *dev, int16_t *x,
74 int16_t *y)
75 {
76 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
77 return z_impl_auxdisplay_display_position_get(dev, x, y);
78 }
79 #include <syscalls/auxdisplay_display_position_get_mrsh.c>
80
z_vrfy_auxdisplay_capabilities_get(const struct device * dev,struct auxdisplay_capabilities * capabilities)81 static inline int z_vrfy_auxdisplay_capabilities_get(const struct device *dev,
82 struct auxdisplay_capabilities *capabilities)
83 {
84 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
85 return z_impl_auxdisplay_capabilities_get(dev, capabilities);
86 }
87 #include <syscalls/auxdisplay_capabilities_get_mrsh.c>
88
z_vrfy_auxdisplay_clear(const struct device * dev)89 static inline int z_vrfy_auxdisplay_clear(const struct device *dev)
90 {
91 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
92 return z_impl_auxdisplay_clear(dev);
93 }
94 #include <syscalls/auxdisplay_clear_mrsh.c>
95
z_vrfy_auxdisplay_brightness_get(const struct device * dev,uint8_t * brightness)96 static inline int z_vrfy_auxdisplay_brightness_get(const struct device *dev,
97 uint8_t *brightness)
98 {
99 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
100 return z_impl_auxdisplay_brightness_get(dev, brightness);
101 }
102 #include <syscalls/auxdisplay_brightness_get_mrsh.c>
103
z_vrfy_auxdisplay_brightness_set(const struct device * dev,uint8_t brightness)104 static inline int z_vrfy_auxdisplay_brightness_set(const struct device *dev,
105 uint8_t brightness)
106 {
107 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
108 return z_impl_auxdisplay_brightness_set(dev, brightness);
109 }
110 #include <syscalls/auxdisplay_brightness_set_mrsh.c>
111
z_vrfy_auxdisplay_backlight_get(const struct device * dev,uint8_t * backlight)112 static inline int z_vrfy_auxdisplay_backlight_get(const struct device *dev,
113 uint8_t *backlight)
114 {
115 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
116 return z_impl_auxdisplay_backlight_get(dev, backlight);
117 }
118 #include <syscalls/auxdisplay_backlight_get_mrsh.c>
119
z_vrfy_auxdisplay_backlight_set(const struct device * dev,uint8_t backlight)120 static inline int z_vrfy_auxdisplay_backlight_set(const struct device *dev,
121 uint8_t backlight)
122 {
123 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
124 return z_impl_auxdisplay_backlight_set(dev, backlight);
125 }
126 #include <syscalls/auxdisplay_backlight_set_mrsh.c>
127
z_vrfy_auxdisplay_is_busy(const struct device * dev)128 static inline int z_vrfy_auxdisplay_is_busy(const struct device *dev)
129 {
130 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
131 return z_impl_auxdisplay_is_busy(dev);
132 }
133 #include <syscalls/auxdisplay_is_busy_mrsh.c>
134
z_vrfy_auxdisplay_custom_character_set(const struct device * dev,struct auxdisplay_character * character)135 static inline int z_vrfy_auxdisplay_custom_character_set(const struct device *dev,
136 struct auxdisplay_character *character)
137 {
138 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
139 return z_impl_auxdisplay_custom_character_set(dev, character);
140 }
141 #include <syscalls/auxdisplay_custom_character_set_mrsh.c>
142
z_vrfy_auxdisplay_write(const struct device * dev,const uint8_t * data,uint16_t len)143 static inline int z_vrfy_auxdisplay_write(const struct device *dev, const uint8_t *data,
144 uint16_t len)
145 {
146 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
147 return z_impl_auxdisplay_write(dev, data, len);
148 }
149 #include <syscalls/auxdisplay_write_mrsh.c>
150
z_vrfy_auxdisplay_custom_command(const struct device * dev,struct auxdisplay_custom_data * data)151 static inline int z_vrfy_auxdisplay_custom_command(const struct device *dev,
152 struct auxdisplay_custom_data *data)
153 {
154 Z_OOPS(Z_SYSCALL_OBJ(dev, K_OBJ_DRIVER_AUXDISPLAY));
155 return z_impl_auxdisplay_custom_command(dev, data);
156 }
157 #include <syscalls/auxdisplay_custom_command_mrsh.c>
158