Lines Matching defs:tCpuClk
752 unsigned int tCpuClk;
784 * Compute tCpuClk, in picoseconds to avoid rounding errors.
787 * tCpuClk = 1/fCpuClk
804 /* tCpuClk is in picoseconds */
805 tCpuClk = ((4000000/(BCM1480_REFCLK*plldiv))+1)/2;
822 * Now compute our clock ratio (the amount we'll divide tCpuClk by
825 * It's (tMemClk*10) here because tCpuClk is in picoseconds
836 clk_ratio = ((4*((tMemClk*10) + tCpuClk - 2)) / (2*tCpuClk)) - 1;
1410 unsigned int tCpuClk;
1431 tCpuClk = 2000000/(BCM1480_REFCLK*plldiv); /* tCpuClk is in picoseconds */
1437 clk_ratio = ((tMemClk*100) + tCpuClk - 1) / tCpuClk;