Home
last modified time | relevance | path

Searched refs:derot (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv0900_sw.c1128 s32 derot, in stv0900_get_carr_freq() local
1134 derot = (stv0900_get_bits(intp, CAR_FREQ2) << 16) + in stv0900_get_carr_freq()
1138 derot = ge2comp(derot, 24); in stv0900_get_carr_freq()
1140 intval2 = derot >> 12; in stv0900_get_carr_freq()
1142 rem2 = derot % 0x1000; in stv0900_get_carr_freq()
1143 derot = (intval1 * intval2) + in stv0900_get_carr_freq()
1147 return derot; in stv0900_get_carr_freq()
H A Dstv090x.c2522 s32 derot, int_1, int_2, tmp_1, tmp_2; in stv090x_get_car_freq() local
2524 derot = STV090x_READ_DEMOD(state, CFR2) << 16; in stv090x_get_car_freq()
2525 derot |= STV090x_READ_DEMOD(state, CFR1) << 8; in stv090x_get_car_freq()
2526 derot |= STV090x_READ_DEMOD(state, CFR0); in stv090x_get_car_freq()
2528 derot = comp2(derot, 24); in stv090x_get_car_freq()
2530 int_2 = derot >> 12; in stv090x_get_car_freq()
2534 tmp_2 = derot % 0x1000; in stv090x_get_car_freq()
2536 derot = (int_1 * int_2) + in stv090x_get_car_freq()
2540 return derot; in stv090x_get_car_freq()