Home
last modified time | relevance | path

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

/Linux-v4.19/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()
164 width = pwidth(pll, PLL_PREDIV); in _sprd_pll_set_rate()
170 width = pwidth(pll, PLL_POSTDIV); in _sprd_pll_set_rate()
198 width = pwidth(pll, PLL_KINT); in _sprd_pll_set_rate()
/Linux-v4.19/arch/mips/lib/
Ddump_tlb.c84 int pwidth = xpa ? 11 : 8; in dump_tlb() local
88 int pwidth = 11; in dump_tlb() local
157 pwidth, pa, c0, in dump_tlb()
171 pwidth, pa, c1, in dump_tlb()
/Linux-v4.19/drivers/clk/sunxi/
Dclk-sun9i-core.c74 .pwidth = 1,
182 .pwidth = 2,
265 .pwidth = 2,
Dclk-factors.c62 if (config->pwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
63 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate()
159 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p); in clk_factors_set_rate()
Dclk-sunxi.c431 .pwidth = 2,
452 .pwidth = 2,
473 .pwidth = 2,
480 .pwidth = 2,
487 .pwidth = 2,
495 .pwidth = 2,
Dclk-factors.h18 u8 pwidth; member
Dclk-sun6i-ar100.c59 .pwidth = 2,
Dclk-mod0.c63 .pwidth = 2,
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_display.c184 unsigned *pwidth, in qxl_add_monitors_config_modes() argument
212 *pwidth = head->width; in qxl_add_monitors_config_modes()
245 unsigned pwidth, in qxl_add_common_modes() argument
254 if (common_modes[i].w == pwidth && common_modes[i].h == pheight) in qxl_add_common_modes()
949 unsigned pwidth = 1024; in qxl_conn_get_modes() local
953 ret = qxl_add_monitors_config_modes(connector, &pwidth, &pheight); in qxl_conn_get_modes()
956 ret += qxl_add_common_modes(connector, pwidth, pheight); in qxl_conn_get_modes()
/Linux-v4.19/drivers/net/phy/
Ddp83640.c313 u32 sec, nsec, pwidth; in periodic_output() local
344 pwidth = clkreq->perout.period.sec * 1000000000UL; in periodic_output()
345 pwidth += clkreq->perout.period.nsec; in periodic_output()
346 pwidth /= 2; in periodic_output()
359 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); /* ns[15:0] */ in periodic_output()
360 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); /* ns[31:16] */ in periodic_output()
363 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth & 0xffff); in periodic_output()
364 ext_write(0, phydev, PAGE4, PTP_TDR, pwidth >> 16); in periodic_output()