Server IP : 104.21.38.3 / Your IP : 104.23.175.169 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142/arch/arm/mach-davinci/include/mach/ |
Upload File : |
/* * TI DaVinci platform support for power management. * * Copyright (C) 2009 Texas Instruments, Inc. https://www.ti.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation version 2. * * This program is distributed "as is" WITHOUT ANY WARRANTY of any * kind, whether express or implied; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _MACH_DAVINCI_PM_H #define _MACH_DAVINCI_PM_H /* * Caution: Assembly code in sleep.S makes assumtion on the order * of the members of this structure. */ struct davinci_pm_config { void __iomem *ddr2_ctlr_base; void __iomem *ddrpsc_reg_base; int ddrpsc_num; void __iomem *ddrpll_reg_base; void __iomem *deepsleep_reg; void __iomem *cpupll_reg_base; /* * Note on SLEEPCOUNT: * The SLEEPCOUNT feature is mainly intended for cases in which * the internal oscillator is used. The internal oscillator is * fully disabled in deep sleep mode. When you exist deep sleep * mode, the oscillator will be turned on and will generate very * small oscillations which will not be detected by the deep sleep * counter. Eventually those oscillations will grow to an amplitude * large enough to start incrementing the deep sleep counter. * In this case recommendation from hardware engineers is that the * SLEEPCOUNT be set to 4096. This means that 4096 valid clock cycles * must be detected before the clock is passed to the rest of the * system. * In the case that the internal oscillator is not used and the * clock is generated externally, the SLEEPCOUNT value can be very * small since the clock input is assumed to be stable before SoC * is taken out of deepsleep mode. A value of 128 would be more than * adequate. */ int sleepcount; }; extern unsigned int davinci_cpu_suspend_sz; extern void davinci_cpu_suspend(struct davinci_pm_config *); #endif