Home
last modified time | relevance | path

Searched refs:ZYNQ_CLK_MAXDIV (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/clk/
A Dclk_zynq.c32 #define ZYNQ_CLK_MAXDIV 0x3f macro
34 #define CLK_CTRL_DIV1_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV1_SHIFT)
36 #define CLK_CTRL_DIV0_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV0_SHIFT)
41 #define CLK_CTRL_DIV2X_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV2X_SHIFT)
43 #define CLK_CTRL_DIV3X_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV3X_SHIFT)
298 for (d0 = 1; d0 <= ZYNQ_CLK_MAXDIV; d0++) { in zynq_clk_calc_peripheral_two_divs()
299 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynq_clk_calc_peripheral_two_divs()
338 if (div0 > ZYNQ_CLK_MAXDIV) in zynq_clk_set_peripheral_rate()
339 div0 = ZYNQ_CLK_MAXDIV; in zynq_clk_set_peripheral_rate()
A Dclk_zynqmp.c95 #define ZYNQ_CLK_MAXDIV 0x3f macro
97 #define CLK_CTRL_DIV1_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV1_SHIFT)
99 #define CLK_CTRL_DIV0_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV0_SHIFT)
511 for (d0 = 1; d0 <= ZYNQ_CLK_MAXDIV; d0++) { in zynqmp_clk_calc_peripheral_two_divs()
512 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynqmp_clk_calc_peripheral_two_divs()
560 if (div0 > ZYNQ_CLK_MAXDIV) in zynqmp_clk_set_peripheral_rate()
561 div0 = ZYNQ_CLK_MAXDIV; in zynqmp_clk_set_peripheral_rate()
566 mask = (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV0_SHIFT) | in zynqmp_clk_set_peripheral_rate()
567 (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV1_SHIFT); in zynqmp_clk_set_peripheral_rate()

Completed in 5 milliseconds