Home
last modified time | relevance | path

Searched refs:max_p (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/drivers/clk/sunxi-ng/
Dccu_mp.c14 unsigned int max_m, unsigned int max_p, in ccu_mp_find_best() argument
21 for (_p = 1; _p <= max_p; _p <<= 1) { in ccu_mp_find_best()
44 unsigned int max_p) in ccu_mp_find_best_with_parent_adj() argument
58 maxdiv = max_m * max_p; in ccu_mp_find_best_with_parent_adj()
61 for (_p = 1; _p <= max_p; _p <<= 1) { in ccu_mp_find_best_with_parent_adj()
102 unsigned int max_m, max_p; in ccu_mp_round_rate() local
109 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_round_rate()
112 ccu_mp_find_best(*parent_rate, rate, max_m, max_p, &m, &p); in ccu_mp_round_rate()
116 max_m, max_p); in ccu_mp_round_rate()
190 unsigned int max_m, max_p; in ccu_mp_set_rate() local
[all …]
Dccu_nkmp.c17 unsigned long p, min_p, max_p; member
42 for (_p = nkmp->min_p; _p <= nkmp->max_p; _p <<= 1) { in ccu_nkmp_find_best()
151 _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); in ccu_nkmp_round_rate()
182 _nkmp.max_p = nkmp->p.max ?: 1 << ((1 << nkmp->p.width) - 1); in ccu_nkmp_set_rate()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpll.c266 info->max_p = 0x7; in nvbios_pll_parse()
320 info->max_p = nvbios_rd08(bios, data + 29); in nvbios_pll_parse()
321 info->max_p_usable = info->max_p; in nvbios_pll_parse()
348 info->max_p_usable = info->max_p = nvbios_rd08(bios, data + 25); in nvbios_pll_parse()
365 info->max_p = nvbios_rd08(bios, data + 13); in nvbios_pll_parse()
379 info->max_p = nvbios_rd08(bios, data + 18); in nvbios_pll_parse()
433 info->max_p = 4; in nvbios_pll_parse()
435 info->max_p = 5; in nvbios_pll_parse()
436 info->max_p_usable = info->max_p; in nvbios_pll_parse()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpllgt215.c37 if (*P > info->max_p) in gt215_pll_calc()
38 *P = info->max_p; in gt215_pll_calc()
/Linux-v6.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpll.h50 u8 max_p; member
/Linux-v6.1/drivers/clk/tegra/
Dclk-tegra124.c195 .max_p = 6,
229 .max_p = PLLXC_SW_MAX_P,
283 .max_p = 7,
305 .max_p = 7,
424 .max_p = 5,
666 .max_p = 15,
699 .max_p = 5,
Dclk-tegra114.c191 .max_p = PLLXC_SW_MAX_P,
242 .max_p = 7,
264 .max_p = 7,
311 .max_p = 2,
508 .max_p = PLLXC_SW_MAX_P,
Dclk-tegra210.c1673 .max_p = PLL_QLIN_PDIV_MAX,
1719 .max_p = PLL_QLIN_PDIV_MAX,
1762 .max_p = PLL_QLIN_PDIV_MAX,
1792 .max_p = PLL_QLIN_PDIV_MAX,
1849 .max_p = PLL_QLIN_PDIV_MAX,
1906 .max_p = PLL_QLIN_PDIV_MAX,
1932 .max_p = PLL_QLIN_PDIV_MAX,
2012 .max_p = PLL_QLIN_PDIV_MAX,
2226 .max_p = PLL_QLIN_PDIV_MAX,
2269 .max_p = PLL_QLIN_PDIV_MAX,
Dclk.h332 int max_p; member
Dclk-pll.c1321 if (cfg->p > pll->params->max_p) in _pll_ramp_calc_pll()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv04.c314 if (Pval2 > info.max_p) in setPLL_double_lowregs()
315 Pval2 = info.max_p; in setPLL_double_lowregs()
/Linux-v6.1/net/sched/
Dsch_gred.c771 u32 max_p[MAX_DPs]; in gred_dump() local
791 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
793 if (nla_put(skb, TCA_GRED_MAX_P, sizeof(max_p), max_p)) in gred_dump()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv40.c54 ram->ctrl |= min(pll.bias_p + log2P, (int)pll.max_p) << 20; in nv40_ram_calc()
/Linux-v6.1/drivers/input/touchscreen/
Dcyttsp4_core.c377 si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, in cyttsp4_si_get_pcfg_data()
677 si->si_ofs.max_p, si->si_ofs.max_p); in cyttsp4_si_put_log_data()
1909 int max_x, max_y, max_p, min, max; in cyttsp4_setup_input_device() local
1930 max_p = md->si->si_ofs.max_p; in cyttsp4_setup_input_device()
1951 max = max_p; in cyttsp4_setup_input_device()
Dcyttsp4_core.h265 size_t max_p; member
/Linux-v6.1/drivers/video/fbdev/intelfb/
Dintelfbhw.c44 int min_p, max_p, min_p1, max_p1; member
954 if (p_max > pll->max_p) in calc_pll_params()
955 p_max = pll->max_p; in calc_pll_params()
/Linux-v6.1/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c274 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll()
/Linux-v6.1/lib/
Dmaple_tree.c3210 unsigned char max_p = mt_pivots[mt]; in mas_destroy_rebalance() local
3213 if (tmp < max_p) in mas_destroy_rebalance()
3215 sizeof(unsigned long *) * (max_p - tmp)); in mas_destroy_rebalance()
3227 memset(l_pivs + tmp, 0, sizeof(unsigned long) * (max_p - tmp)); in mas_destroy_rebalance()