Home
last modified time | relevance | path

Searched refs:max_n (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpll.c278 info->vco1.max_n = 0xff; in nvbios_pll_parse()
292 info->vco2.max_n = 0x1f; in nvbios_pll_parse()
295 info->vco2.max_n = 0x28; in nvbios_pll_parse()
312 info->vco1.max_n = nvbios_rd08(bios, data + 21); in nvbios_pll_parse()
316 info->vco2.max_n = nvbios_rd08(bios, data + 25); in nvbios_pll_parse()
341 info->vco1.max_n = nvbios_rd08(bios, data + 17); in nvbios_pll_parse()
345 info->vco2.max_n = nvbios_rd08(bios, data + 21); in nvbios_pll_parse()
363 info->vco1.max_n = nvbios_rd08(bios, data + 11); in nvbios_pll_parse()
377 info->vco1.max_n = nvbios_rd08(bios, data + 16); in nvbios_pll_parse()
416 info->vco1.max_n = 0xff; in nvbios_pll_parse()
/Linux-v5.15/drivers/clk/sunxi-ng/
Dccu_nk.c14 unsigned long n, min_n, max_n; member
26 for (_n = nk->min_n; _n <= nk->max_n; _n++) { in ccu_nk_find_best()
103 _nk.max_n = nk->n.max ?: 1 << nk->n.width; in ccu_nk_round_rate()
128 _nk.max_n = nk->n.max ?: 1 << nk->n.width; in ccu_nk_set_rate()
Dccu_nkm.c14 unsigned long n, min_n, max_n; member
27 for (_n = nkm->min_n; _n <= nkm->max_n; _n++) { in ccu_nkm_find_best()
116 _nkm.max_n = nkm->n.max ?: 1 << nkm->n.width; in ccu_nkm_round_rate()
156 _nkm.max_n = nkm->n.max ?: 1 << nkm->n.width; in ccu_nkm_set_rate()
Dccu_nkmp.c14 unsigned long n, min_n, max_n; member
40 for (_n = nkmp->min_n; _n <= nkmp->max_n; _n++) { in ccu_nkmp_find_best()
145 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_round_rate()
176 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_set_rate()
Dccu_nm.c15 unsigned long n, min_n, max_n; member
37 for (_n = nm->min_n; _n <= nm->max_n; _n++) { in ccu_nm_find_best()
156 _nm.max_n = nm->n.max ?: 1 << nm->n.width; in ccu_nm_round_rate()
200 _nm.max_n = nm->n.max ?: 1 << nm->n.width; in ccu_nm_set_rate()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpllnv04.c43 int minN = info->vco1.min_n, maxN = info->vco1.max_n; in getMNP_single()
145 int minN1 = info->vco1.min_n, maxN1 = info->vco1.max_n; in getMNP_double()
147 int minN2 = info->vco2.min_n, maxN2 = info->vco2.max_n; in getMNP_double()
Dpllgt215.c64 if (N > info->vco1.max_n) in gt215_pll_calc()
Dgk20a.c60 .min_n = 8, .max_n = 255,
155 if (n > clk->params->max_n) in gk20a_pllg_calc_mnp()
163 if (n > clk->params->max_n) in gk20a_pllg_calc_mnp()
Dgk20a.h106 u32 min_n, max_n; member
Dgm20b.c155 .min_n = 8, .max_n = 255,
247 if (n >> DFS_DET_RANGE > p->max_n) { in gm20b_dvfs_calc_ndiv()
249 n = p->max_n << DFS_DET_RANGE; in gm20b_dvfs_calc_ndiv()
/Linux-v5.15/sound/soc/codecs/
Drl6231.c143 int max_n = RL6231_PLL_N_MAX, max_m = RL6231_PLL_M_MAX; in rl6231_pll_calc() local
182 for (n_t = 0; n_t <= max_n; n_t++) { in rl6231_pll_calc()
Dmadera.c4419 unsigned int fll_n, min_n, max_n, ratio, theta, lambda; in madera_fllhj_apply() local
4464 max_n = MADERA_FLLHJ_FRAC_MAX_N; in madera_fllhj_apply()
4468 max_n = MADERA_FLLHJ_INT_MAX_N; in madera_fllhj_apply()
4483 while (frac && (ratio / fbdiv > max_n)) { in madera_fllhj_apply()
4505 if (fll_n < min_n || fll_n > max_n) { in madera_fllhj_apply()
4507 frac ? "fractional" : "integer", min_n, max_n, in madera_fllhj_apply()
/Linux-v5.15/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpll.h71 u8 max_n; member
/Linux-v5.15/drivers/phy/freescale/
Dphy-fsl-imx8-mipi-dphy.c127 static void get_best_ratio(u32 *pnum, u32 *pdenom, u32 max_n, u32 max_d) in get_best_ratio() argument
142 if ((n[i] > max_n) || (d[i] > max_d)) { in get_best_ratio()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_dpll.c550 int max_n; in g4x_find_best_dpll() local
559 max_n = limit->n.max; in g4x_find_best_dpll()
561 for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { in g4x_find_best_dpll()
581 max_n = clock.n; in g4x_find_best_dpll()
647 int max_n = min(limit->n.max, refclk / 19200); in vlv_find_best_dpll() local
655 for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { in vlv_find_best_dpll()
/Linux-v5.15/drivers/staging/rts5208/
Drtsx_card.c625 u8 n = (u8)(clk - 2), min_n, max_n; in switch_ssc_clock() local
633 max_n = 120; in switch_ssc_clock()
639 if ((clk <= 2) || (n > max_n)) in switch_ssc_clock()
/Linux-v5.15/net/mac80211/
Dscan.c1165 int max_n; in ieee80211_request_ibss_scan() local
1172 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan()
1173 for (i = 0; i < max_n; i++) { in ieee80211_request_ibss_scan()
/Linux-v5.15/drivers/gpu/drm/tegra/
Dhdmi.c369 const unsigned int max_n = afreq / 300; in tegra_hdmi_get_audio_config() local
378 for (n = min_n; n <= max_n; n++) { in tegra_hdmi_get_audio_config()
/Linux-v5.15/drivers/video/fbdev/intelfb/
Dintelfbhw.c43 int min_m2, max_m2, min_n, max_n; member
997 } while ((n <= pll->max_n) && (f_out >= clock)); in calc_pll_params()
/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c273 pv.N1 >= pll_lim.vco1.min_n && pv.N1 <= pll_lim.vco1.max_n && in nouveau_hw_fix_bad_vpll()