Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /usr/src/linux-headers-4.4.0-92/arch/arm/include/asm/ |
Upload File : |
#ifndef __ASMARM_SMP_TWD_H #define __ASMARM_SMP_TWD_H #define TWD_TIMER_LOAD 0x00 #define TWD_TIMER_COUNTER 0x04 #define TWD_TIMER_CONTROL 0x08 #define TWD_TIMER_INTSTAT 0x0C #define TWD_WDOG_LOAD 0x20 #define TWD_WDOG_COUNTER 0x24 #define TWD_WDOG_CONTROL 0x28 #define TWD_WDOG_INTSTAT 0x2C #define TWD_WDOG_RESETSTAT 0x30 #define TWD_WDOG_DISABLE 0x34 #define TWD_TIMER_CONTROL_ENABLE (1 << 0) #define TWD_TIMER_CONTROL_ONESHOT (0 << 1) #define TWD_TIMER_CONTROL_PERIODIC (1 << 1) #define TWD_TIMER_CONTROL_IT_ENABLE (1 << 2) #include <linux/ioport.h> struct twd_local_timer { struct resource res[2]; }; #define DEFINE_TWD_LOCAL_TIMER(name,base,irq) \ struct twd_local_timer name __initdata = { \ .res = { \ DEFINE_RES_MEM(base, 0x10), \ DEFINE_RES_IRQ(irq), \ }, \ }; int twd_local_timer_register(struct twd_local_timer *); #endif