Home
last modified time | relevance | path

Searched refs:pwidth (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/clk/sprd/
Dpll.c24 #define pwidth(pll, member) \ macro
28 ((pwidth(pll, member)) ? \
29 GENMASK(pwidth(pll, member) + pshift(pll, member) - 1, \
74 if (pwidth(pll, PLL_REFIN)) { in pll_get_refin()
118 if (pwidth(pll, PLL_POSTDIV) && in _sprd_pll_recalc_rate()
165 width = pwidth(pll, PLL_PREDIV); in _sprd_pll_set_rate()
171 width = pwidth(pll, PLL_POSTDIV); in _sprd_pll_set_rate()
199 width = pwidth(pll, PLL_KINT); in _sprd_pll_set_rate()
/Linux-v5.4/arch/mips/lib/
Ddump_tlb.c86 int pwidth = xpa ? 11 : 8; in dump_tlb() local
90 int pwidth = 11; in dump_tlb() local
169 pwidth, pa, c0, in dump_tlb()
183 pwidth, pa, c1, in dump_tlb()
/Linux-v5.4/drivers/clk/sunxi/
Dclk-sun9i-core.c65 .pwidth = 1,
173 .pwidth = 2,
256 .pwidth = 2,
Dclk-factors.c59 if (config->pwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
60 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate()
156 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p); in clk_factors_set_rate()
Dclk-sunxi.c423 .pwidth = 2,
444 .pwidth = 2,
465 .pwidth = 2,
472 .pwidth = 2,
479 .pwidth = 2,
487 .pwidth = 2,
Dclk-factors.h18 u8 pwidth; member
Dclk-sun6i-ar100.c58 .pwidth = 2,
Dclk-mod0.c55 .pwidth = 2,
/Linux-v5.4/drivers/net/phy/
Ddp83640.c300 u32 sec, nsec, pwidth; in periodic_output() local
331 pwidth = clkreq->perout.period.sec * 1000000000UL; in periodic_output()
332 pwidth += clkreq->perout.period.nsec; in periodic_output()
333 pwidth /= 2; in periodic_output()
346 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); /* ns[15:0] */ in periodic_output()
347 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); /* ns[31:16] */ in periodic_output()
350 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); in periodic_output()
351 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); in periodic_output()
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_display.c983 unsigned int pwidth = 1024; in qxl_conn_get_modes() local
991 pwidth = head->width; in qxl_conn_get_modes()
999 drm_set_preferred_mode(connector, pwidth, pheight); in qxl_conn_get_modes()