Home
last modified time | relevance | path

Searched refs:mV (Results 1 – 10 of 10) sorted by relevance

/drivers/mfd/
Dmenelaus.c462 static int menelaus_set_voltage(const struct menelaus_vtg *vtg, int mV, in menelaus_set_voltage() argument
478 vtg->name, mV, vtg->vtg_reg, val); in menelaus_set_voltage()
587 int menelaus_set_vmem(unsigned int mV) in menelaus_set_vmem() argument
591 if (mV == 0) in menelaus_set_vmem()
594 val = menelaus_get_vtg_value(mV, vmem_values, ARRAY_SIZE(vmem_values)); in menelaus_set_vmem()
597 return menelaus_set_voltage(&vmem_vtg, mV, val, 0x02); in menelaus_set_vmem()
616 int menelaus_set_vio(unsigned int mV) in menelaus_set_vio() argument
620 if (mV == 0) in menelaus_set_vio()
623 val = menelaus_get_vtg_value(mV, vio_values, ARRAY_SIZE(vio_values)); in menelaus_set_vio()
626 return menelaus_set_voltage(&vio_vtg, mV, val, 0x02); in menelaus_set_vio()
[all …]
Darizona-core.c1399 if (!arizona->pdata.micbias[i].mV && in arizona_dev_init()
1404 if (!arizona->pdata.micbias[i].mV) in arizona_dev_init()
1405 arizona->pdata.micbias[i].mV = 2800; in arizona_dev_init()
1407 val = (arizona->pdata.micbias[i].mV - 1500) / 100; in arizona_dev_init()
/drivers/cpufreq/
Dlonghaul.c557 if (minvid.mV == 0 || maxvid.mV == 0 || minvid.mV > maxvid.mV) { in longhaul_setup_voltagescaling()
559 minvid.mV/1000, minvid.mV%1000, in longhaul_setup_voltagescaling()
560 maxvid.mV/1000, maxvid.mV%1000); in longhaul_setup_voltagescaling()
564 if (minvid.mV == maxvid.mV) { in longhaul_setup_voltagescaling()
566 maxvid.mV/1000, maxvid.mV%1000); in longhaul_setup_voltagescaling()
573 maxvid.mV/1000, maxvid.mV%1000, in longhaul_setup_voltagescaling()
574 minvid.mV/1000, minvid.mV%1000, in longhaul_setup_voltagescaling()
612 speed, (int)(freq_pos - longhaul_table), vid.mV); in longhaul_setup_voltagescaling()
Dlonghaul.h314 unsigned short mV; member
/drivers/power/supply/
Dda9030_battery.c112 int mV; member
129 static inline int da9030_millivolt_to_reg(int mV) in da9030_millivolt_to_reg() argument
131 return ((mV - 2650) << 8) / 2650; in da9030_millivolt_to_reg()
147 charger->mA, charger->mV); in bat_debug_show()
225 charger->mV = (val & 0x7) * 50 + 4000; in da9030_charger_update_state()
Dbq2415x_charger.c569 static int bq2415x_set_weak_battery_voltage(struct bq2415x_device *bq, int mV) in bq2415x_set_weak_battery_voltage() argument
574 if (mV <= 3400 + 50) in bq2415x_set_weak_battery_voltage()
576 else if (mV <= 3500 + 50) in bq2415x_set_weak_battery_voltage()
578 else if (mV <= 3600 + 50) in bq2415x_set_weak_battery_voltage()
601 int mV) in bq2415x_set_battery_regulation_voltage() argument
603 int val = (mV/10 - 350) / 2; in bq2415x_set_battery_regulation_voltage()
/drivers/regulator/
Dqcom_rpm-regulator.c35 struct request_member mV; /* used if voltage is in mV */ member
75 .mV = { 0, 0x00000FFF, 0 },
86 .mV = { 0, 0x00000FFF, 0 },
108 .mV = { 0, 0x00000FFF, 0 },
219 const struct request_member *req = &parts->mV; in rpm_reg_set_mV_sel()
279 const struct request_member *req = &parts->mV; in rpm_reg_mV_enable()
336 const struct request_member *req = &parts->mV; in rpm_reg_mV_disable()
Dtwl-regulator.c369 int mV = info->table[index]; in twl4030ldo_list_voltage() local
371 return IS_UNSUP(info, mV) ? 0 : (LDO_MV(mV) * 1000); in twl4030ldo_list_voltage()
/drivers/pinctrl/sh-pfc/
Dpinctrl.c704 unsigned int mV = pinconf_to_config_argument(configs[i]); in sh_pfc_pinconf_set() local
715 if (mV != 1800 && mV != 3300) in sh_pfc_pinconf_set()
720 if (mV == 3300) in sh_pfc_pinconf_set()
/drivers/staging/iio/Documentation/dac/
Dmax51736 in mV can be read.