Lines Matching refs:u32Diff
2728 MS_U32 u32Pcr = 0, u32Pcr_H = 0, u32Diff = 0, u32STC = 0; in _TSP_PCR_Adjust() local
2756 u32Diff = _u32PrevStcBase[u32EngId] - u32Pcr; in _TSP_PCR_Adjust()
2757 if( u32Diff <= 0x02) in _TSP_PCR_Adjust()
2761 else if( u32Diff < 0x1000) in _TSP_PCR_Adjust()
2763 …_u32PrevPllControl[u32EngId] += ((u32Diff) >> 3 ); //now = error x alpha + pr… in _TSP_PCR_Adjust()
2764 …HAL_TSP_Stc_ctrl(u32EngId, _u32PrevPllControl[u32EngId] + ((u32Diff)>>6)); //out = now + er… in _TSP_PCR_Adjust()
2776 u32Diff = u32Pcr - _u32PrevStcBase[u32EngId] ; in _TSP_PCR_Adjust()
2777 if(( u32Diff) <= 0x02) in _TSP_PCR_Adjust()
2781 else if((u32Diff) < 0x1000) in _TSP_PCR_Adjust()
2783 … _u32PrevPllControl[u32EngId] -= ((u32Diff)>> 3); //now = error x alpha + prev in _TSP_PCR_Adjust()
2784 …HAL_TSP_Stc_ctrl(u32EngId, _u32PrevPllControl[u32EngId] - ((u32Diff)>> 6)); //out = now + e… in _TSP_PCR_Adjust()