Home
last modified time | relevance | path

Searched refs:nwidth (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/clk/
Dclk-fractional-divider.c84 if (scale > fd->nwidth) in clk_fd_general_approximation()
85 rate <<= scale - fd->nwidth; in clk_fd_general_approximation()
88 GENMASK(fd->mwidth - 1, 0), GENMASK(fd->nwidth - 1, 0), in clk_fd_general_approximation()
122 GENMASK(fd->mwidth - 1, 0), GENMASK(fd->nwidth - 1, 0), in clk_fd_set_rate()
157 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument
180 fd->nwidth = nwidth; in clk_hw_register_fractional_divider()
181 fd->nmask = GENMASK(nwidth - 1, 0) << nshift; in clk_hw_register_fractional_divider()
199 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument
205 reg, mshift, mwidth, nshift, nwidth, clk_divider_flags, in clk_register_fractional_divider()
Dclk-stm32h7.c674 u8 nwidth; member
757 mask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in pll_fd_recalc_rate()
822 div->nwidth = 9; in clk_register_stm32_pll()
/Linux-v5.10/drivers/clk/sunxi/
Dclk-factors.c53 if (config->nwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
54 n = FACTOR_GET(config->nshift, config->nwidth, reg); in clk_factors_recalc_rate()
153 reg = FACTOR_SET(config->nshift, config->nwidth, reg, req.n); in clk_factors_set_rate()
Dclk-factors.h12 u8 nwidth; member
Dclk-sunxi.c417 .nwidth = 5,
428 .nwidth = 5,
438 .nwidth = 5,
450 .nwidth = 5,
457 .nwidth = 5,
Dclk-sun9i-core.c63 .nwidth = 8,
/Linux-v5.10/drivers/clk/rockchip/
Dclk.c199 if (scale > fd->nwidth) in rockchip_fractional_approximation()
200 rate <<= scale - fd->nwidth; in rockchip_fractional_approximation()
203 GENMASK(fd->mwidth - 1, 0), GENMASK(fd->nwidth - 1, 0), in rockchip_fractional_approximation()
250 div->nwidth = 16; in rockchip_clk_register_frac_branch()
251 div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift; in rockchip_clk_register_frac_branch()
/Linux-v5.10/drivers/clk/imx/
Dclk-composite-7ulp.c59 fd->nwidth = PCG_PCD_WIDTH; in imx7ulp_clk_hw_composite()
/Linux-v5.10/drivers/video/fbdev/
Dcirrusfb.c2595 u_short nwidth, u_short nheight, in cirrusfb_set_blitter() argument
2612 vga_wgfx(regbase, CL_GR20, nwidth & 0xff); in cirrusfb_set_blitter()
2614 vga_wgfx(regbase, CL_GR21, nwidth >> 8); in cirrusfb_set_blitter()
2660 u_short nwidth = width - 1; in cirrusfb_BitBLT() local
2682 nsrc += nheight * line_length + nwidth; in cirrusfb_BitBLT()
2683 ndest += nheight * line_length + nwidth; in cirrusfb_BitBLT()
2688 cirrusfb_set_blitter(regbase, nwidth, nheight, in cirrusfb_BitBLT()
Dtgafb.c1014 unsigned long nwidth = width & -2048; local
1021 for (j = 0; j < nwidth; j += 2048)
/Linux-v5.10/include/linux/
Dclk-provider.h947 u8 nwidth; member
964 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
968 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,