Lines Matching refs:regsym
2108 u32 regsym; in stv0367cab_GetSymbolRate() local
2111 regsym = stv0367_readreg(state, R367CAB_SRC_NCO_LL) + in stv0367cab_GetSymbolRate()
2118 if (regsym < 134217728) { /* 134217728L = 2**27*/ in stv0367cab_GetSymbolRate()
2119 regsym = regsym * 32; /* 32 = 2**5 */ in stv0367cab_GetSymbolRate()
2120 regsym = regsym / 32768; /* 32768L = 2**15 */ in stv0367cab_GetSymbolRate()
2121 regsym = adp_khz * regsym; /* AdpClk in kHz */ in stv0367cab_GetSymbolRate()
2122 regsym = regsym / 128; /* 128 = 2**7 */ in stv0367cab_GetSymbolRate()
2123 regsym *= 125 ; /* 125 = 1000/2**3 */ in stv0367cab_GetSymbolRate()
2124 regsym /= 2048 ; /* 2048 = 2**11 */ in stv0367cab_GetSymbolRate()
2125 } else if (regsym < 268435456) { /* 268435456L = 2**28 */ in stv0367cab_GetSymbolRate()
2126 regsym = regsym * 16; /* 16 = 2**4 */ in stv0367cab_GetSymbolRate()
2127 regsym = regsym / 32768; /* 32768L = 2**15 */ in stv0367cab_GetSymbolRate()
2128 regsym = adp_khz * regsym; /* AdpClk in kHz */ in stv0367cab_GetSymbolRate()
2129 regsym = regsym / 128; /* 128 = 2**7 */ in stv0367cab_GetSymbolRate()
2130 regsym *= 125 ; /* 125 = 1000/2**3*/ in stv0367cab_GetSymbolRate()
2131 regsym /= 1024 ; /* 256 = 2**10*/ in stv0367cab_GetSymbolRate()
2132 } else if (regsym < 536870912) { /* 536870912L = 2**29*/ in stv0367cab_GetSymbolRate()
2133 regsym = regsym * 8; /* 8 = 2**3 */ in stv0367cab_GetSymbolRate()
2134 regsym = regsym / 32768; /* 32768L = 2**15 */ in stv0367cab_GetSymbolRate()
2135 regsym = adp_khz * regsym; /* AdpClk in kHz */ in stv0367cab_GetSymbolRate()
2136 regsym = regsym / 128; /* 128 = 2**7 */ in stv0367cab_GetSymbolRate()
2137 regsym *= 125 ; /* 125 = 1000/2**3 */ in stv0367cab_GetSymbolRate()
2138 regsym /= 512 ; /* 128 = 2**9 */ in stv0367cab_GetSymbolRate()
2140 regsym = regsym * 4; /* 4 = 2**2 */ in stv0367cab_GetSymbolRate()
2141 regsym = regsym / 32768; /* 32768L = 2**15 */ in stv0367cab_GetSymbolRate()
2142 regsym = adp_khz * regsym; /* AdpClk in kHz */ in stv0367cab_GetSymbolRate()
2143 regsym = regsym / 128; /* 128 = 2**7 */ in stv0367cab_GetSymbolRate()
2144 regsym *= 125 ; /* 125 = 1000/2**3 */ in stv0367cab_GetSymbolRate()
2145 regsym /= 256 ; /* 64 = 2**8 */ in stv0367cab_GetSymbolRate()
2148 return regsym; in stv0367cab_GetSymbolRate()