Searched refs:clk_ratio (Results 1 - 2 of 2) sorted by relevance

/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcm1480/src/
H A Dbcm1480_draminit.c436 uint16_t clk_ratio; /* 18: clock ratio for delay loops */ member in struct:mcdata_s
744 unsigned int clk_ratio; local
832 * Therefore, the low 2 bits fo the clk_ratio result will be
836 clk_ratio = ((4*((tMemClk*10) + tCpuClk - 2)) / (2*tCpuClk)) - 1;
838 printf("DRAM: Would like to use clk_ratio %d\n",clk_ratio);
841 if (clk_ratio < 4) clk_ratio = 4;
842 if (clk_ratio > 24) clk_ratio
1407 unsigned int clk_ratio; local
2178 uint64_t clk_ratio; local
2519 uint64_t clk_ratio; local
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/sb1250/src/
H A Dsb1250_draminit.c676 unsigned int clk_ratio; local
777 clk_ratio = ((tMemClk*100) + tCpuClk - 1) / tCpuClk;
778 if (clk_ratio < 4) clk_ratio = 4;
779 if (clk_ratio > 9) clk_ratio = 9;
790 clk_ratio == 5) {
791 clk_ratio = 6;
795 * Now, recompute tMemClk using the new clk_ratio. This gives us
799 * fMemClk = SB1250_REFCLK * plldiv / (2 * clk_ratio) Mh
1216 unsigned int clk_ratio; local
[all...]

Completed in 38 milliseconds