/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | pll.c | 279 info->vco1.max_n = 0xff; in nvbios_pll_parse() 293 info->vco2.max_n = 0x1f; in nvbios_pll_parse() 296 info->vco2.max_n = 0x28; in nvbios_pll_parse() 313 info->vco1.max_n = nvbios_rd08(bios, data + 21); in nvbios_pll_parse() 317 info->vco2.max_n = nvbios_rd08(bios, data + 25); in nvbios_pll_parse() 342 info->vco1.max_n = nvbios_rd08(bios, data + 17); in nvbios_pll_parse() 346 info->vco2.max_n = nvbios_rd08(bios, data + 21); in nvbios_pll_parse() 364 info->vco1.max_n = nvbios_rd08(bios, data + 11); in nvbios_pll_parse() 378 info->vco1.max_n = nvbios_rd08(bios, data + 16); in nvbios_pll_parse() 417 info->vco1.max_n = 0xff; in nvbios_pll_parse()
|
/Linux-v5.4/drivers/clk/sunxi-ng/ |
D | ccu_nk.c | 14 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()
|
D | ccu_nkm.c | 14 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()
|
D | ccu_nkmp.c | 14 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()
|
D | ccu_nm.c | 15 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.4/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | pllnv04.c | 43 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()
|
D | pllgt215.c | 64 if (N > info->vco1.max_n) in gt215_pll_calc()
|
D | gk20a.c | 60 .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()
|
D | gk20a.h | 106 u32 min_n, max_n; member
|
D | gm20b.c | 155 .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.4/sound/soc/codecs/ |
D | rl6231.c | 139 int max_n = RL6231_PLL_N_MAX, max_m = RL6231_PLL_M_MAX; in rl6231_pll_calc() local 175 for (n_t = 0; n_t <= max_n; n_t++) { in rl6231_pll_calc()
|
D | madera.c | 4309 unsigned int fll_n, min_n, max_n, ratio, theta, lambda; in madera_fllhj_apply() local 4354 max_n = MADERA_FLLHJ_FRAC_MAX_N; in madera_fllhj_apply() 4358 max_n = MADERA_FLLHJ_INT_MAX_N; in madera_fllhj_apply() 4373 while (frac && (ratio / fbdiv > max_n)) { in madera_fllhj_apply() 4395 if (fll_n < min_n || fll_n > max_n) { in madera_fllhj_apply() 4397 frac ? "fractional" : "integer", min_n, max_n, in madera_fllhj_apply()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | pll.h | 71 u8 max_n; member
|
/Linux-v5.4/drivers/phy/freescale/ |
D | phy-fsl-imx8-mipi-dphy.c | 127 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.4/drivers/staging/rts5208/ |
D | rtsx_card.c | 625 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.4/net/mac80211/ |
D | scan.c | 1116 int max_n; in ieee80211_request_ibss_scan() local 1122 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan() 1123 for (i = 0; i < max_n; i++) { in ieee80211_request_ibss_scan()
|
/Linux-v5.4/drivers/gpu/drm/tegra/ |
D | hdmi.c | 369 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.4/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 43 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.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.c | 271 pv.N1 >= pll_lim.vco1.min_n && pv.N1 <= pll_lim.vco1.max_n && in nouveau_hw_fix_bad_vpll()
|
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_display.c | 787 int max_n; in g4x_find_best_dpll() local 796 max_n = limit->n.max; in g4x_find_best_dpll() 798 for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { in g4x_find_best_dpll() 818 max_n = clock.n; in g4x_find_best_dpll() 884 int max_n = min(limit->n.max, refclk / 19200); in vlv_find_best_dpll() local 892 for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) { in vlv_find_best_dpll()
|