Lines Matching refs:ahb
121 int axi, ahb, apb0; in clock_set_pll1() local
135 ahb = DIV_ROUND_UP(hz/axi, 204000000); /* Max 250MHz */ in clock_set_pll1()
138 printf("CPU: %uHz, AXI/AHB/APB: %d/%d/%d\n", hz, axi, ahb, apb0); in clock_set_pll1()
142 if (ahb > 4) in clock_set_pll1()
143 ahb = 3; in clock_set_pll1()
144 else if (ahb > 2) in clock_set_pll1()
145 ahb = 2; in clock_set_pll1()
146 else if (ahb > 1) in clock_set_pll1()
147 ahb = 1; in clock_set_pll1()
149 ahb = 0; in clock_set_pll1()
163 ahb << AHB_DIV_SHIFT | in clock_set_pll1()
174 ahb << AHB_DIV_SHIFT | in clock_set_pll1()