Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-fractional-divider.c71 if (scale > fd->nwidth) in clk_fd_round_rate()
72 rate <<= scale - fd->nwidth; in clk_fd_round_rate()
75 GENMASK(fd->mwidth - 1, 0), GENMASK(fd->nwidth - 1, 0), in clk_fd_round_rate()
93 GENMASK(fd->mwidth - 1, 0), GENMASK(fd->nwidth - 1, 0), in clk_fd_set_rate()
123 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument
145 fd->nwidth = nwidth; in clk_register_fractional_divider()
146 fd->nmask = GENMASK(nwidth - 1, 0) << nshift; in clk_register_fractional_divider()
/drivers/clk/sunxi/
Dclk-factors.c57 if (config->nwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
58 n = FACTOR_GET(config->nshift, config->nwidth, reg); in clk_factors_recalc_rate()
138 reg = FACTOR_SET(config->nshift, config->nwidth, reg, n); in clk_factors_set_rate()
Dclk-sunxi.c613 .nwidth = 5,
624 .nwidth = 5,
634 .nwidth = 5,
646 .nwidth = 5,
653 .nwidth = 5,
Dclk-factors.h12 u8 nwidth; member
Dclk-sun9i-core.c78 .nwidth = 8,
/drivers/clk/rockchip/
Dclk.c148 div->nwidth = 16; in rockchip_clk_register_frac_branch()
149 div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift; in rockchip_clk_register_frac_branch()
/drivers/video/fbdev/
Dcirrusfb.c2597 u_short nwidth, u_short nheight, in cirrusfb_set_blitter() argument
2614 vga_wgfx(regbase, CL_GR20, nwidth & 0xff); in cirrusfb_set_blitter()
2616 vga_wgfx(regbase, CL_GR21, nwidth >> 8); in cirrusfb_set_blitter()
2662 u_short nwidth = width - 1; in cirrusfb_BitBLT() local
2684 nsrc += nheight * line_length + nwidth; in cirrusfb_BitBLT()
2685 ndest += nheight * line_length + nwidth; in cirrusfb_BitBLT()
2690 cirrusfb_set_blitter(regbase, nwidth, nheight, in cirrusfb_BitBLT()
Dtgafb.c1012 unsigned long nwidth = width & -2048; local
1019 for (j = 0; j < nwidth; j += 2048)