Searched refs:ZYNQ_CLK_MAXDIV (Results 1 – 2 of 2) sorted by relevance
29 #define ZYNQ_CLK_MAXDIV 0x3f macro31 #define CLK_CTRL_DIV1_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV1_SHIFT)33 #define CLK_CTRL_DIV0_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV0_SHIFT)38 #define CLK_CTRL_DIV2X_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV2X_SHIFT)40 #define CLK_CTRL_DIV3X_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV3X_SHIFT)295 for (d0 = 1; d0 <= ZYNQ_CLK_MAXDIV; d0++) { in zynq_clk_calc_peripheral_two_divs()296 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynq_clk_calc_peripheral_two_divs()335 if (div0 > ZYNQ_CLK_MAXDIV) in zynq_clk_set_peripheral_rate()336 div0 = ZYNQ_CLK_MAXDIV; in zynq_clk_set_peripheral_rate()
91 #define ZYNQ_CLK_MAXDIV 0x3f macro93 #define CLK_CTRL_DIV1_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV1_SHIFT)95 #define CLK_CTRL_DIV0_MASK (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV0_SHIFT)499 for (d0 = 1; d0 <= ZYNQ_CLK_MAXDIV; d0++) { in zynqmp_clk_calc_peripheral_two_divs()500 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynqmp_clk_calc_peripheral_two_divs()548 if (div0 > ZYNQ_CLK_MAXDIV) in zynqmp_clk_set_peripheral_rate()549 div0 = ZYNQ_CLK_MAXDIV; in zynqmp_clk_set_peripheral_rate()554 mask = (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV0_SHIFT) | in zynqmp_clk_set_peripheral_rate()555 (ZYNQ_CLK_MAXDIV << CLK_CTRL_DIV1_SHIFT); in zynqmp_clk_set_peripheral_rate()