Home
last modified time | relevance | path

Searched refs:max_m (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/nouveau/core/subdev/bios/
Dpll.c270 info->vco1.max_m = 0xd; in nvbios_pll_parse()
289 info->vco2.max_m = 0x4; in nvbios_pll_parse()
304 info->vco1.max_m = nv_ro08(bios, data + 23); in nvbios_pll_parse()
308 info->vco2.max_m = nv_ro08(bios, data + 27); in nvbios_pll_parse()
333 info->vco1.max_m = nv_ro08(bios, data + 19); in nvbios_pll_parse()
337 info->vco2.max_m = nv_ro08(bios, data + 23); in nvbios_pll_parse()
351 info->vco1.max_m = nv_ro08(bios, data + 9); in nvbios_pll_parse()
399 info->vco1.max_m = 0xd; in nvbios_pll_parse()
403 info->vco1.max_m = 0xe; in nvbios_pll_parse()
/drivers/gpu/drm/nouveau/core/subdev/clock/
Dpllnv04.c43 int minM = info->vco1.min_m, maxM = info->vco1.max_m; in getMNP_single()
145 int minM1 = info->vco1.min_m, maxM1 = info->vco1.max_m; in getMNP_double()
147 int minM2 = info->vco2.min_m, maxM2 = info->vco2.max_m; in getMNP_double()
Dgk20a.c106 u32 min_m, max_m; member
114 .min_m = 1, .max_m = 255,
169 best_m = priv->params->max_m; in gk20a_pllg_calc_mnp()
207 for (m = priv->params->min_m; m <= priv->params->max_m; m++) { in gk20a_pllg_calc_mnp()
Dpllnva3.c47 hM = min(hM, (int)info->vco1.max_m); in nva3_pll_calc()
/drivers/gpu/drm/nouveau/core/include/subdev/bios/
Dpll.h71 u8 max_m; member
/drivers/media/i2c/smiapp/
Dsmiapp-core.c1868 u32 min, max, a, b, max_m; in smiapp_set_compose_scaler() local
1885 max_m = crops[SMIAPP_PAD_SINK]->width in smiapp_set_compose_scaler()
1893 max_m = clamp(max_m, sensor->limits[SMIAPP_LIMIT_SCALER_M_MIN], in smiapp_set_compose_scaler()
1896 dev_dbg(&client->dev, "scaling: a %d b %d max_m %d\n", a, b, max_m); in smiapp_set_compose_scaler()
1898 min = min(max_m, min(a, b)); in smiapp_set_compose_scaler()
1899 max = min(max_m, max(a, b)); in smiapp_set_compose_scaler()
1907 if (max != max_m) { in smiapp_set_compose_scaler()
/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c266 if (pv.M1 >= pll_lim.vco1.min_m && pv.M1 <= pll_lim.vco1.max_m && in nouveau_hw_fix_bad_vpll()
274 pv.M1 = pll_lim.vco1.max_m; in nouveau_hw_fix_bad_vpll()
/drivers/video/fbdev/intelfb/
Dintelfbhw.c42 int min_m, max_m, min_m1, max_m1; member
977 if (m > pll->max_m) in calc_pll_params()
978 m = pll->max_m - 1; in calc_pll_params()