/drivers/gpu/drm/nouveau/ |
D | nouveau_volt.c | 38 struct nouveau_pm_voltage *volt = &dev_priv->engine.pm.voltage; in nouveau_voltage_gpio_get() local 43 if (!(volt->vid_mask & (1 << i))) in nouveau_voltage_gpio_get() 56 struct nouveau_pm_voltage *volt = &dev_priv->engine.pm.voltage; in nouveau_voltage_gpio_set() local 64 if (!(volt->vid_mask & (1 << i))) in nouveau_voltage_gpio_set() 77 struct nouveau_pm_voltage *volt = &dev_priv->engine.pm.voltage; in nouveau_volt_vid_lookup() local 80 for (i = 0; i < volt->nr_level; i++) { in nouveau_volt_vid_lookup() 81 if (volt->level[i].voltage == voltage) in nouveau_volt_vid_lookup() 82 return volt->level[i].vid; in nouveau_volt_vid_lookup() 92 struct nouveau_pm_voltage *volt = &dev_priv->engine.pm.voltage; in nouveau_volt_lvl_lookup() local 95 for (i = 0; i < volt->nr_level; i++) { in nouveau_volt_lvl_lookup() [all …]
|
/drivers/cpufreq/ |
D | omap-cpufreq.c | 86 unsigned long freq, volt = 0, volt_old = 0, tol = 0; in omap_target() local 129 volt = opp_get_voltage(opp); in omap_target() 130 tol = volt * OPP_TOLERANCE / 100; in omap_target() 136 freqs.new / 1000, volt ? volt / 1000 : -1); in omap_target() 140 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target() 153 r = regulator_set_voltage(mpu_reg, volt - tol, volt + tol); in omap_target()
|
/drivers/devfreq/ |
D | exynos4_bus.c | 97 unsigned long volt; member 583 unsigned long volt = opp_get_voltage(opp); in exynos4_bus_setvolt() local 588 err = regulator_set_voltage(data->vdd_int, volt, in exynos4_bus_setvolt() 593 err = regulator_set_voltage(data->vdd_mif, volt, in exynos4_bus_setvolt() 607 exynos4x12_intclk_table[tmp].volt, in exynos4_bus_setvolt() 849 exynos4210_busclk_table[i].volt = exynos4210_asv_volt[mgrp][i]; in exynos4210_init_tables() 853 exynos4210_busclk_table[i].volt); in exynos4210_init_tables() 912 exynos4x12_mifclk_table[i].volt = in exynos4x12_init_tables() 914 exynos4x12_intclk_table[i].volt = in exynos4x12_init_tables() 920 exynos4x12_mifclk_table[i].volt); in exynos4x12_init_tables()
|
/drivers/input/misc/ |
D | twl6040-vibra.c | 162 int volt; in twl6040_vibra_set_effect() local 165 volt = regulator_get_voltage(info->supplies[0].consumer) / 1000; in twl6040_vibra_set_effect() 166 vibdatl = twl6040_vibra_code(volt, info->vibldrv_res, in twl6040_vibra_set_effect() 171 volt = regulator_get_voltage(info->supplies[1].consumer) / 1000; in twl6040_vibra_set_effect() 172 vibdatr = twl6040_vibra_code(volt, info->vibrdrv_res, in twl6040_vibra_set_effect()
|
/drivers/regulator/ |
D | max8952.c | 146 int volt = max8952_voltage(max8952, i); in max8952_set_voltage() local 149 if (volt <= max_uV && volt >= min_uV) in max8952_set_voltage() 150 if (vid == -1 || max8952_voltage(max8952, vid) > volt) in max8952_set_voltage()
|
D | tps65910-regulator.c | 814 int volt, mult = 1, id = rdev_get_id(dev); in tps65910_list_voltage_dcdc() local 820 volt = VDD1_2_MIN_VOLT + in tps65910_list_voltage_dcdc() 824 volt = VDDCTRL_MIN_VOLT + (selector * VDDCTRL_OFFSET); in tps65910_list_voltage_dcdc() 831 return volt * 100 * mult; in tps65910_list_voltage_dcdc()
|
/drivers/power/ |
D | da9052-battery.c | 291 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()
|
D | bq27x00_battery.c | 460 int volt; in bq27x00_battery_voltage() local 462 volt = bq27x00_read(di, BQ27x00_REG_VOLT, false); in bq27x00_battery_voltage() 463 if (volt < 0) { in bq27x00_battery_voltage() 465 return volt; in bq27x00_battery_voltage() 468 val->intval = volt * 1000; in bq27x00_battery_voltage()
|
D | s3c_adc_battery.c | 179 if (full_volt < calc_full_volt(lut->volt, lut->cur, in s3c_adc_bat_get_property() 186 lut_volt1 = calc_full_volt(lut[0].volt, lut[0].cur, in s3c_adc_bat_get_property() 188 lut_volt2 = calc_full_volt(lut[1].volt, lut[1].cur, in s3c_adc_bat_get_property()
|
D | intel_mid_battery.c | 147 u8 volt; /* Fine adjustment of constant charge voltage */ member 194 prop->volt = *p++; in pmic_scu_ipc_battery_property_get()
|
D | abx500_chargalg.c | 72 int volt; member 709 !di->maintenance_chg && (di->batt_data.volt >= in abx500_chargalg_end_of_charge() 1067 di->batt_data.volt = ret.intval / 1000; in abx500_chargalg_get_ext_psy_data() 1291 di->batt_data.volt, in abx500_chargalg_algorithm() 1431 if (di->batt_data.volt <= in abx500_chargalg_algorithm()
|
/drivers/media/dvb/frontends/ |
D | stv0288.c | 326 static int stv0288_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t volt) in stv0288_set_voltage() argument 329 volt == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : in stv0288_set_voltage() 330 volt == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); in stv0288_set_voltage()
|
D | si21xx.c | 454 static int si21xx_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t volt) in si21xx_set_voltage() argument 460 volt == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : in si21xx_set_voltage() 461 volt == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); in si21xx_set_voltage() 466 switch (volt) { in si21xx_set_voltage()
|
D | m88rs2000.c | 417 static int m88rs2000_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t volt) in m88rs2000_set_voltage() argument 420 volt == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : in m88rs2000_set_voltage() 421 volt == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); in m88rs2000_set_voltage()
|
/drivers/mfd/ |
D | twl4030-madc.c | 172 int temp, curr, volt, res, ret; in twl4030battery_temperature() local 174 volt = (raw_volt * TEMP_STEP_SIZE) / TEMP_PSR_R; in twl4030battery_temperature() 182 res = volt * 1000 / curr; in twl4030battery_temperature()
|
/drivers/hwmon/ |
D | fschmd.c | 290 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() 1371 data->volt[i] = i2c_smbus_read_byte_data(client, in fschmd_update_device()
|
D | adt7475.c | 264 static inline u16 volt2reg(int channel, long volt, u8 bypass_attn) in volt2reg() argument 270 reg = (volt * 1024) / 2250; in volt2reg() 272 reg = (volt * r[1] * 1024) / ((r[0] + r[1]) * 2250); in volt2reg()
|
/drivers/scsi/bfa/ |
D | bfa_defs.h | 872 u8 volt[4]; member
|