%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/modules/4.4.0-210-generic/build/arch/blackfin/mach-bf561/include/mach/ |
Upload File : |
/* * Copyright 2005-2010 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef _MACH_PLL_H #define _MACH_PLL_H #ifndef __ASSEMBLY__ #ifdef CONFIG_SMP #include <asm/blackfin.h> #include <asm/irqflags.h> #include <mach/irq.h> #define SUPPLE_0_WAKEUP ((IRQ_SUPPLE_0 - (IRQ_CORETMR + 1)) % 32) #define SUPPLE_1_WAKEUP ((IRQ_SUPPLE_1 - (IRQ_CORETMR + 1)) % 32) static inline void bfin_iwr_restore(unsigned long iwr0, unsigned long iwr1, unsigned long iwr2) { unsigned long SICA_SICB_OFF = ((bfin_read_DSPID() & 0xff) ? 0x1000 : 0); bfin_write32(SIC_IWR0 + SICA_SICB_OFF, iwr0); bfin_write32(SIC_IWR1 + SICA_SICB_OFF, iwr1); } #define bfin_iwr_restore bfin_iwr_restore static inline void bfin_iwr_save(unsigned long niwr0, unsigned long niwr1, unsigned long niwr2, unsigned long *iwr0, unsigned long *iwr1, unsigned long *iwr2) { unsigned long SICA_SICB_OFF = ((bfin_read_DSPID() & 0xff) ? 0x1000 : 0); *iwr0 = bfin_read32(SIC_IWR0 + SICA_SICB_OFF); *iwr1 = bfin_read32(SIC_IWR1 + SICA_SICB_OFF); bfin_iwr_restore(niwr0, niwr1, niwr2); } #define bfin_iwr_save bfin_iwr_save static inline void bfin_iwr_set_sup0(unsigned long *iwr0, unsigned long *iwr1, unsigned long *iwr2) { bfin_iwr_save(0, IWR_ENABLE(SUPPLE_0_WAKEUP) | IWR_ENABLE(SUPPLE_1_WAKEUP), 0, iwr0, iwr1, iwr2); } #endif #endif #include <mach-common/pll.h> #endif