!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-216/include/linux/platform_data/   drwxr-xr-x
Free 13.05 GB of 57.97 GB (22.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     pm33xx.h (2.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * TI pm33xx platform data
 *
 * Copyright (C) 2016-2018 Texas Instruments, Inc.
 *    Dave Gerlach <d-gerlach@ti.com>
 */

#ifndef _LINUX_PLATFORM_DATA_PM33XX_H
#define _LINUX_PLATFORM_DATA_PM33XX_H

#include <linux/kbuild.h>
#include <linux/types.h>

/*
 * WFI Flags for sleep code control
 *
 * These flags allow PM code to exclude certain operations from happening
 * in the low level ASM code found in sleep33xx.S and sleep43xx.S
 *
 * WFI_FLAG_FLUSH_CACHE: Flush the ARM caches and disable caching. Only
 *             needed when MPU will lose context.
 * WFI_FLAG_SELF_REFRESH: Let EMIF place DDR memory into self-refresh and
 *              disable EMIF.
 * WFI_FLAG_SAVE_EMIF: Save context of all EMIF registers and restore in
 *               resume path. Only needed if PER domain loses context
 *               and must also have WFI_FLAG_SELF_REFRESH set.
 * WFI_FLAG_WAKE_M3: Disable MPU clock or clockdomain to cause wkup_m3 to
 *             execute when WFI instruction executes.
 * WFI_FLAG_RTC_ONLY: Configure the RTC to enter RTC+DDR mode.
 */
#define WFI_FLAG_FLUSH_CACHE        BIT(0)
#define WFI_FLAG_SELF_REFRESH        BIT(1)
#define WFI_FLAG_SAVE_EMIF        BIT(2)
#define WFI_FLAG_WAKE_M3        BIT(3)
#define WFI_FLAG_RTC_ONLY        BIT(4)

#ifndef __ASSEMBLER__
struct am33xx_pm_sram_addr {
    void (*do_wfi)(void);
    unsigned long *do_wfi_sz;
    unsigned long *resume_offset;
    unsigned long *emif_sram_table;
    unsigned long *ro_sram_data;
    unsigned long resume_address;
};

struct am33xx_pm_platform_data {
    int    (*init)(void);
    int    (*soc_suspend)(unsigned int state, int (*fn)(unsigned long),
                   unsigned long args);
    struct  am33xx_pm_sram_addr *(*get_sram_addrs)(void);
    void __iomem *(*get_rtc_base_addr)(void);
    void (*save_context)(void);
    void (*restore_context)(void);
    void (*prepare_rtc_suspend)(void);
    void (*prepare_rtc_resume)(void);
    int (*check_off_mode_enable)(void);
};

struct am33xx_pm_sram_data {
    u32 wfi_flags;
    u32 l2_aux_ctrl_val;
    u32 l2_prefetch_ctrl_val;
} __packed __aligned(8);

struct am33xx_pm_ro_sram_data {
    u32 amx3_pm_sram_data_virt;
    u32 amx3_pm_sram_data_phys;
    void __iomem *rtc_base_virt;
} __packed __aligned(8);

#endif /* __ASSEMBLER__ */
#endif /* _LINUX_PLATFORM_DATA_PM33XX_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0051 ]--