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-141-generic/arch/m68k/include/asm/ |
Upload File : |
/* * mcfclk.h -- coldfire specific clock structure */ #ifndef mcfclk_h #define mcfclk_h struct clk; struct clk_ops { void (*enable)(struct clk *); void (*disable)(struct clk *); }; struct clk { const char *name; struct clk_ops *clk_ops; unsigned long rate; unsigned long enabled; u8 slot; }; extern struct clk *mcf_clks[]; #ifdef MCFPM_PPMCR0 extern struct clk_ops clk_ops0; #ifdef MCFPM_PPMCR1 extern struct clk_ops clk_ops1; #endif /* MCFPM_PPMCR1 */ #define DEFINE_CLK(clk_bank, clk_name, clk_slot, clk_rate) \ static struct clk __clk_##clk_bank##_##clk_slot = { \ .name = clk_name, \ .clk_ops = &clk_ops##clk_bank, \ .rate = clk_rate, \ .slot = clk_slot, \ } void __clk_init_enabled(struct clk *); void __clk_init_disabled(struct clk *); #else #define DEFINE_CLK(clk_ref, clk_name, clk_rate) \ static struct clk clk_##clk_ref = { \ .name = clk_name, \ .rate = clk_rate, \ } #endif /* MCFPM_PPMCR0 */ #endif /* mcfclk_h */