Home
last modified time | relevance | path

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

/linux-6.12.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()
46 unsigned int max_p) in ccu_mp_find_best_with_parent_adj() argument
60 maxdiv = max_m * max_p; in ccu_mp_find_best_with_parent_adj()
63 for (_p = 1; _p <= max_p; _p <<= 1) { in ccu_mp_find_best_with_parent_adj()
104 unsigned int max_m, max_p; in ccu_mp_round_rate() local
111 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_round_rate()
114 rate = ccu_mp_find_best(*parent_rate, rate, max_m, max_p, &m, &p); in ccu_mp_round_rate()
117 max_m, max_p); in ccu_mp_round_rate()
191 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()
153 _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-6.12.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-6.12.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-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpll.h50 u8 max_p; member
/linux-6.12.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-6.12.1/net/sched/
Dsch_gred.c773 u32 max_p[MAX_DPs]; in gred_dump() local
793 max_p[i] = q ? q->parms.max_P : 0; in gred_dump()
795 if (nla_put(skb, TCA_GRED_MAX_P, sizeof(max_p), max_p)) in gred_dump()
/linux-6.12.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-6.12.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-6.12.1/drivers/input/touchscreen/
Dcyttsp5.c379 int max_x, max_y, max_p; in cyttsp5_setup_input_device() local
387 max_p = si->sensing_conf_data.max_z; in cyttsp5_setup_input_device()
391 input_set_abs_params(ts->input, ABS_MT_PRESSURE, 0, max_p, 0, 0); in cyttsp5_setup_input_device()
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c273 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll()
/linux-6.12.1/lib/
Dmaple_tree.c3052 unsigned char max_p = mt_pivots[mt]; in mas_destroy_rebalance() local
3055 if (tmp < max_p) in mas_destroy_rebalance()
3057 sizeof(unsigned long) * (max_p - tmp)); in mas_destroy_rebalance()
3069 memset(l_pivs + tmp, 0, sizeof(unsigned long) * (max_p - tmp)); in mas_destroy_rebalance()