!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-5.13-headers-5.13.0-1018/include/linux/gpio/   drwxr-xr-x
Free 83.23 GB of 96.73 GB (86.04%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     regmap.h (3.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef _LINUX_GPIO_REGMAP_H
#define _LINUX_GPIO_REGMAP_H

struct device;
struct fwnode_handle;
struct gpio_regmap;
struct irq_domain;
struct regmap;

#define GPIO_REGMAP_ADDR_ZERO ((unsigned int)(-1))
#define GPIO_REGMAP_ADDR(addr) ((addr) ? : GPIO_REGMAP_ADDR_ZERO)

/**
 * struct gpio_regmap_config - Description of a generic regmap gpio_chip.
 * @parent:        The parent device
 * @regmap:        The regmap used to access the registers
 *            given, the name of the device is used
 * @fwnode:        (Optional) The firmware node.
 *            If not given, the fwnode of the parent is used.
 * @label:        (Optional) Descriptive name for GPIO controller.
 *            If not given, the name of the device is used.
 * @ngpio:        Number of GPIOs
 * @names:        (Optional) Array of names for gpios
 * @reg_dat_base:    (Optional) (in) register base address
 * @reg_set_base:    (Optional) set register base address
 * @reg_clr_base:    (Optional) clear register base address
 * @reg_dir_in_base:    (Optional) in setting register base address
 * @reg_dir_out_base:    (Optional) out setting register base address
 * @reg_stride:        (Optional) May be set if the registers (of the
 *            same type, dat, set, etc) are not consecutive.
 * @ngpio_per_reg:    Number of GPIOs per register
 * @irq_domain:        (Optional) IRQ domain if the controller is
 *            interrupt-capable
 * @reg_mask_xlate:     (Optional) Translates base address and GPIO
 *            offset to a register/bitmask pair. If not
 *            given the default gpio_regmap_simple_xlate()
 *            is used.
 *
 * The ->reg_mask_xlate translates a given base address and GPIO offset to
 * register and mask pair. The base address is one of the given register
 * base addresses in this structure.
 *
 * Although all register base addresses are marked as optional, there are
 * several rules:
 *     1. if you only have @reg_dat_base set, then it is input-only
 *     2. if you only have @reg_set_base set, then it is output-only
 *     3. if you have either @reg_dir_in_base or @reg_dir_out_base set, then
 *        you have to set both @reg_dat_base and @reg_set_base
 *     4. if you have @reg_set_base set, you may also set @reg_clr_base to have
 *        two different registers for setting and clearing the output. This is
 *        also valid for the output-only case.
 *     5. @reg_dir_in_base and @reg_dir_out_base are exclusive; is there really
 *        hardware which has redundant registers?
 *
 * Note: All base addresses may have the special value %GPIO_REGMAP_ADDR_ZERO
 * which forces the address to the value 0.
 */
struct gpio_regmap_config {
    struct device *parent;
    struct regmap *regmap;
    struct fwnode_handle *fwnode;

    const char *label;
    int ngpio;
    const char *const *names;

    unsigned int reg_dat_base;
    unsigned int reg_set_base;
    unsigned int reg_clr_base;
    unsigned int reg_dir_in_base;
    unsigned int reg_dir_out_base;
    int reg_stride;
    int ngpio_per_reg;
    struct irq_domain *irq_domain;

    int (*reg_mask_xlate)(struct gpio_regmap *gpio, unsigned int base,
                  unsigned int offset, unsigned int *reg,
                  unsigned int *mask);
};

struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config);
void gpio_regmap_unregister(struct gpio_regmap *gpio);
struct gpio_regmap *devm_gpio_regmap_register(struct device *dev,
                          const struct gpio_regmap_config *config);
void gpio_regmap_set_drvdata(struct gpio_regmap *gpio, void *data);
void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio);

#endif /* _LINUX_GPIO_REGMAP_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.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0042 ]--