Searched refs:nwidth (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/clk/ |
H A D | clk-fractional-divider.c | 90 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 D | clk-fractional-divider_test.c | 25 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 D | clk-stm32h7.c | 673 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 D | clk-factors.c | 53 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 D | clk-sunxi.c | 417 .nwidth = 5, 428 .nwidth = 5, 438 .nwidth = 5, 450 .nwidth = 5, 457 .nwidth = 5,
|
H A D | clk-factors.h | 12 u8 nwidth; member
|
H A D | clk-sun9i-core.c | 63 .nwidth = 8,
|
/linux/drivers/clk/imx/ |
H A D | clk-composite-7ulp.c | 111 fd->nwidth = PCG_PCD_WIDTH; in imx_ulp_clk_hw_composite()
|
/linux/drivers/video/fbdev/ |
H A D | cirrusfb.c | 2599 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 D | tgafb.c | 1025 unsigned long nwidth = width & -2048; local 1032 for (j = 0; j < nwidth; j += 2048)
|
/linux/include/linux/ |
H A D | clk-provider.h | 1223 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 D | clk.c | 248 div->nwidth = 16; in rockchip_clk_register_frac_branch()
|