Home
last modified time | relevance | path

Searched refs:volt (Results 1 – 94 of 94) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dbase.c31 nvkm_volt_get(struct nvkm_volt *volt) in nvkm_volt_get() argument
35 if (volt->func->volt_get) in nvkm_volt_get()
36 return volt->func->volt_get(volt); in nvkm_volt_get()
38 ret = volt->func->vid_get(volt); in nvkm_volt_get()
40 for (i = 0; i < volt->vid_nr; i++) { in nvkm_volt_get()
41 if (volt->vid[i].vid == ret) in nvkm_volt_get()
42 return volt->vid[i].uv; in nvkm_volt_get()
50 nvkm_volt_set(struct nvkm_volt *volt, u32 uv) in nvkm_volt_set() argument
52 struct nvkm_subdev *subdev = &volt->subdev; in nvkm_volt_set()
55 if (volt->func->volt_set) in nvkm_volt_set()
[all …]
Dgk20a.c106 struct gk20a_volt *volt = gk20a_volt(base); in gk20a_volt_vid_get() local
109 uv = regulator_get_voltage(volt->vdd); in gk20a_volt_vid_get()
111 for (i = 0; i < volt->base.vid_nr; i++) in gk20a_volt_vid_get()
112 if (volt->base.vid[i].uv >= uv) in gk20a_volt_vid_get()
121 struct gk20a_volt *volt = gk20a_volt(base); in gk20a_volt_vid_set() local
122 struct nvkm_subdev *subdev = &volt->base.subdev; in gk20a_volt_vid_set()
124 nvkm_debug(subdev, "set voltage as %duv\n", volt->base.vid[vid].uv); in gk20a_volt_vid_set()
125 return regulator_set_voltage(volt->vdd, volt->base.vid[vid].uv, 1200000); in gk20a_volt_vid_set()
131 struct gk20a_volt *volt = gk20a_volt(base); in gk20a_volt_set_id() local
132 struct nvkm_subdev *subdev = &volt->base.subdev; in gk20a_volt_set_id()
[all …]
Dgpio.c35 nvkm_voltgpio_get(struct nvkm_volt *volt) in nvkm_voltgpio_get() argument
37 struct nvkm_gpio *gpio = volt->subdev.device->gpio; in nvkm_voltgpio_get()
42 if (volt->vid_mask & (1 << i)) { in nvkm_voltgpio_get()
54 nvkm_voltgpio_set(struct nvkm_volt *volt, u8 vid) in nvkm_voltgpio_set() argument
56 struct nvkm_gpio *gpio = volt->subdev.device->gpio; in nvkm_voltgpio_set()
60 if (volt->vid_mask & (1 << i)) { in nvkm_voltgpio_set()
71 nvkm_voltgpio_init(struct nvkm_volt *volt) in nvkm_voltgpio_init() argument
73 struct nvkm_subdev *subdev = &volt->subdev; in nvkm_voltgpio_init()
85 if (volt->vid_mask & (1 << i)) { in nvkm_voltgpio_init()
91 volt->vid_mask &= ~(1 << i); in nvkm_voltgpio_init()
Dgk104.c82 struct gk104_volt *volt; in gk104_volt_new() local
94 if (!(volt = kzalloc(sizeof(*volt), GFP_KERNEL))) in gk104_volt_new()
96 nvkm_volt_ctor(volt_func, device, index, &volt->base); in gk104_volt_new()
97 *pvolt = &volt->base; in gk104_volt_new()
98 volt->bios = bios; in gk104_volt_new()
105 nvkm_error(&volt->base.subdev, in gk104_volt_new()
111 nvkm_voltgpio_init(&volt->base); in gk104_volt_new()
116 nvkm_debug(&volt->base.subdev, "Using %s mode\n", mode); in gk104_volt_new()
DKbuild1 nvkm-y += nvkm/subdev/volt/base.o
2 nvkm-y += nvkm/subdev/volt/gpio.o
3 nvkm-y += nvkm/subdev/volt/nv40.o
4 nvkm-y += nvkm/subdev/volt/gk104.o
5 nvkm-y += nvkm/subdev/volt/gk20a.o
Dnv40.c35 struct nvkm_volt *volt; in nv40_volt_new() local
38 ret = nvkm_volt_new_(&nv40_volt, device, index, &volt); in nv40_volt_new()
39 *pvolt = volt; in nv40_volt_new()
43 return nvkm_voltgpio_init(volt); in nv40_volt_new()
Dpriv.h23 int nvkm_voltpwm_init(struct nvkm_volt *volt);
24 int nvkm_voltpwm_get(struct nvkm_volt *volt);
25 int nvkm_voltpwm_set(struct nvkm_volt *volt, u32 uv);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dvolt.c32 u16 volt = 0x0000; in nvbios_volt_table() local
36 volt = nvbios_rd16(bios, bit_P.offset + 0x0c); in nvbios_volt_table()
39 volt = nvbios_rd16(bios, bit_P.offset + 0x10); in nvbios_volt_table()
41 if (volt) { in nvbios_volt_table()
42 *ver = nvbios_rd08(bios, volt + 0); in nvbios_volt_table()
46 *cnt = nvbios_rd08(bios, volt + 2); in nvbios_volt_table()
47 *len = nvbios_rd08(bios, volt + 1); in nvbios_volt_table()
48 return volt; in nvbios_volt_table()
50 *hdr = nvbios_rd08(bios, volt + 1); in nvbios_volt_table()
51 *cnt = nvbios_rd08(bios, volt + 2); in nvbios_volt_table()
[all …]
DKbuild32 nvkm-y += nvkm/subdev/bios/volt.o
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-rx1950.c170 { .volt = 4100, .cur = 156, .level = 100},
171 { .volt = 4050, .cur = 156, .level = 95},
172 { .volt = 4025, .cur = 141, .level = 90},
173 { .volt = 3995, .cur = 144, .level = 85},
174 { .volt = 3957, .cur = 162, .level = 80},
175 { .volt = 3931, .cur = 147, .level = 75},
176 { .volt = 3902, .cur = 147, .level = 70},
177 { .volt = 3863, .cur = 153, .level = 65},
178 { .volt = 3838, .cur = 150, .level = 60},
179 { .volt = 3800, .cur = 153, .level = 55},
[all …]
Dmach-h1940.c271 { .volt = 4070, .cur = 162, .level = 100},
272 { .volt = 4040, .cur = 165, .level = 95},
273 { .volt = 4016, .cur = 164, .level = 90},
274 { .volt = 3996, .cur = 166, .level = 85},
275 { .volt = 3971, .cur = 168, .level = 80},
276 { .volt = 3951, .cur = 168, .level = 75},
277 { .volt = 3931, .cur = 170, .level = 70},
278 { .volt = 3903, .cur = 172, .level = 65},
279 { .volt = 3886, .cur = 172, .level = 60},
280 { .volt = 3858, .cur = 176, .level = 55},
[all …]
/linux-4.4.14/drivers/cpufreq/
Domap-cpufreq.c46 unsigned long freq, volt = 0, volt_old = 0, tol = 0; in omap_target() local
71 volt = dev_pm_opp_get_voltage(opp); in omap_target()
73 tol = volt * OPP_TOLERANCE / 100; in omap_target()
79 new_freq / 1000, volt ? volt / 1000 : -1); in omap_target()
83 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
95 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
Dcpufreq-dt.c53 unsigned long volt = 0, volt_old = 0, tol = 0; in set_target() local
77 volt = dev_pm_opp_get_voltage(opp); in set_target()
80 tol = volt * priv->voltage_tolerance / 100; in set_target()
83 opp_freq / 1000, volt); in set_target()
88 new_freq / 1000, volt ? volt / 1000 : -1); in set_target()
92 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); in set_target()
110 ret = regulator_set_voltage_tol(cpu_reg, volt, tol); in set_target()
Dimx6q-cpufreq.c48 unsigned long freq_hz, volt, volt_old; in imx6q_set_target() local
64 volt = dev_pm_opp_get_voltage(opp); in imx6q_set_target()
70 new_freq / 1000, volt / 1000); in imx6q_set_target()
86 ret = regulator_set_voltage_tol(arm_reg, volt, 0); in imx6q_set_target()
140 ret = regulator_set_voltage_tol(arm_reg, volt, 0); in imx6q_set_target()
285 unsigned long volt = be32_to_cpup(val++); in imx6q_cpufreq_probe() local
287 imx6_soc_volt[soc_opp_count++] = volt; in imx6q_cpufreq_probe()
/linux-4.4.14/drivers/regulator/
Dda9055-regulator.c74 struct da9055_volt_reg volt; member
139 ret = da9055_reg_read(regulator->da9055, info->volt.reg_b); in da9055_ldo_get_mode()
143 if (ret >> info->volt.sl_shift) in da9055_ldo_get_mode()
153 struct da9055_volt_reg volt = info->volt; in da9055_ldo_set_mode() local
166 return da9055_reg_update(regulator->da9055, volt.reg_b, in da9055_ldo_set_mode()
167 1 << volt.sl_shift, in da9055_ldo_set_mode()
168 val << volt.sl_shift); in da9055_ldo_set_mode()
208 struct da9055_volt_reg volt = info->volt; in da9055_regulator_get_voltage_sel() local
224 ret = da9055_reg_read(regulator->da9055, volt.reg_a); in da9055_regulator_get_voltage_sel()
226 ret = da9055_reg_read(regulator->da9055, volt.reg_b); in da9055_regulator_get_voltage_sel()
[all …]
Dda903x.c219 int volt; in da9030_list_ldo14_voltage() local
222 volt = rdev->desc->min_uV + in da9030_list_ldo14_voltage()
225 volt = (info->max_uV + rdev->desc->min_uV) / 2 + in da9030_list_ldo14_voltage()
228 if (volt > info->max_uV) in da9030_list_ldo14_voltage()
231 return volt; in da9030_list_ldo14_voltage()
Dmt6397-regulator.c87 #define MT6397_REG_FIXED(match, vreg, enreg, enbit, volt) \ argument
99 .min_uV = volt, \
Dmc13892-regulator.c445 int volt, mask, id = rdev_get_id(rdev); in mc13892_sw_regulator_set_voltage_sel() local
449 volt = rdev->desc->volt_table[selector]; in mc13892_sw_regulator_set_voltage_sel()
470 if (volt > 1375000) { in mc13892_sw_regulator_set_voltage_sel()
Dtps65910-regulator.c705 int volt, mult = 1, id = rdev_get_id(dev); in tps65910_list_voltage_dcdc() local
711 volt = VDD1_2_MIN_VOLT + in tps65910_list_voltage_dcdc()
715 volt = VDDCTRL_MIN_VOLT + (selector * VDDCTRL_OFFSET); in tps65910_list_voltage_dcdc()
722 return volt * 100 * mult; in tps65910_list_voltage_dcdc()
/linux-4.4.14/drivers/devfreq/exynos/
Dexynos5_bus.c66 unsigned long volt; member
79 unsigned long volt) in exynos5_int_setvolt() argument
81 return regulator_set_voltage(data->vdd_int, volt, MAX_SAFEVOLT); in exynos5_int_setvolt()
93 unsigned long volt; in exynos5_busfreq_int_target() local
104 volt = dev_pm_opp_get_voltage(opp); in exynos5_busfreq_int_target()
112 dev_dbg(dev, "targeting %lukHz %luuV\n", freq, volt); in exynos5_busfreq_int_target()
125 err = exynos5_int_setvolt(data, volt); in exynos5_busfreq_int_target()
135 err = exynos5_int_setvolt(data, volt); in exynos5_busfreq_int_target()
180 exynos5_int_opp_table[i].volt); in exynos5250_init_int_tables()
198 unsigned long volt; in exynos5_busfreq_int_pm_notifier_event() local
[all …]
Dexynos4_bus.c70 unsigned long volt; member
526 unsigned long volt = oppi->volt; in exynos4_bus_setvolt() local
531 err = regulator_set_voltage(data->vdd_int, volt, in exynos4_bus_setvolt()
536 err = regulator_set_voltage(data->vdd_mif, volt, in exynos4_bus_setvolt()
545 oldoppi->volt, in exynos4_bus_setvolt()
550 exynos4x12_intclk_table[tmp].volt, in exynos4_bus_setvolt()
555 oldoppi->volt, in exynos4_bus_setvolt()
584 new_oppinfo.volt = dev_pm_opp_get_voltage(opp); in exynos4_bus_target()
591 dev_dbg(dev, "targeting %lukHz %luuV\n", freq, new_oppinfo.volt); in exynos4_bus_target()
754 exynos4210_busclk_table[i].volt = exynos4210_asv_volt[mgrp][i]; in exynos4210_init_tables()
[all …]
Dexynos_ppmu.h58 unsigned long volt; member
/linux-4.4.14/arch/arm/mach-omap2/
Dvoltage.c77 unsigned long volt = 0; in voltdm_scale() local
93 volt = voltdm->volt_data[i].volt_nominal; in voltdm_scale()
98 if (!volt) { in voltdm_scale()
104 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
106 voltdm->nominal_volt = volt; in voltdm_scale()
178 unsigned long volt) in omap_voltage_get_voltdata() argument
194 if (voltdm->volt_data[i].volt_nominal == volt) in omap_voltage_get_voltdata()
Dsmartreflex-class3.c20 unsigned long volt = voltdm_get_voltage(sr->voltdm); in sr_class3_enable() local
22 if (!volt) { in sr_class3_enable()
29 return sr_enable(sr, volt); in sr_class3_enable()
Dvp.c12 static u32 _vp_set_init_voltage(struct voltagedomain *voltdm, u32 volt) in _vp_set_init_voltage() argument
18 vsel = voltdm->pmic->uv_to_vsel(volt); in _vp_set_init_voltage()
199 u32 vpconfig, volt; in omap_vp_enable() local
217 volt = voltdm_get_voltage(voltdm); in omap_vp_enable()
218 if (!volt) { in omap_vp_enable()
224 vpconfig = _vp_set_init_voltage(voltdm, volt); in omap_vp_enable()
Dsram242x.S111 ldr r4, omap242x_sdi_prcm_voltctrl @ get addr of volt ctrl.
115 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
160 movne r9, #0x0 @ if up set flag up for pre up, hi volt
178 moveq r9, #0x1 @ if speed down, post down, drop volt
206 ldr r10, omap242x_srs_prcm_voltctrl @ get addr of volt ctrl
210 orr r8, r8, r9 @ bulld value for L0/L1-volt operation.
Dsram243x.S111 ldr r4, omap243x_sdi_prcm_voltctrl @ get addr of volt ctrl.
115 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
160 movne r9, #0x0 @ if up set flag up for pre up, hi volt
178 moveq r9, #0x1 @ if speed down, post down, drop volt
206 ldr r10, omap243x_srs_prcm_voltctrl @ get addr of volt ctrl
210 orr r8, r8, r9 @ bulld value for L0/L1-volt operation.
Dvoltage.h157 unsigned long volt);
/linux-4.4.14/arch/arm/boot/dts/
Dvexpress-v2p-ca9.dts220 volt@0 {
222 compatible = "arm,vexpress-volt";
229 volt@1 {
231 compatible = "arm,vexpress-volt";
238 volt@2 {
240 compatible = "arm,vexpress-volt";
247 volt@3 {
249 compatible = "arm,vexpress-volt";
256 volt@4 {
258 compatible = "arm,vexpress-volt";
[all …]
Dvexpress-v2p-ca15_a7.dts311 volt@0 {
313 compatible = "arm,vexpress-volt";
322 volt@1 {
324 compatible = "arm,vexpress-volt";
Dvexpress-v2p-ca15-tc1.dts183 volt@0 {
185 compatible = "arm,vexpress-volt";
Dvexpress-v2m-rs1.dtsi401 volt@0 {
403 compatible = "arm,vexpress-volt";
Dvexpress-v2m.dtsi400 volt@0 {
402 compatible = "arm,vexpress-volt";
Domap3-lilly-dbb056.dts121 ti,dual-volt;
Domap2430.dtsi245 ti,dual-volt;
Domap3.dtsi435 ti,dual-volt;
Dam33xx.dtsi322 ti,dual-volt;
Domap4.dtsi504 ti,dual-volt;
Dam4372.dtsi496 ti,dual-volt;
Domap5.dtsi565 ti,dual-volt;
Dexynos4412-trats2.dts195 maxim,over-volt = <4500>;
Ddra7.dtsi878 ti,dual-volt;
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c487 .volt = nv40_volt_new,
513 .volt = nv40_volt_new,
539 .volt = nv40_volt_new,
565 .volt = nv40_volt_new,
591 .volt = nv40_volt_new,
617 .volt = nv40_volt_new,
643 .volt = nv40_volt_new,
669 .volt = nv40_volt_new,
695 .volt = nv40_volt_new,
721 .volt = nv40_volt_new,
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dvexpress.txt5 - "compatible" value: "arm,vexpress-volt"
25 volt@0 {
26 compatible = "arm,vexpress-volt";
Dmax8997-regulator.txt13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
Ds5m8767-regulator.txt13 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
17 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
21 - s5m8767,pmic-buck4-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
Dti-abb-regulator.txt30 volt: voltage in uV - Only used to index ABB information.
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Dmax17042_battery.txt18 - maxim,dead-volt : Voltage threshold to report battery
20 - maxim,over-volt : Voltage threshold to report battery
30 maxim,over-volt = <4300>;
Dcharger-manager.txt43 cm-fullbatt-vchkdrop-volt = <150000>;
/linux-4.4.14/drivers/power/
Dtwl4030_madc_battery.c76 int volt) in twl4030_madc_bat_voltscale() argument
87 if (volt > calibration[0].voltage) { in twl4030_madc_bat_voltscale()
91 if (volt <= calibration[i].voltage && in twl4030_madc_bat_voltscale()
92 volt >= calibration[i+1].voltage) { in twl4030_madc_bat_voltscale()
95 ((calibration[i].voltage - volt) * in twl4030_madc_bat_voltscale()
Dda9052-battery.c291 int volt; in da9052_bat_read_volt() local
293 volt = da9052_adc_manual_read(bat->da9052, DA9052_ADC_MAN_MUXSEL_VBAT); in da9052_bat_read_volt()
294 if (volt < 0) in da9052_bat_read_volt()
295 return volt; in da9052_bat_read_volt()
297 *volt_mV = volt_reg_to_mV(volt); in da9052_bat_read_volt()
Ds3c_adc_battery.c182 if (full_volt < calc_full_volt(lut->volt, lut->cur, in s3c_adc_bat_get_property()
189 lut_volt1 = calc_full_volt(lut[0].volt, lut[0].cur, in s3c_adc_bat_get_property()
191 lut_volt2 = calc_full_volt(lut[1].volt, lut[1].cur, in s3c_adc_bat_get_property()
Dbq27xxx_battery.c878 int volt; in bq27xxx_battery_voltage() local
880 volt = bq27xxx_read(di, BQ27XXX_REG_VOLT, false); in bq27xxx_battery_voltage()
881 if (volt < 0) { in bq27xxx_battery_voltage()
883 return volt; in bq27xxx_battery_voltage()
886 val->intval = volt * 1000; in bq27xxx_battery_voltage()
Dintel_mid_battery.c147 u8 volt; /* Fine adjustment of constant charge voltage */ member
194 prop->volt = *p++; in pmic_scu_ipc_battery_property_get()
Dabx500_chargalg.c90 int volt; member
828 !di->maintenance_chg && (di->batt_data.volt >= in abx500_chargalg_end_of_charge()
1202 di->batt_data.volt = ret.intval / 1000; in abx500_chargalg_get_ext_psy_data()
1438 di->batt_data.volt, in abx500_chargalg_algorithm()
1545 if (di->batt_data.volt > in abx500_chargalg_algorithm()
1583 if (di->batt_data.volt > in abx500_chargalg_algorithm()
/linux-4.4.14/drivers/input/misc/
Dtwl6040-vibra.c163 int volt; in twl6040_vibra_set_effect() local
166 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect()
167 vibdatl = twl6040_vibra_code(volt, info->vibldrv_res, in twl6040_vibra_set_effect()
172 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect()
173 vibdatr = twl6040_vibra_code(volt, info->vibrdrv_res, in twl6040_vibra_set_effect()
/linux-4.4.14/arch/arm64/boot/dts/arm/
Dvexpress-v2f-1xv7-ca53x2.dts105 volt@0 {
107 compatible = "arm,vexpress-volt";
115 volt@1 {
117 compatible = "arm,vexpress-volt";
Dvexpress-v2m-rs1.dtsi401 volt@0 {
403 compatible = "arm,vexpress-volt";
/linux-4.4.14/Documentation/hwmon/
Dda905240 Milli volt = ((ADC value * 1000) / 512) + 2500
43 Milli volt = (ADC value * 2500) / 512;
46 Milli volt = (ADC value * 2500) / 1023
Dabituguru-datasheet189 Sensor 3 CPU core volt
190 Sensor 4 DDR volt
191 Sensor 10 DDR Vtt volt
196 volt and temp sensors, this is motherboard specific. The uGuru however does
200 Volt sensors use a linear scale, a reading 0 corresponds with 0 volt and a
203 in use result in ranges of: 0-4361mV, 0-6248mV or 0-14510mV. 3.3 volt sources
204 use the 0-4361mV range, 5 volt the 0-6248mV and 12 volt the 0-14510mV .
221 Bit 1: Give an alarm if measured volt is over the max threshold (RW) **
222 Bit 2: Give an alarm if measured volt is under the min threshold (RW) **
225 Bit 5: 1 if alarm cause measured volt is over the max threshold (R)
[all …]
Dgl518sm55 measures voltages between 0.000 and 5.865 volt, with a resolution of 0.023
56 volt. The other inputs measure voltages between 0.000 and 4.845 volt, with
57 a resolution of 0.019 volt. Note that revision 0x00 chips do not support
Dda905534 Milli volt = ((ADC value * 1000) / 85) + 2500
37 Milli volt = (ADC value * 1000) / 102
Dlm8053 of 0.01 volt.
Dit87185 of 0.016 volt. IT8603E, IT8721F/IT8758E and IT8728F can measure between 0 and
186 3.06 volts, with a resolution of 0.012 volt. IT8732F can measure between 0 and
187 2.8 volts with a resolution of 0.0109 volt. The battery voltage in8 does not
Dlm7853 of 0.016 volt.
Dabituguru53 0 volt sensor
Dsis559585 0.016 volt.
Dadm9240119 An analog output provides a 0 to 1.25 volt signal intended for an external
Dw83781d105 of 0.016 volt.
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c128 struct nvkm_volt *volt = device->volt; in gk20a_pmu_dvfs_work() local
136 if (!clk || !volt) in gk20a_pmu_dvfs_work()
/linux-4.4.14/include/linux/platform_data/
Dvoltage-omap.h38 unsigned long volt);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c83 struct nvkm_volt *volt = device->volt; in nvkm_cstate_prog() local
101 if (volt) { in nvkm_cstate_prog()
102 ret = nvkm_volt_set_id(volt, cstate->voltage, +1); in nvkm_cstate_prog()
115 if (volt) { in nvkm_cstate_prog()
116 ret = nvkm_volt_set_id(volt, cstate->voltage, -1); in nvkm_cstate_prog()
/linux-4.4.14/include/linux/
Ds3c_adc_battery.h5 int volt; /* mV */ member
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dti-omap-hsmmc.txt19 ti,dual-volt: boolean, supports dual voltage cards
40 ti,dual-volt;
52 ti,dual-volt;
/linux-4.4.14/drivers/hwmon/
Dnct7904.c228 int volt; in show_voltage() local
233 volt = ((ret & 0xff00) >> 5) | (ret & 0x7); in show_voltage()
235 volt *= 2; /* 0.002V scale */ in show_voltage()
237 volt *= 6; /* 0.006V scale */ in show_voltage()
239 return sprintf(buf, "%d\n", volt); in show_voltage()
Dfschmd.c290 u8 volt[6]; /* voltage */ member
342 return sprintf(buf, "%d\n", (data->volt[index] * dmi_vref * in show_in_value()
345 return sprintf(buf, "%d\n", (data->volt[index] * in show_in_value()
1372 data->volt[i] = i2c_smbus_read_byte_data(client, in fschmd_update_device()
Dadt7475.c265 static inline u16 volt2reg(int channel, long volt, u8 bypass_attn) in volt2reg() argument
271 reg = (volt * 1024) / 2250; in volt2reg()
273 reg = (volt * r[1] * 1024) / ((r[0] + r[1]) * 2250); in volt2reg()
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dvexpress.txt6 "arm,vexpress-volt"
/linux-4.4.14/drivers/media/dvb-frontends/
Dstv0288.c327 enum fe_sec_voltage volt) in stv0288_set_voltage() argument
330 volt == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : in stv0288_set_voltage()
331 volt == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); in stv0288_set_voltage()
Dsi21xx.c457 static int si21xx_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage volt) in si21xx_set_voltage() argument
463 volt == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : in si21xx_set_voltage()
464 volt == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); in si21xx_set_voltage()
469 switch (volt) { in si21xx_set_voltage()
Dm88rs2000.c417 enum fe_sec_voltage volt) in m88rs2000_set_voltage() argument
425 switch (volt) { in m88rs2000_set_voltage()
/linux-4.4.14/Documentation/devicetree/bindings/leds/backlight/
Dsky81452-backlight.txt15 - skyworks,short-detection-threshold-volt
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/
DKbuild20 include $(src)/nvkm/subdev/volt/Kbuild
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h121 struct nvkm_volt *volt; member
186 int (*volt )(struct nvkm_device *, int idx, struct nvkm_volt **); member
/linux-4.4.14/drivers/power/avs/
Dsmartreflex.c559 int sr_enable(struct omap_sr *sr, unsigned long volt) in sr_enable() argument
571 volt_data = omap_voltage_get_voltdata(sr->voltdm, volt); in sr_enable()
575 "for nominal voltage %ld\n", __func__, volt); in sr_enable()
583 __func__, volt); in sr_enable()
/linux-4.4.14/include/linux/power/
Dsmartreflex.h302 int sr_enable(struct omap_sr *sr, unsigned long volt);
/linux-4.4.14/drivers/usb/phy/
Dphy-ab8500-usb.c264 int ret, volt; in ab8500_usb_regulator_enable() local
291 volt = regulator_get_voltage(ab->v_ulpi); in ab8500_usb_regulator_enable()
292 if ((volt != 1300000) && (volt != 1350000)) in ab8500_usb_regulator_enable()
294 volt); in ab8500_usb_regulator_enable()
/linux-4.4.14/drivers/iio/adc/
Dtwl4030-madc.c235 int temp, curr, volt, res, ret; in twl4030battery_temperature() local
237 volt = (raw_volt * TEMP_STEP_SIZE) / TEMP_PSR_R; in twl4030battery_temperature()
246 res = volt * 1000 / curr; in twl4030battery_temperature()
/linux-4.4.14/drivers/mmc/core/
Dcore.c1432 int ret, volt, min_uV, max_uV; in mmc_regulator_set_vqmmc() local
1446 ret = mmc_ocrbitnum_to_vdd(mmc->ios.vdd, &volt, &max_uV); in mmc_regulator_set_vqmmc()
1451 __func__, volt, max_uV); in mmc_regulator_set_vqmmc()
1453 min_uV = max(volt - 300000, 2700000); in mmc_regulator_set_vqmmc()
1464 min_uV, volt, max_uV)) in mmc_regulator_set_vqmmc()
1468 2700000, volt, 3600000); in mmc_regulator_set_vqmmc()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dvexpress-sysreg.txt80 "arm,vexpress-volt"
/linux-4.4.14/drivers/base/power/opp/
Dcore.c1264 unsigned long volt = be32_to_cpup(val++); in _of_add_opp_table_v1() local
1266 if (_opp_add_v1(dev, freq, volt, false)) in _of_add_opp_table_v1()
/linux-4.4.14/drivers/media/pci/pt3/
Dpt3.c191 static int pt3_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage volt) in pt3_set_voltage() argument
200 on = (volt != SEC_VOLTAGE_OFF); in pt3_set_voltage()
/linux-4.4.14/Documentation/x86/
Dearlyprintk.txt71 readable left to right). The reason being is that the 5 volt
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_defs.h929 u8 volt[4]; member