1 /* 2 * Copyright 2024 Cirrus Logic, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/syscall_handler.h> 8 #include <zephyr/drivers/haptics.h> 9 z_vrfy_haptics_start_output(const struct device * dev)10static inline int z_vrfy_haptics_start_output(const struct device *dev) 11 { 12 Z_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, start_output)); 13 14 return z_impl_haptics_start_output(dev); 15 } 16 17 #include <syscalls/haptics_start_output_mrsh.c> 18 z_vrfy_haptics_stop_output(const struct device * dev)19static inline int z_vrfy_haptics_stop_output(const struct device *dev) 20 { 21 Z_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, stop_output)); 22 23 z_impl_haptics_stop_output(dev); 24 } 25 26 #include <syscalls/haptics_stop_output_mrsh.c> 27