![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /lib/modules/5.4.0-198-generic/build/include/linux/platform_data/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * lm8323.h - Configuration for LM8323 keypad driver. */ #ifndef __LINUX_LM8323_H #define __LINUX_LM8323_H #include <linux/types.h> /* * Largest keycode that the chip can send, plus one, * so keys can be mapped directly at the index of the * LM8323 keycode instead of subtracting one. */ #define LM8323_KEYMAP_SIZE (0x7f + 1) #define LM8323_NUM_PWMS 3 struct lm8323_platform_data { int debounce_time; /* Time to watch for key bouncing, in ms. */ int active_time; /* Idle time until sleep, in ms. */ int size_x; int size_y; bool repeat; const unsigned short *keymap; const char *pwm_names[LM8323_NUM_PWMS]; const char *name; /* Device name. */ }; #endif /* __LINUX_LM8323_H */