Searched refs:volt (Results 26 - 50 of 78) sorted by relevance

1234

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk20a.c27 #include <subdev/volt.h>
124 struct nvkm_volt *volt = device->volt; local
132 if (!clk || !volt)
/linux-master/drivers/devfreq/
H A Drk3399_dmc.c51 unsigned long volt, target_volt; member in struct:rk3399_dmcfreq
183 regulator_set_voltage(dmcfreq->vdd_center, dmcfreq->volt,
184 dmcfreq->volt);
200 regulator_set_voltage(dmcfreq->vdd_center, dmcfreq->volt,
201 dmcfreq->volt);
210 dmcfreq->volt = target_volt;
429 data->volt = dev_pm_opp_get_voltage(opp);
H A Dmtk-cci-devfreq.c226 unsigned long freq, volt; local
236 volt = dev_pm_opp_get_voltage(opp);
237 mtk_ccifreq_set_voltage(drv, volt);
/linux-master/drivers/cpufreq/
H A Dimx6q-cpufreq.c63 unsigned long freq_hz, volt, volt_old; local
78 volt = dev_pm_opp_get_voltage(opp);
85 new_freq / 1000, volt / 1000);
101 ret = regulator_set_voltage_tol(arm_reg, volt, 0);
175 ret = regulator_set_voltage_tol(arm_reg, volt, 0);
427 unsigned long volt = be32_to_cpup(val++); local
429 imx6_soc_volt[soc_opp_count++] = volt;
436 /* use fixed soc opp volt if no valid soc opp info found in dtb */
H A Dqcom-cpufreq-hw.c94 unsigned long volt)
101 return dev_pm_opp_add(cpu_dev, freq_hz, volt);
103 ret = dev_pm_opp_adjust_voltage(cpu_dev, freq_hz, volt, volt, volt);
204 u32 volt; local
246 volt = FIELD_GET(LUT_VOLT, data) * 1000;
254 if (!qcom_cpufreq_update_opp(cpu_dev, freq, volt)) {
279 if (!qcom_cpufreq_update_opp(cpu_dev, prev_freq, volt)) {
92 qcom_cpufreq_update_opp(struct device *cpu_dev, unsigned long freq_khz, unsigned long volt) argument
/linux-master/drivers/soc/mediatek/
H A Dmtk-svs.c43 /* svs bank volt flags */
486 * @volt: bank voltage table
508 * opp_volt[i] = (volt[i] * volt_step) + volt_base;
527 u32 volt[MAX_OPP_ENTRIES]; member in struct:svs_bank
602 svsb->volt[i] = svs_opp_volt_to_bank_volt(opp_u_volt,
668 svsb_volt = max(svsb->volt[i] + temp_voffset, svsb->vmin);
847 i, svsb->volt[i], i, svsb->freq_pct[i]);
952 /* Target is to set svsb->volt[] by algorithm */
955 /* volt[0] ~ volt[turn_p
[all...]
/linux-master/drivers/input/misc/
H A Dtwl6040-vibra.c148 int volt; local
151 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000;
152 vibdatl = twl6040_vibra_code(volt, info->vibldrv_res,
157 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000;
158 vibdatr = twl6040_vibra_code(volt, info->vibrdrv_res,
306 dev_err(info->dev, "failed to set VDDVIBL volt %d\n",
316 dev_err(info->dev, "failed to set VDDVIBR volt %d\n",
/linux-master/drivers/input/keyboard/
H A Dtm2-touchkey.c90 u32 volt; local
94 volt = TM2_TOUCHKEY_LED_VOLTAGE_MIN;
97 volt = TM2_TOUCHKEY_LED_VOLTAGE_MAX;
102 regulator_set_voltage(touchkey->vdd, volt, volt);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgm20b.c24 #include <subdev/volt.h>
468 struct nvkm_volt *volt = base->subdev.device->volt; local
476 clk->new_uv = volt->vid[cstate->voltage].uv;
589 * - Voltage already increased to new level by volt, but maximum
595 * - Voltage is also old, it will be lowered by volt afterwards
853 struct nvkm_volt *volt = device->volt; local
856 _clk->uv = nvkm_volt_get(volt);
979 struct nvkm_volt *volt local
[all...]
/linux-master/drivers/hwmon/
H A Dnct7904.c303 int ret, volt, index; local
313 volt = ((ret & 0xff00) >> 5) | (ret & 0x7);
315 volt *= 2; /* 0.002V scale */
317 volt *= 6; /* 0.006V scale */
318 *val = volt;
325 volt = ((ret & 0xff00) >> 5) | (ret & 0x7);
327 volt *= 2; /* 0.002V scale */
329 volt *= 6; /* 0.006V scale */
330 *val = volt;
337 volt
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Ddevice.h52 #define nvxx_volt(a) nvxx_device(a)->volt
/linux-master/arch/arm/mach-omap2/
H A Dvoltage.h154 unsigned long volt);
H A Dsram242x.S97 ldr r4, omap242x_sdi_prcm_voltctrl @ get addr of volt ctrl.
101 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
146 movne r9, #0x0 @ if up set flag up for pre up, hi volt
164 moveq r9, #0x1 @ if speed down, post down, drop volt
192 ldr r10, omap242x_srs_prcm_voltctrl @ get addr of volt ctrl
196 orr r8, r8, r9 @ bulld value for L0/L1-volt operation.
H A Dsram243x.S97 ldr r4, omap243x_sdi_prcm_voltctrl @ get addr of volt ctrl.
101 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
146 movne r9, #0x0 @ if up set flag up for pre up, hi volt
164 moveq r9, #0x1 @ if speed down, post down, drop volt
192 ldr r10, omap243x_srs_prcm_voltctrl @ get addr of volt ctrl
196 orr r8, r8, r9 @ bulld value for L0/L1-volt operation.
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dpriv.h31 #include <subdev/volt.h>
H A Dbase.c487 .volt = { 0x00000001, nv40_volt_new },
513 .volt = { 0x00000001, nv40_volt_new },
539 .volt = { 0x00000001, nv40_volt_new },
565 .volt = { 0x00000001, nv40_volt_new },
591 .volt = { 0x00000001, nv40_volt_new },
617 .volt = { 0x00000001, nv40_volt_new },
643 .volt = { 0x00000001, nv40_volt_new },
669 .volt = { 0x00000001, nv40_volt_new },
695 .volt = { 0x00000001, nv40_volt_new },
721 .volt
[all...]
/linux-master/drivers/iio/adc/
H A Dqcom-vadc-common.c494 s64 volt = voltage; local
497 volt *= prescale->numerator * factor * full_scale_code_volt;
498 volt = div64_s64(volt, (s64)prescale->denominator * adc_vdd_ref_mv * 1000);
500 return volt;
/linux-master/drivers/power/supply/
H A Dda9052-battery.c287 int volt; local
289 volt = da9052_adc_manual_read(bat->da9052, DA9052_ADC_MAN_MUXSEL_VBAT);
290 if (volt < 0)
291 return volt;
293 *volt_mV = volt_reg_to_mV(volt);
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h24 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VOLT , struct nvkm_volt , volt)
/linux-master/drivers/regulator/
H A Dda903x-regulator.c215 int volt; local
218 volt = rdev->desc->min_uV +
221 volt = (info->max_uV + rdev->desc->min_uV) / 2 +
224 if (volt > info->max_uV)
227 return volt;
H A Dmt6380-regulator.c136 #define MT6380_REG_FIXED(match, vreg, enreg, enbit, volt, \
149 .min_uV = volt, \
H A Dmt6357-regulator.c102 #define MT6357_REG_FIXED(match, vreg, volt) \
115 .min_uV = volt, \
/linux-master/include/linux/power/
H A Dsmartreflex.h306 int sr_enable(struct omap_sr *sr, unsigned long volt);
/linux-master/drivers/soc/ti/
H A Dsmartreflex.c537 * @volt: The voltage at which the Voltage domain associated with
545 int sr_enable(struct omap_sr *sr, unsigned long volt) argument
557 volt_data = omap_voltage_get_voltdata(sr->voltdm, volt);
561 __func__, volt);
569 __func__, volt);
/linux-master/drivers/ufs/host/
H A Dufs-mediatek.c482 int volt, ret; local
488 volt = cfg->vcore_volt;
499 ret = regulator_set_voltage(reg, volt, INT_MAX);
502 "failed to set vcore to %d\n", volt);
553 u32 volt; local
568 &volt)) {
587 cfg->vcore_volt = volt;

Completed in 331 milliseconds

1234