Searched refs:n2 (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/lib/ |
| H A D | rational.c | 48 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local 71 n2 = n0 + a * n1; in rational_best_approximation() 79 if ((n2 > max_numerator) || (d2 > max_denominator)) { in rational_best_approximation() 93 n1 = n2; in rational_best_approximation()
|
| /rk3399_rockchip-uboot/drivers/cpu/ |
| H A D | bmips_cpu.c | 138 unsigned int tmp, n1, n2, m1; in bcm6348_get_cpu_freq() local 142 n2 = (tmp & MIPSPLLCFG_6348_N2_MASK) >> MIPSPLLCFG_6348_N2_SHIFT; in bcm6348_get_cpu_freq() 145 return (16 * 1000000 * (n1 + 1) * (n2 + 2)) / (m1 + 1); in bcm6348_get_cpu_freq() 150 unsigned int tmp, n1, n2, m1; in bcm6358_get_cpu_freq() local 154 n2 = (tmp & DMIPSPLLCFG_6358_N2_MASK) >> DMIPSPLLCFG_6358_N2_SHIFT; in bcm6358_get_cpu_freq() 157 return (16 * 1000000 * n1 * n2) / m1; in bcm6358_get_cpu_freq()
|
| /rk3399_rockchip-uboot/lib/bzip2/ |
| H A D | bzlib_huffman.c | 113 Int32 nNodes, nHeap, n1, n2, i, j, k; in BZ2_hbMakeCodeLengths() local 143 n2 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP(1); in BZ2_hbMakeCodeLengths() 145 parent[n1] = parent[n2] = nNodes; in BZ2_hbMakeCodeLengths() 146 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
|
| H A D | bzlib.c | 998 Int32 n, n2, ret; in BZ_API() local 1024 n2 = fwrite ( (void*)(bzf->buf), sizeof(UChar), in BZ_API() 1026 if (n != n2 || ferror(bzf->handle)) in BZ_API() 1058 Int32 n, n2, ret; in BZ_API() local 1083 n2 = fwrite ( (void*)(bzf->buf), sizeof(UChar), in BZ_API() 1085 if (n != n2 || ferror(bzf->handle)) in BZ_API()
|
| /rk3399_rockchip-uboot/arch/nios2/lib/ |
| H A D | libgcc.c | 153 UWtype d0, d1, n0, n1, n2; in __udivmoddi4() local 248 n2 = n1 >> b; in __udivmoddi4() 252 udiv_qrnnd (q1, n1, n2, n1, d0); in __udivmoddi4() 329 n2 = n1 >> b; in __udivmoddi4() 333 udiv_qrnnd (q0, n1, n2, n1, d1); in __udivmoddi4()
|