Lines Matching defs:tps
162 unsigned int tps = 0;
166 tps |= (1 << 7);
169 tps |= (2 << 7);
172 tps |= (3 << 7);
175 tps |= (4 << 7);
186 tps |= (1 << 4);
189 tps |= (2 << 4);
192 tps |= (3 << 4);
195 tps |= (4 << 4);
214 tps |= (1 << 13);
217 tps |= (2 << 13);
228 tps |= (1 << 0);
239 tps |= (1 << 2);
242 tps |= (2 << 2);
245 tps |= (3 << 2);
256 tps |= (1 << 10);
259 tps |= (2 << 10);
262 tps |= (3 << 10);
271 buf[1] = msb(tps); /* TPS_GIVEN_(1|0) */
272 buf[2] = lsb(tps);
305 u16 tps;
326 tps = (mt352_read_register(state, TPS_RECEIVED_1) << 8) | mt352_read_register(state, TPS_RECEIVED_0);
330 op->code_rate_HP = tps_fec_to_api[(tps >> 7) & 7];
331 op->code_rate_LP = tps_fec_to_api[(tps >> 4) & 7];
333 switch ( (tps >> 13) & 3)
349 op->transmission_mode = (tps & 0x01) ? TRANSMISSION_MODE_8K : TRANSMISSION_MODE_2K;
351 switch ( (tps >> 2) & 3)
370 switch ( (tps >> 10) & 7)