!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-204/arch/x86/include/asm/   drwxr-xr-x
Free 13.32 GB of 57.97 GB (22.98%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     intel_pmc_ipc.h (2.21 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_INTEL_PMC_IPC_H_
#define  _ASM_X86_INTEL_PMC_IPC_H_

/* Commands */
#define PMC_IPC_PMIC_ACCESS        0xFF
#define        PMC_IPC_PMIC_ACCESS_READ    0x0
#define        PMC_IPC_PMIC_ACCESS_WRITE    0x1
#define PMC_IPC_USB_PWR_CTRL        0xF0
#define PMC_IPC_PMIC_BLACKLIST_SEL    0xEF
#define PMC_IPC_PHY_CONFIG        0xEE
#define PMC_IPC_NORTHPEAK_CTRL        0xED
#define PMC_IPC_PM_DEBUG        0xEC
#define PMC_IPC_PMC_TELEMTRY        0xEB
#define PMC_IPC_PMC_FW_MSG_CTRL        0xEA

/* IPC return code */
#define IPC_ERR_NONE            0
#define IPC_ERR_CMD_NOT_SUPPORTED    1
#define IPC_ERR_CMD_NOT_SERVICED    2
#define IPC_ERR_UNABLE_TO_SERVICE    3
#define IPC_ERR_CMD_INVALID        4
#define IPC_ERR_CMD_FAILED        5
#define IPC_ERR_EMSECURITY        6
#define IPC_ERR_UNSIGNEDKERNEL        7

/* GCR reg offsets from gcr base*/
#define PMC_GCR_PMC_CFG_REG        0x08
#define PMC_GCR_TELEM_DEEP_S0IX_REG    0x78
#define PMC_GCR_TELEM_SHLW_S0IX_REG    0x80

#if IS_ENABLED(CONFIG_INTEL_PMC_IPC)

int intel_pmc_ipc_simple_command(int cmd, int sub);
int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen,
        u32 *out, u32 outlen, u32 dptr, u32 sptr);
int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen,
        u32 *out, u32 outlen);
int intel_pmc_s0ix_counter_read(u64 *data);
int intel_pmc_gcr_read(u32 offset, u32 *data);
int intel_pmc_gcr_read64(u32 offset, u64 *data);
int intel_pmc_gcr_write(u32 offset, u32 data);
int intel_pmc_gcr_update(u32 offset, u32 mask, u32 val);

#else

static inline int intel_pmc_ipc_simple_command(int cmd, int sub)
{
    return -EINVAL;
}

static inline int intel_pmc_ipc_raw_cmd(u32 cmd, u32 sub, u8 *in, u32 inlen,
        u32 *out, u32 outlen, u32 dptr, u32 sptr)
{
    return -EINVAL;
}

static inline int intel_pmc_ipc_command(u32 cmd, u32 sub, u8 *in, u32 inlen,
        u32 *out, u32 outlen)
{
    return -EINVAL;
}

static inline int intel_pmc_s0ix_counter_read(u64 *data)
{
    return -EINVAL;
}

static inline int intel_pmc_gcr_read(u32 offset, u32 *data)
{
    return -EINVAL;
}

static inline int intel_pmc_gcr_read64(u32 offset, u64 *data)
{
    return -EINVAL;
}

static inline int intel_pmc_gcr_write(u32 offset, u32 data)
{
    return -EINVAL;
}

static inline int intel_pmc_gcr_update(u32 offset, u32 mask, u32 val)
{
    return -EINVAL;
}

#endif /*CONFIG_INTEL_PMC_IPC*/

#endif

:: 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.0505 ]--