Searched refs:max_uv (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | base.c | 54 int i, ret = -EINVAL, best_err = volt->max_uv, best = -1; in nvkm_volt_set() 199 volt->max_uv = info.max; in nvkm_volt_parse_bios() 213 volt->max_uv = 0; in nvkm_volt_parse_bios() 222 volt->max_uv = max(volt->max_uv, ivid.voltage); in nvkm_volt_parse_bios() 228 volt->max_uv = info.base + info.pwm_range; in nvkm_volt_parse_bios() 299 volt->min_uv, volt->max_uv); in nvkm_volt_ctor()
|
/Linux-v4.19/drivers/mmc/host/ |
D | dw_mmc-k3.c | 150 int min_uv, max_uv; in dw_mci_hi6220_switch_voltage() local 163 max_uv = 3000000; in dw_mci_hi6220_switch_voltage() 168 max_uv = 1800000; in dw_mci_hi6220_switch_voltage() 182 ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv); in dw_mci_hi6220_switch_voltage() 185 ret, min_uv, max_uv); in dw_mci_hi6220_switch_voltage()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | volt.h | 17 u32 max_uv; member
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 107 return voltage <= min(max_volt, volt->max_uv); in nvkm_cstate_valid() 124 max_volt = volt->max_uv; in nvkm_cstate_find_best() 236 if (volt && nvkm_volt_map_min(volt, cstepX.voltage) > volt->max_uv) in nvkm_cstate_new()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_hwmon.c | 506 *val = volt->max_uv > 0 ? (volt->max_uv / 1000) : -ENODEV; in nouveau_in_read()
|
/Linux-v4.19/drivers/usb/typec/fusb302/ |
D | fusb302.c | 1692 u32 max_uv, max_ua; in fusb302_composite_snk_pdo_array() local 1704 if (device_property_read_u32(dev, "fcs,max-sink-microvolt", &max_uv) || in fusb302_composite_snk_pdo_array() 1708 chip->snk_pdo[1] = PDO_VAR(5000, max_uv / 1000, max_ua / 1000); in fusb302_composite_snk_pdo_array()
|