Home
last modified time | relevance | path

Searched refs:max_volt (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/input/misc/
Dregulator-haptic.c34 unsigned int max_volt; member
67 volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude; in regulator_haptic_set_voltage()
72 haptic->max_volt); in regulator_haptic_set_voltage()
131 error = of_property_read_u32(node, "max-microvolt", &haptic->max_volt); in regulator_haptic_parse_dt()
163 haptic->max_volt = pdata->max_volt; in regulator_haptic_probe()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c80 u32 max_volt, int temp) in nvkm_cstate_valid() argument
107 return voltage <= min(max_volt, volt->max_uv); in nvkm_cstate_valid()
116 int max_volt; in nvkm_cstate_find_best() local
124 max_volt = volt->max_uv; in nvkm_cstate_find_best()
126 max_volt = min(max_volt, in nvkm_cstate_find_best()
129 max_volt = min(max_volt, in nvkm_cstate_find_best()
132 max_volt = min(max_volt, in nvkm_cstate_find_best()
136 if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp)) in nvkm_cstate_find_best()
/Linux-v4.19/drivers/power/supply/
Daxp288_fuel_gauge.c128 int max_volt; member
444 if (vocv > info->max_volt) in fuel_gauge_battery_health()
531 val->intval = PROP_VOLT(info->max_volt); in fuel_gauge_get_property()
807 info->max_volt = 4100; in axp288_fuel_gauge_probe()
810 info->max_volt = 4150; in axp288_fuel_gauge_probe()
813 info->max_volt = 4200; in axp288_fuel_gauge_probe()
816 info->max_volt = 4350; in axp288_fuel_gauge_probe()
/Linux-v4.19/include/linux/platform_data/
Dregulator-haptic.h25 unsigned int max_volt; member
/Linux-v4.19/drivers/cpufreq/
Dimx6q-cpufreq.c346 unsigned long min_volt, max_volt; in imx6q_cpufreq_probe() local
486 max_volt = dev_pm_opp_get_voltage(opp); in imx6q_cpufreq_probe()
489 ret = regulator_set_voltage_time(arm_reg, min_volt, max_volt); in imx6q_cpufreq_probe()
/Linux-v4.19/drivers/usb/typec/
Dtcpm.c184 u32 max_volt; member
2290 port->pps_data.max_volt = pdo_pps_apdo_max_voltage(pdo); in tcpm_pd_select_pps_apdo()
2424 max_mv = port->pps_data.max_volt; in tcpm_pd_build_pps_request()
4161 out_volt > port->pps_data.max_volt) { in tcpm_pps_set_out_volt()
4522 val->intval = port->pps_data.max_volt * 1000; in tcpm_psy_get_voltage_max()
4626 val->intval > port->pps_data.max_volt * 1000) in tcpm_psy_set_prop()