/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/common/ |
D | ia_css_sdis_common_types.h | 20 * 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-v6.1/Documentation/devicetree/bindings/mfd/ |
D | samsung,s5m8767.yaml | 39 s5m8767,pmic-buck2-dvs-voltage: 45 changing voltage using gpio dvs. 47 s5m8767,pmic-buck3-dvs-voltage: 53 changing voltage using gpio dvs. 55 s5m8767,pmic-buck4-dvs-voltage: 61 changing voltage using gpio dvs. 67 GPIO specifiers for three host gpio's used for selecting GPIO DVS lines. 68 It is one-to-one mapped to dvs gpio lines. 70 s5m8767,pmic-buck2-uses-gpio-dvs: 72 description: buck2 can be controlled by gpio dvs. [all …]
|
D | max8998.txt | 26 - 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 …]
|
D | rohm,bd71837-pmic.yaml | 153 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-v6.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_dvs.h | 20 * 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-v6.1/Documentation/devicetree/bindings/regulator/ |
D | maxim,max8997.yaml | 33 max8997,pmic-buck1-dvs-voltage: 39 changing voltage using GPIO DVS. 40 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is 41 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should 45 max8997,pmic-buck2-dvs-voltage: 51 changing voltage using GPIO DVS. 52 If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is 53 specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should 57 max8997,pmic-buck5-dvs-voltage: 63 changing voltage using GPIO DVS. [all …]
|
D | lp872x.txt | 10 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 …]
|
D | maxim,max8952.yaml | 23 index of default DVS voltage 25 max8952,dvs-mode-microvolt: 32 Array of 4 integer values defining DVS voltages in microvolts. All values 71 Array of two GPIO pins used for DVS voltage selection 78 - max8952,dvs-mode-microvolt 98 max8952,dvs-mode-microvolt = <1250000>, <1200000>,
|
D | richtek,rtq2134-regulator.yaml | 38 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;
|
D | rohm,bd71847-regulator.yaml | 56 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
|
D | nxp,pca9450-regulator.yaml | 59 nxp,dvs-run-voltage: 65 dvs(dynamic voltage scaling) property. 67 nxp,dvs-standby-voltage: 73 dvs(dynamic voltage scaling) property. 133 nxp,dvs-run-voltage = <950000>; 134 nxp,dvs-standby-voltage = <850000>;
|
D | rohm,bd71837-regulator.yaml | 57 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
|
D | rohm,bd71828-regulator.yaml | 51 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-v6.1/drivers/regulator/ |
D | rohm-regulator.c | 59 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 …]
|
D | lp8788-buck.c | 91 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 …]
|
D | bd71828-regulator.c | 27 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 …]
|
D | lp872x.c | 88 /* Default DVS Mode */ 321 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_buck_set_voltage_sel() local 323 if (dvs && dvs->gpio) in lp872x_buck_set_voltage_sel() 324 lp872x_set_dvs(lp, dvs->vsel, dvs->gpio); in lp872x_buck_set_voltage_sel() 677 struct lp872x_dvs *dvs = lp->pdata ? lp->pdata->dvs : NULL; in lp872x_init_dvs() local 682 if (!dvs) in lp872x_init_dvs() 685 if (!dvs->gpio) in lp872x_init_dvs() 688 pinstate = dvs->init_state; in lp872x_init_dvs() 689 dvs->gpio = devm_gpiod_get_optional(lp->dev, "ti,dvs", pinstate); in lp872x_init_dvs() 691 if (IS_ERR(dvs->gpio)) { in lp872x_init_dvs() [all …]
|
D | bd71815-regulator.c | 28 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 …]
|
D | pca9450-regulator.c | 30 const struct pc9450_dvs_config dvs; member 62 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting 181 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs() 194 const struct pc9450_dvs_config *dvs = &data->dvs; in pca9450_set_dvs_levels() local 202 prop = "nxp,dvs-run-voltage"; in pca9450_set_dvs_levels() 203 reg = dvs->run_reg; in pca9450_set_dvs_levels() 204 mask = dvs->run_mask; in pca9450_set_dvs_levels() 207 prop = "nxp,dvs-standby-voltage"; in pca9450_set_dvs_levels() 208 reg = dvs->standby_reg; in pca9450_set_dvs_levels() 209 mask = dvs->standby_mask; in pca9450_set_dvs_levels() [all …]
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
D | ia_css_sdis2_types.h | 20 * 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-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
D | ia_css_sdis_types.h | 20 * 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-v6.1/arch/arm/mach-s3c/ |
D | mach-osiris-dvs.c | 43 /* 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-v6.1/drivers/cpufreq/ |
D | s3c2416-cpufreq.c | 47 /* 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 …]
|
D | s3c2412-cpufreq.c | 51 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()
|
/Linux-v6.1/include/linux/regulator/ |
D | lp872x.h | 50 * @gpio : gpio descriptor for dvs control 51 * @vsel : dvs selector for buck v1 or buck v2 register 52 * @init_state : initial dvs pin state 75 * @dvs : dvs data for buck voltage control 82 struct lp872x_dvs *dvs; member
|