Home
last modified time | relevance | path

Searched full:dvs (Results 1 – 25 of 131) sorted by relevance

123456

/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/
Dia_css_sdis_common_types.h20 * CSS-API header file for DVS statistics parameters.
25 /* DVS statistics grid dimensions in number of cells.
29 u32 width; /** Width of DVS grid table in cells */
30 u32 height; /** Height of DVS grid table in cells */
33 /* DVS statistics dimensions in number of cells for
45 /* DVS statistics grid
47 * ISP block: SDVS1 (DIS/DVS Support for DIS/DVS ver.1 (2-axes))
48 * SDVS2 (DVS Support for DVS ver.2 (6-axes))
53 u32 width; /** Width of DVS grid table.
63 u32 height; /** Height of DVS grid table.
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/
Dia_css_dvs.h20 * This file contains types for DVS statistics
34 /* Structure that holds DVS statistics in the ISP internal
36 * this to the format used on the host (DVS engine).
48 /* Structure that holds SKC DVS statistics in the ISP internal
84 /* @brief Copy DVS statistics from an ISP buffer to a host buffer.
102 /* @brief Translate DVS statistics from ISP format to host format
107 * This function translates the dvs statistics from the ISP-internal
108 * format to the format used by the DVS library on the CPU.
118 /* @brief Copy DVS 2.0 statistics from an ISP buffer to a host buffer.
152 /* @brief Copy DVS statistics from an ISP buffer to a host buffer.
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/regulator/
Dsamsung,s5m8767.txt16 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
17 units for buck2 when changing voltage using gpio dvs. Refer to [1] below
20 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
21 units for buck3 when changing voltage using gpio dvs. Refer to [1] below
24 - s5m8767,pmic-buck4-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
25 units for buck4 when changing voltage using gpio dvs. Refer to [1] below
29 for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines.
31 [1] If none of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
32 property is specified, the 's5m8767,pmic-buck[2/3/4]-dvs-voltage'
36 If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
[all …]
Dmax8997-regulator.txt13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
14 units for buck1 when changing voltage using gpio dvs. Refer to [1] below
17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
18 units for buck2 when changing voltage using gpio dvs. Refer to [1] below
21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
22 units for buck5 when changing voltage using gpio dvs. Refer to [1] below
25 [1] If none of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional
26 property is specified, the 'max8997,pmic-buck[1/2/5]-dvs-voltage'
30 If either of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional
32 'max8997,pmic-buck[1/2/5]-dvs-voltage' should be specified.
[all …]
Dlp872x.txt10 bit[2]: BUCK output voltage control by external DVS pin or register
12 bit[1]: sleep control by external DVS pin or register
20 bit[2]: BUCK1 output voltage control by external DVS pin or register
21 1 = register 08h, 0 = DVS
28 - ti,dvs-gpio: GPIO specifier for external DVS pin control of LP872x devices.
29 - ti,dvs-vsel: DVS selector. 0 = SEL_V1, 1 = SEL_V2.
30 - ti,dvs-state: initial DVS pin state. 0 = DVS_LOW, 1 = DVS_HIGH.
49 /* external DVS pin used, timestep is 25usec */
54 * The dvs-gpio depends on the processor environment.
57 ti,dvs-gpio = <&gpio5 6 0>;
[all …]
Dmax8952.txt6 - max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages
11 - max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection
13 - max8952,default-mode: index of default DVS voltage, from <0, 3> range
41 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
Drichtek,rtq2134-regulator.yaml38 richtek,use-vsel-dvs:
41 If specified, buck will listen to 'vsel' pin for dvs config.
76 richtek,use-vsel-dvs;
87 richtek,use-vsel-dvs;
98 richtek,use-vsel-dvs;
Drohm,bd71847-regulator.yaml56 rohm,dvs-run-voltage:
64 rohm,dvs-idle-voltage:
72 rohm,dvs-suspend-voltage:
80 # Supported default DVS states:
83 # buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
Dnxp,pca9450-regulator.yaml70 nxp,dvs-run-voltage:
76 dvs(dynamic voltage scaling) property.
78 nxp,dvs-standby-voltage:
84 dvs(dynamic voltage scaling) property.
133 nxp,dvs-run-voltage = <950000>;
134 nxp,dvs-standby-voltage = <850000>;
Drohm,bd71837-regulator.yaml57 rohm,dvs-run-voltage:
65 rohm,dvs-idle-voltage:
73 rohm,dvs-suspend-voltage:
81 # Supported default DVS states:
84 # buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage
Drohm,bd71828-regulator.yaml51 rohm,dvs-run-voltage:
59 rohm,dvs-idle-voltage:
67 rohm,dvs-suspend-voltage:
75 rohm,dvs-lpsr-voltage:
83 # Supported default DVS states:
/Linux-v5.15/drivers/regulator/
Drohm-regulator.c59 int rohm_regulator_set_dvs_levels(const struct rohm_dvs_config *dvs, in rohm_regulator_set_dvs_levels() argument
72 if (dvs->level_map & bit) { in rohm_regulator_set_dvs_levels()
75 prop = "rohm,dvs-run-voltage"; in rohm_regulator_set_dvs_levels()
76 reg = dvs->run_reg; in rohm_regulator_set_dvs_levels()
77 mask = dvs->run_mask; in rohm_regulator_set_dvs_levels()
78 omask = dvs->run_on_mask; in rohm_regulator_set_dvs_levels()
81 prop = "rohm,dvs-idle-voltage"; in rohm_regulator_set_dvs_levels()
82 reg = dvs->idle_reg; in rohm_regulator_set_dvs_levels()
83 mask = dvs->idle_mask; in rohm_regulator_set_dvs_levels()
84 omask = dvs->idle_on_mask; in rohm_regulator_set_dvs_levels()
[all …]
Dlp8788-buck.c91 void *dvs; member
102 struct lp8788_buck1_dvs *dvs = (struct lp8788_buck1_dvs *)buck->dvs; in lp8788_buck1_set_dvs() local
105 if (!dvs) in lp8788_buck1_set_dvs()
108 pinstate = dvs->vsel == DVS_SEL_V0 ? DVS_LOW : DVS_HIGH; in lp8788_buck1_set_dvs()
109 if (gpio_is_valid(dvs->gpio)) in lp8788_buck1_set_dvs()
110 gpio_set_value(dvs->gpio, pinstate); in lp8788_buck1_set_dvs()
115 struct lp8788_buck2_dvs *dvs = (struct lp8788_buck2_dvs *)buck->dvs; in lp8788_buck2_set_dvs() local
118 if (!dvs) in lp8788_buck2_set_dvs()
121 switch (dvs->vsel) { in lp8788_buck2_set_dvs()
142 if (gpio_is_valid(dvs->gpio[0])) in lp8788_buck2_set_dvs()
[all …]
Dbd71828-regulator.c27 const struct rohm_dvs_config dvs; member
34 * DVS Buck voltages can be changed by register values or via GPIO.
103 return rohm_regulator_set_dvs_levels(&data->dvs, np, desc, cfg->regmap); in buck_set_hw_dvs_levels()
114 static const char * const props[] = { "rohm,dvs-run-voltage", in ldo6_parse_dt()
115 "rohm,dvs-idle-voltage", in ldo6_parse_dt()
116 "rohm,dvs-suspend-voltage", in ldo6_parse_dt()
117 "rohm,dvs-lpsr-voltage" }; in ldo6_parse_dt()
198 .dvs = {
244 .dvs = {
281 .dvs = {
[all …]
Dlp872x.c89 /* Default DVS Mode */
322 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local
324 if (dvs && gpio_is_valid(dvs->gpio)) in lp872x_buck_set_voltage_sel()
325 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel()
679 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local
684 if (!dvs) in lp872x_init_dvs()
687 gpio = dvs->gpio; in lp872x_init_dvs()
691 pinstate = dvs->init_state; in lp872x_init_dvs()
692 ret = devm_gpio_request_one(lp->dev, gpio, pinstate, "LP872X DVS"); in lp872x_init_dvs()
843 pdata->dvs = devm_kzalloc(dev, sizeof(struct lp872x_dvs), GFP_KERNEL); in lp872x_populate_pdata_from_dt()
[all …]
Dpca9450-regulator.c30 const struct pc9450_dvs_config dvs; member
62 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting
186 const struct pc9450_dvs_config *dvs = &data->dvs; in pca9450_set_dvs_levels() local
194 prop = "nxp,dvs-run-voltage"; in pca9450_set_dvs_levels()
195 reg = dvs->run_reg; in pca9450_set_dvs_levels()
196 mask = dvs->run_mask; in pca9450_set_dvs_levels()
199 prop = "nxp,dvs-standby-voltage"; in pca9450_set_dvs_levels()
200 reg = dvs->standby_reg; in pca9450_set_dvs_levels()
201 mask = dvs->standby_mask; in pca9450_set_dvs_levels()
238 .dvs = {
[all …]
Dbd71815-regulator.c28 const struct rohm_dvs_config *dvs; member
180 return rohm_regulator_set_dvs_levels(data->dvs, np, desc, cfg->regmap); in set_hw_dvs_levels()
204 if (of_find_property(np, "rohm,dvs-run-voltage", NULL) || in buck12_set_hw_dvs_levels()
205 of_find_property(np, "rohm,dvs-suspend-voltage", NULL) || in buck12_set_hw_dvs_levels()
206 of_find_property(np, "rohm,dvs-lpsr-voltage", NULL) || in buck12_set_hw_dvs_levels()
207 of_find_property(np, "rohm,dvs-snvs-voltage", NULL)) { in buck12_set_hw_dvs_levels()
234 ret = rohm_regulator_set_dvs_levels(data->dvs, np, desc, in buck12_set_hw_dvs_levels()
239 * DVS levels were given => use HW-state machine for voltage in buck12_set_hw_dvs_levels()
254 * BUCK1RAMPRATE[1:0] BUCK1 DVS ramp rate setting
358 /* Select the other DVS register to be used */ in bd7181x_buck12_set_voltage_sel()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dmax8998.txt26 - max8998,pmic-buck1-dvs-gpios: GPIO specifiers for two host gpios used
27 for buck 1 dvs. The format of the gpio specifier depends on the gpio
29 - max8998,pmic-buck2-dvs-gpio: GPIO specifier for host gpio used
30 for buck 2 dvs. The format of the gpio specifier depends on the gpio
32 - max8998,pmic-buck1-default-dvs-idx: Default voltage setting selected from
33 the possible 4 options selectable by the dvs gpios. The value of this
36 - max8998,pmic-buck2-default-dvs-idx: Default voltage setting selected from
37 the possible 2 options selectable by the dvs gpios. The value of this
43 Additional properties required if max8998,pmic-buck1-dvs-gpios is defined:
44 - max8998,pmic-buck1-dvs-voltage: An array of 4 voltage values in microvolts
[all …]
Drohm,bd71837-pmic.yaml153 rohm,dvs-run-voltage = <900000>;
154 rohm,dvs-idle-voltage = <850000>;
155 rohm,dvs-suspend-voltage = <800000>;
164 rohm,dvs-run-voltage = <1000000>;
165 rohm,dvs-idle-voltage = <900000>;
172 rohm,dvs-run-voltage = <1000000>;
179 rohm,dvs-run-voltage = <1000000>;
/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2_types.h20 * CSS-API header file for DVS statistics parameters.
23 /* Number of DVS coefficient types */
30 /* DVS 2.0 Coefficient types. This structure contains 4 pointers to
40 /* DVS 2.0 Coefficients. This structure describes the coefficients that are needed for the dvs stat…
46 grid; /** grid info contains the dimensions of the dvs grid */
53 /* DVS 2.0 Statistic types. This structure contains 4 pointers to
63 /* DVS 2.0 Statistics. This structure describes the statistics that are generated using the provide…
69 grid; /** grid info contains the dimensions of the dvs grid */
/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
Dia_css_sdis_types.h20 * CSS-API header file for DVS statistics parameters.
23 /* Number of DVS coefficient types */
30 /* DVS 1.0 Coefficients.
31 * This structure describes the coefficients that are needed for the dvs statistics.
36 grid;/** grid info contains the dimensions of the dvs grid */
43 /* DVS 1.0 Statistics.
49 grid;/** grid info contains the dimensions of the dvs grid */
/Linux-v5.15/arch/arm/mach-s3c/
Dmach-osiris-dvs.c43 /* at the moment, we assume ARMCLK = HCLK => DVS */ in is_dvs()
70 pr_debug("%s: exiting dvs\n", __func__); in osiris_dvs_notify()
78 pr_debug("entering dvs\n"); in osiris_dvs_notify()
98 ret = gpio_request(OSIRIS_GPIO_DVS, "osiris-dvs"); in osiris_dvs_probe()
104 /* start with dvs disabled */ in osiris_dvs_probe()
129 /* disable any current dvs */ in osiris_dvs_remove()
168 .name = "osiris-dvs",
175 MODULE_DESCRIPTION("Simtec OSIRIS DVS support");
178 MODULE_ALIAS("platform:osiris-dvs");
/Linux-v5.15/include/linux/regulator/
Dlp872x.h55 * @gpio : gpio pin number for dvs control
56 * @vsel : dvs selector for buck v1 or buck v2 register
57 * @init_state : initial dvs pin state
80 * @dvs : dvs data for buck voltage control
87 struct lp872x_dvs *dvs; member
/Linux-v5.15/drivers/cpufreq/
Ds3c2416-cpufreq.c47 /* pseudo-frequency for dvs mode */
51 * it's essential to leave dvs, as some boards do not reconfigure the
61 /* S3C2416 only supports changing the voltage in the dvs-mode.
94 /* return our pseudo-frequency when in dvs mode */ in s3c2416_cpufreq_get_speed()
126 pr_debug("cpufreq: already in dvs mode, nothing to do\n"); in s3c2416_cpufreq_enter_dvs()
139 /* changing the core voltage is only allowed when in dvs mode */ in s3c2416_cpufreq_enter_dvs()
168 pr_debug("cpufreq: not in dvs mode, so can't leave\n"); in s3c2416_cpufreq_leave_dvs()
188 /* force armdiv to hclk frequency for transition from dvs*/ in s3c2416_cpufreq_leave_dvs()
230 /* switching to dvs when it's not allowed */ in s3c2416_cpufreq_set_target()
232 pr_debug("cpufreq: entering dvs mode not allowed\n"); in s3c2416_cpufreq_set_target()
[all …]
Ds3c2412-cpufreq.c51 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local
60 * have armclk and hclk in dvs mode. */ in s3c2412_cpufreq_calcdivs()
87 /* set dvs depending on whether we reached armclk or not. */ in s3c2412_cpufreq_calcdivs()
88 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
91 cfg->freq.armclk = dvs ? hclk : armdiv_clk; in s3c2412_cpufreq_calcdivs()
93 s3c_freq_dbg("%s: armclk %lu, hclk %lu, armdiv %d, hdiv %d, dvs %d\n", in s3c2412_cpufreq_calcdivs()
94 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
148 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()

123456