Lines Matching refs:regsym
2094 u32 regsym; in stv0367cab_GetSymbolRate() local
2097 regsym = stv0367_readreg(state, R367CAB_SRC_NCO_LL) + in stv0367cab_GetSymbolRate()
2104 if (regsym < 134217728) { /* 134217728L = 2**27*/ in stv0367cab_GetSymbolRate()
2105 regsym = regsym * 32; /* 32 = 2**5 */ in stv0367cab_GetSymbolRate()
2106 regsym = regsym / 32768; /* 32768L = 2**15 */ in stv0367cab_GetSymbolRate()
2107 regsym = adp_khz * regsym; /* AdpClk in kHz */ in stv0367cab_GetSymbolRate()
2108 regsym = regsym / 128; /* 128 = 2**7 */ in stv0367cab_GetSymbolRate()
2109 regsym *= 125 ; /* 125 = 1000/2**3 */ in stv0367cab_GetSymbolRate()
2110 regsym /= 2048 ; /* 2048 = 2**11 */ in stv0367cab_GetSymbolRate()
2111 } else if (regsym < 268435456) { /* 268435456L = 2**28 */ in stv0367cab_GetSymbolRate()
2112 regsym = regsym * 16; /* 16 = 2**4 */ in stv0367cab_GetSymbolRate()
2113 regsym = regsym / 32768; /* 32768L = 2**15 */ in stv0367cab_GetSymbolRate()
2114 regsym = adp_khz * regsym; /* AdpClk in kHz */ in stv0367cab_GetSymbolRate()
2115 regsym = regsym / 128; /* 128 = 2**7 */ in stv0367cab_GetSymbolRate()
2116 regsym *= 125 ; /* 125 = 1000/2**3*/ in stv0367cab_GetSymbolRate()
2117 regsym /= 1024 ; /* 256 = 2**10*/ in stv0367cab_GetSymbolRate()
2118 } else if (regsym < 536870912) { /* 536870912L = 2**29*/ in stv0367cab_GetSymbolRate()
2119 regsym = regsym * 8; /* 8 = 2**3 */ 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 /= 512 ; /* 128 = 2**9 */ in stv0367cab_GetSymbolRate()
2126 regsym = regsym * 4; /* 4 = 2**2 */ 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 /= 256 ; /* 64 = 2**8 */ in stv0367cab_GetSymbolRate()
2134 return regsym; in stv0367cab_GetSymbolRate()