Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk-fractional-divider.c90 nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in clk_fd_get_div()
138 if (scale > fd->nwidth) in clk_fractional_divider_general_approximation()
139 rate <<= scale - fd->nwidth; in clk_fractional_divider_general_approximation()
144 max_n = BIT(fd->nwidth); in clk_fractional_divider_general_approximation()
147 max_n = GENMASK(fd->nwidth - 1, 0); in clk_fractional_divider_general_approximation()
186 max_n = BIT(fd->nwidth); in clk_fd_set_rate()
189 max_n = GENMASK(fd->nwidth - 1, 0); in clk_fd_set_rate()
199 nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in clk_fd_set_rate()
263 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument
285 fd->nwidth = nwidth; in clk_hw_register_fractional_divider()
[all …]
H A Dclk-fractional-divider_test.c25 fd->nwidth = 3; in clk_fd_test_approximation_max_denominator()
55 fd->nwidth = 3; in clk_fd_test_approximation_max_numerator()
84 fd->nwidth = 3; in clk_fd_test_approximation_max_denominator_zero_based()
115 fd->nwidth = 3; in clk_fd_test_approximation_max_numerator_zero_based()
H A Dclk-stm32h7.c673 u8 nwidth; member
756 mask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in pll_fd_recalc_rate()
821 div->nwidth = 9; in clk_register_stm32_pll()
/linux/drivers/clk/sunxi/
H A 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()
H A Dclk-sunxi.c417 .nwidth = 5,
428 .nwidth = 5,
438 .nwidth = 5,
450 .nwidth = 5,
457 .nwidth = 5,
H A Dclk-factors.h12 u8 nwidth; member
H A Dclk-sun9i-core.c63 .nwidth = 8,
/linux/drivers/clk/imx/
H A Dclk-composite-7ulp.c111 fd->nwidth = PCG_PCD_WIDTH; in imx_ulp_clk_hw_composite()
/linux/drivers/video/fbdev/
H A Dcirrusfb.c2599 u_short nwidth, u_short nheight, in cirrusfb_set_blitter() argument
2616 vga_wgfx(regbase, CL_GR20, nwidth & 0xff); in cirrusfb_set_blitter()
2618 vga_wgfx(regbase, CL_GR21, nwidth >> 8); in cirrusfb_set_blitter()
2664 u_short nwidth = width - 1; in cirrusfb_BitBLT() local
2686 nsrc += nheight * line_length + nwidth; in cirrusfb_BitBLT()
2687 ndest += nheight * line_length + nwidth; in cirrusfb_BitBLT()
2692 cirrusfb_set_blitter(regbase, nwidth, nheight, in cirrusfb_BitBLT()
H A Dtgafb.c1025 unsigned long nwidth = width & -2048; local
1032 for (j = 0; j < nwidth; j += 2048)
/linux/include/linux/
H A Dclk-provider.h1223 u8 nwidth; member
1239 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
1243 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
/linux/drivers/clk/rockchip/
H A Dclk.c248 div->nwidth = 16; in rockchip_clk_register_frac_branch()