Searched refs:max_volt (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/input/misc/ |
D | regulator-haptic.c | 31 unsigned int max_volt; member 64 volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude; in regulator_haptic_set_voltage() 69 haptic->max_volt); in regulator_haptic_set_voltage() 128 error = of_property_read_u32(node, "max-microvolt", &haptic->max_volt); in regulator_haptic_parse_dt() 160 haptic->max_volt = pdata->max_volt; in regulator_haptic_probe()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 80 u32 max_volt, int temp) in nvkm_cstate_valid() argument 108 return voltage <= min(max_volt, volt->max_uv); in nvkm_cstate_valid() 117 int max_volt; in nvkm_cstate_find_best() local 125 max_volt = volt->max_uv; in nvkm_cstate_find_best() 127 max_volt = min(max_volt, in nvkm_cstate_find_best() 130 max_volt = min(max_volt, in nvkm_cstate_find_best() 133 max_volt = min(max_volt, in nvkm_cstate_find_best() 137 if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp)) in nvkm_cstate_find_best()
|
/linux-6.6.21/drivers/power/supply/ |
D | axp288_fuel_gauge.c | 123 int max_volt; member 331 if (vocv > info->max_volt) in fuel_gauge_battery_health() 400 val->intval = PROP_VOLT(info->max_volt); in fuel_gauge_get_property() 647 info->max_volt = 4100; in axp288_fuel_gauge_read_initial_regs() 650 info->max_volt = 4150; in axp288_fuel_gauge_read_initial_regs() 653 info->max_volt = 4200; in axp288_fuel_gauge_read_initial_regs() 656 info->max_volt = 4350; in axp288_fuel_gauge_read_initial_regs()
|
D | sc27xx_fuel_gauge.c | 112 int max_volt; member 542 if (vol > data->max_volt) in sc27xx_fgu_get_health() 1005 data->max_volt = info->constant_charge_voltage_max_uv / 1000; in sc27xx_fgu_hw_init()
|
/linux-6.6.21/include/linux/platform_data/ |
D | regulator-haptic.h | 22 unsigned int max_volt; member
|
/linux-6.6.21/drivers/cpufreq/ |
D | imx6q-cpufreq.c | 344 unsigned long min_volt, max_volt; in imx6q_cpufreq_probe() local 487 max_volt = dev_pm_opp_get_voltage(opp); in imx6q_cpufreq_probe() 490 ret = regulator_set_voltage_time(arm_reg, min_volt, max_volt); in imx6q_cpufreq_probe()
|
/linux-6.6.21/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-core.c | 1002 u8 max_volt = CDNS_VOLT_SWING(mhdp->host.volt_swing); in cdns_mhdp_adjust_requested_eq() local 1014 max_volt); in cdns_mhdp_adjust_requested_eq() 1112 const u8 max_volt = CDNS_VOLT_SWING(mhdp->host.volt_swing); in cdns_mhdp_adjust_requested_cr() local 1120 max_volt : req_volt[i]; in cdns_mhdp_adjust_requested_cr() 1136 const u8 max_volt = CDNS_VOLT_SWING(mhdp->host.volt_swing); in cdns_mhdp_validate_cr() local 1148 req_volt[i] = min(adjust, max_volt); in cdns_mhdp_validate_cr()
|
/linux-6.6.21/drivers/usb/typec/tcpm/ |
D | tcpm.c | 289 u32 max_volt; member 2795 port->pps_data.max_volt = port->pps_data.req_max_volt; in tcpm_pd_ctrl_request() 6293 val->intval = port->pps_data.max_volt * 1000; in tcpm_psy_get_voltage_max()
|