/* * Copyright (c) 2018 Linaro Ltd. * * SPDX-License-Identifier: Apache-2.0 */ #include #include static inline int z_vrfy_led_blink(struct device *dev, u32_t led, u32_t delay_on, u32_t delay_off) { Z_OOPS(Z_SYSCALL_DRIVER_LED(dev, blink)); return z_impl_led_blink((struct device *)dev, led, delay_on, delay_off); } #include static inline int z_vrfy_led_set_brightness(struct device *dev, u32_t led, u8_t value) { Z_OOPS(Z_SYSCALL_DRIVER_LED(dev, set_brightness)); return z_impl_led_set_brightness((struct device *)dev, led, value); } #include static inline int z_vrfy_led_on(struct device *dev, u32_t led) { Z_OOPS(Z_SYSCALL_DRIVER_LED(dev, on)); return z_impl_led_on((struct device *)dev, led); } #include static inline int z_vrfy_led_off(struct device *dev, u32_t led) { Z_OOPS(Z_SYSCALL_DRIVER_LED(dev, off)); return z_impl_led_off((struct device *)dev, led); } #include