Searched refs:max_uv (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/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-v5.4/drivers/mmc/host/ |
D | dw_mmc-k3.c | 146 int min_uv, max_uv; in dw_mci_hi6220_switch_voltage() local 159 max_uv = 3000000; in dw_mci_hi6220_switch_voltage() 164 max_uv = 1800000; in dw_mci_hi6220_switch_voltage() 178 ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv); in dw_mci_hi6220_switch_voltage() 181 ret, min_uv, max_uv); in dw_mci_hi6220_switch_voltage()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | volt.h | 17 u32 max_uv; member
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 108 return voltage <= min(max_volt, volt->max_uv); in nvkm_cstate_valid() 125 max_volt = volt->max_uv; in nvkm_cstate_find_best() 237 if (volt && nvkm_volt_map_min(volt, cstepX.voltage) > volt->max_uv) in nvkm_cstate_new()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_hwmon.c | 510 *val = volt->max_uv > 0 ? (volt->max_uv / 1000) : -ENODEV; in nouveau_in_read()
|