/linux-6.1.9/drivers/clk/sunxi-ng/ |
D | ccu_mp.c | 14 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 …]
|
D | ccu_nkmp.c | 17 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-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | pll.c | 266 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.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | pllgt215.c | 37 if (*P > info->max_p) in gt215_pll_calc() 38 *P = info->max_p; in gt215_pll_calc()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | pll.h | 50 u8 max_p; member
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk-tegra124.c | 195 .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,
|
D | clk-tegra114.c | 191 .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,
|
D | clk-tegra210.c | 1673 .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,
|
D | clk.h | 332 int max_p; member
|
D | clk-pll.c | 1321 if (cfg->p > pll->params->max_p) in _pll_ramp_calc_pll()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv04.c | 314 if (Pval2 > info.max_p) in setPLL_double_lowregs() 315 Pval2 = info.max_p; in setPLL_double_lowregs()
|
/linux-6.1.9/net/sched/ |
D | sch_gred.c | 773 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.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv40.c | 54 ram->ctrl |= min(pll.bias_p + log2P, (int)pll.max_p) << 20; in nv40_ram_calc()
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 377 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()
|
D | cyttsp4_core.h | 265 size_t max_p; member
|
/linux-6.1.9/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 44 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-6.1.9/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.c | 274 pv.log2P <= pll_lim.max_p) in nouveau_hw_fix_bad_vpll()
|
/linux-6.1.9/lib/ |
D | maple_tree.c | 3212 unsigned char max_p = mt_pivots[mt]; in mas_destroy_rebalance() local 3215 if (tmp < max_p) in mas_destroy_rebalance() 3217 sizeof(unsigned long *) * (max_p - tmp)); in mas_destroy_rebalance() 3229 memset(l_pivs + tmp, 0, sizeof(unsigned long) * (max_p - tmp)); in mas_destroy_rebalance()
|