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


Viewing file:     leds-ti-lmu-common.h (1.12 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
// TI LMU Common Core
// Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/

#ifndef _TI_LMU_COMMON_H_
#define _TI_LMU_COMMON_H_

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <uapi/linux/uleds.h>

#define LMU_11BIT_LSB_MASK    (BIT(0) | BIT(1) | BIT(2))
#define LMU_11BIT_MSB_SHIFT    3

#define MAX_BRIGHTNESS_8BIT    255
#define MAX_BRIGHTNESS_11BIT    2047

struct ti_lmu_bank {
    struct regmap *regmap;

    int max_brightness;

    u8 lsb_brightness_reg;
    u8 msb_brightness_reg;

    u8 runtime_ramp_reg;
    u32 ramp_up_usec;
    u32 ramp_down_usec;
};

int ti_lmu_common_set_brightness(struct ti_lmu_bank *lmu_bank, int brightness);

int ti_lmu_common_set_ramp(struct ti_lmu_bank *lmu_bank);

int ti_lmu_common_get_ramp_params(struct device *dev,
                  struct fwnode_handle *child,
                  struct ti_lmu_bank *lmu_data);

int ti_lmu_common_get_brt_res(struct device *dev, struct fwnode_handle *child,
                  struct ti_lmu_bank *lmu_data);

#endif /* _TI_LMU_COMMON_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.0222 ]--