__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * gpio-regulator.h
 *
 * Copyright 2011 Heiko Stuebner <[email protected]>
 *
 * based on fixed.h
 *
 * Copyright 2008 Wolfson Microelectronics PLC.
 *
 * Author: Mark Brown <[email protected]>
 *
 * Copyright (c) 2009 Nokia Corporation
 * Roger Quadros <[email protected]>
 */

#ifndef __REGULATOR_GPIO_H
#define __REGULATOR_GPIO_H

#include <linux/gpio/consumer.h>

struct regulator_init_data;

enum regulator_type;

/**
 * struct gpio_regulator_state - state description
 * @value:		microvolts or microamps
 * @gpios:		bitfield of gpio target-states for the value
 *
 * This structure describes a supported setting of the regulator
 * and the necessary gpio-state to achieve it.
 *
 * The n-th bit in the bitfield describes the state of the n-th GPIO
 * from the gpios-array defined in gpio_regulator_config below.
 */
struct gpio_regulator_state {
	int value;
	int gpios;
};

/**
 * struct gpio_regulator_config - config structure
 * @supply_name:	Name of the regulator supply
 * @input_supply:	Name of the input regulator supply
 * @enabled_at_boot:	Whether regulator has been enabled at
 *			boot or not. 1 = Yes, 0 = No
 *			This is used to keep the regulator at
 *			the default state
 * @startup_delay:	Start-up time in microseconds
 * @gflags:		Array of GPIO configuration flags for initial
 *			states
 * @ngpios:		Number of GPIOs and configurations available
 * @states:		Array of gpio_regulator_state entries describing
 *			the gpio state for specific voltages
 * @nr_states:		Number of states available
 * @regulator_type:	either REGULATOR_CURRENT or REGULATOR_VOLTAGE
 * @init_data:		regulator_init_data
 *
 * This structure contains gpio-voltage regulator configuration
 * information that must be passed by platform code to the
 * gpio-voltage regulator driver.
 */
struct gpio_regulator_config {
	const char *supply_name;
	const char *input_supply;

	unsigned enabled_at_boot:1;
	unsigned startup_delay;

	enum gpiod_flags *gflags;
	int ngpios;

	struct gpio_regulator_state *states;
	int nr_states;

	enum regulator_type type;
	struct regulator_init_data *init_data;
};

#endif

Filemanager

Name Type Size Permission Actions
act8865.h File 1.45 KB 0644
arizona-ldo1.h File 332 B 0644
arizona-micsupp.h File 347 B 0644
consumer.h File 21.06 KB 0644
coupler.h File 3.46 KB 0644
da9121.h File 956 B 0644
da9211.h File 757 B 0644
db8500-prcmu.h File 1011 B 0644
driver.h File 31.32 KB 0644
fan53555.h File 1.2 KB 0644
fixed.h File 1.7 KB 0644
gpio-regulator.h File 2.13 KB 0644
lp3971.h File 763 B 0644
lp3972.h File 661 B 0644
lp872x.h File 1.83 KB 0644
machine.h File 10.52 KB 0644
max1586.h File 1.48 KB 0644
max8649.h File 830 B 0644
max8660.h File 966 B 0644
max8952.h File 2.24 KB 0644
max8973-regulator.h File 2.25 KB 0644
mt6311.h File 439 B 0644
mt6315-regulator.h File 1.08 KB 0644
mt6323-regulator.h File 830 B 0644
mt6331-regulator.h File 900 B 0644
mt6332-regulator.h File 544 B 0644
mt6357-regulator.h File 892 B 0644
mt6358-regulator.h File 1.77 KB 0644
mt6359-regulator.h File 1.13 KB 0644
mt6380-regulator.h File 475 B 0644
mt6397-regulator.h File 808 B 0644
of_regulator.h File 1.09 KB 0644
pca9450.h File 6.04 KB 0644
pfuze100.h File 1.62 KB 0644
tps51632-regulator.h File 978 B 0644
tps62360.h File 978 B 0644
tps6507x.h File 512 B 0644
userspace-consumer.h File 696 B 0644
Filemanager