Lines Matching refs:tempVal

106 	unsigned int tempVal;  in myAtan2()  local
167 tempVal = cosTablePtr[idx&(MAX_FFT_SIZE/2-1)]; in myAtan2()
169 cosValInt = -(short) (tempVal&0xffff); in myAtan2()
170 sinValInt = -(short) (tempVal>>16); in myAtan2()
173 cosValInt = (short) (tempVal&0xffff); in myAtan2()
174 sinValInt = (short) (tempVal>>16); in myAtan2()
177 tempVal = cosTablePtr[idx&(MAX_FFT_SIZE-1)]; // apply modulo in myAtan2()
178 cosValInt = (short) (tempVal&0xffff); in myAtan2()
179 sinValInt = (short) (tempVal>>16); in myAtan2()
273 unsigned int tempVal = myStack[0]; in processSubCarrier() local
280 unsigned int tempVal; in processSubCarrier() local
331 MOV reg6, tempVal in processSubCarrier()
332 PKHBT tempVal, reg7, reg8, LSL #16 in processSubCarrier()
333 SMLAD powerEst, tempVal, tempVal, powerEst in processSubCarrier()
334 SMLAD runningSumI, reg6, tempVal, runningSumI in processSubCarrier()
335 SMLSDX runningSumQ, reg6, tempVal, runningSumQ in processSubCarrier()
384 …: [read]"+r"(dataPtrTmp), [write]"+r"(writePtr), [tempVal]"+r"(tempVal), [powerEst] "+r"(powerEst)… in processSubCarrier()
423 myStack[0] = tempVal; in processSubCarrier()
429 tempVal = ((unsigned int)tempValQ)<<16; in processSubCarrier()
430 myStack[0] = (((unsigned int)tempValI)&0xffff) | tempVal; in processSubCarrier()
448 unsigned int tempVal = myStack[0]; in processSubCarrier20MHz() local
457 unsigned int tempVal; in processSubCarrier20MHz() local
509 MOV reg6, tempVal in processSubCarrier20MHz()
510 PKHBT tempVal, reg7, reg8, LSL #16 in processSubCarrier20MHz()
511 SMLAD powerEst, tempVal, tempVal, powerEst in processSubCarrier20MHz()
512 SMLAD runningSumI, reg6, tempVal, runningSumI in processSubCarrier20MHz()
513 SMLSDX runningSumQ, reg6, tempVal, runningSumQ in processSubCarrier20MHz()
563 …: [read]"+r"(dataPtrTmp), [write]"+r"(writePtr), [pilots]"+r"(pilotVals), [tempVal]"+r"(tempVal), … in processSubCarrier20MHz()
605 myStack[0] = tempVal; in processSubCarrier20MHz()
611 tempVal = ((unsigned int)tempValQ)<<16; in processSubCarrier20MHz()
612 myStack[0] = (((unsigned int)tempValI)&0xffff) | tempVal; in processSubCarrier20MHz()
1163 unsigned int tempVal; local
1179 tempVal = 0;
1181 tempVal += powerPerSubband[qq + tt*NUM_PARALLEL + (jj + ii*nRx)*numSubBlocks];
1183 totalpower[qq + jj + ii*nRx] = tempVal;
2024 unsigned int tempVal = 0; local
2026 tempVal += powerPerSubband[qq + ii*NUM_PARALLEL + (rx + tx*nRx)*numSubBlocks];
2028 totalpower[qq + rx + tx*nRx] = tempVal;
2248 unsigned int tempVal;
2262 tempVal = *currentValPtr++;
2263 tempI = tempVal&0xffff;
2264 tempQ = (tempVal>>16)&0xffff;
2265 tempVal = tempI*tempI;
2266 currentSum = tempVal;
2267 tempVal = tempQ*tempQ;
2268 currentSum += tempVal;
2282 unsigned int tempVal; local
2293 tempVal = *currentValPtr++;
2294 tempI = tempVal & 0xffff;
2295 tempQ = (tempVal >> 16) & 0xffff;
2296 tempVal = tempI*tempI;
2297 currentSum = tempVal;
2298 tempVal = tempQ*tempQ;
2299 currentSum += tempVal;
2318 unsigned int tempVal, maxVals[MAX_RX*MAX_TX]; local
2339 tempVal = totalpower[jj+ii*nRx];
2340 if(tempVal){
2341 tempVal *= nTx*nRx*(numSubbands*subbandSize);
2342 tempVal >>=(31-16-10);
2343 tdScaling[2*(jj+ii*nRx)] = (unsigned short)((ifftSizeOsf*ifftSizeOsf<<10)/tempVal); //(1<<31)
2371 maxIdx = 0; tempVal = 0;
2377 if(maxVals[jj+ii*nRx]>tempVal){
2378 tempVal = maxVals[jj+ii*nRx];
2384 *valRes = (tempVal*tdScaling[2*maxIdx])*nTx*nRx;
2395 unsigned int currentSum, tempVal, currentMax = 0; local
2421 tempVal = totalpower[jj+ii*nRx];
2422 if(tempVal){
2423 tempVal *= nTx*nRx*(numSubbands*subbandSize);
2424 tempVal >>=(31-16-10);
2425 tdScaling[2*(jj+ii*nRx)] = (unsigned short)((ifftSizeOsf*ifftSizeOsf<<10)/tempVal); //(1<<31)
2461 tempVal = *ldPtr;
2465 tempI = tempVal&0xffff;
2466 tempQ = (tempVal>>16)&0xffff;
2467 tempVal = tempI*tempI;
2468 currentSum += tempVal*scaleVal;
2469 tempVal = tempQ*tempQ;
2470 currentSum += tempVal*scaleVal;
2491 unsigned int currentSum, tempVal, currentMax = 0; local
2513 tempVal = totalpower[jj + ii*nRx];
2514 if (tempVal) {
2515 tempVal *= nTx*nRx*(numSubbands*subbandSize);
2516 tempVal >>= (31 - 16 - 10);
2518 …tdScaling[2 * (jj + ii*nRx)] = (unsigned short)((ifftSizeOsf*ifftSizeOsf << 8) / (tempVal>>2)); //…
2520 …tdScaling[2 * (jj + ii*nRx)] = (unsigned short)((ifftSizeOsf*ifftSizeOsf << 10) / tempVal ); //(1<…
2536 tempVal = *ldPtr;
2538 tempI = tempVal & 0xffff;
2539 tempQ = (tempVal >> 16) & 0xffff;
2540 tempVal = tempI*tempI;
2541 currentSum += tempVal*scaleVal;
2542 tempVal = tempQ*tempQ;
2543 currentSum += tempVal*scaleVal;
2569 unsigned int currentSum, tempVal, currentMax = 0; local
2581 tempVal = *totalpower;
2582 if(tempVal){
2583 tempVal *= numSubbands*subbandSize;
2584 tempVal >>=(31-16-10);
2585 tdScaling[0] = (unsigned short)((ifftSizeOsf*ifftSizeOsf<<10)/tempVal); //(1<<31)
2594 tempVal = *currentValPtr;
2595 tempI = tempVal&0xffff;
2596 tempQ = (tempVal>>16)&0xffff;
2597 tempVal = tempI*tempI;
2598 currentSum = tempVal*scaleVal;
2599 tempVal = tempQ*tempQ;
2600 currentSum += tempVal*scaleVal;
2617 unsigned int y0, ym1, yp1, denominator, peakThresh, tempVal; local
2691 tempVal = (numerator>0)? numerator: (-numerator);
2692 ii = __clz(tempVal);
2694 tempVal<<=TOA_FPATH_BIPT;
2695 delta = tempVal / denominator;
2698 tempVal<<=(ii-1);
2699 delta = tempVal / (denominator>>(TOA_FPATH_BIPT-ii+1));
2722 unsigned int *currentValPtr, tempVal; local
2732 tempVal = currentValPtr[(jj+ii*nRx)*ifftSizeOsf];
2733 destArray[jj+ii*nRx] = tempVal;