Lines Matching defs:tps
176 unsigned int tps = 0;
181 tps |= (1 << 7);
184 tps |= (2 << 7);
187 tps |= (3 << 7);
190 tps |= (4 << 7);
201 tps |= (1 << 4);
204 tps |= (2 << 4);
207 tps |= (3 << 4);
210 tps |= (4 << 4);
228 tps |= (1 << 13);
231 tps |= (2 << 13);
242 tps |= (1 << 0);
253 tps |= (1 << 2);
256 tps |= (2 << 2);
259 tps |= (3 << 2);
270 tps |= (1 << 10);
273 tps |= (2 << 10);
276 tps |= (3 << 10);
285 buf[1] = msb(tps); /* TPS_GIVEN_(1|0) */
286 buf[2] = lsb(tps);
319 u16 tps;
341 tps = (mt352_read_register(state, TPS_RECEIVED_1) << 8) | mt352_read_register(state, TPS_RECEIVED_0);
345 op->code_rate_HP = tps_fec_to_api[(tps >> 7) & 7];
346 op->code_rate_LP = tps_fec_to_api[(tps >> 4) & 7];
348 switch ( (tps >> 13) & 3)
364 op->transmission_mode = (tps & 0x01) ? TRANSMISSION_MODE_8K : TRANSMISSION_MODE_2K;
366 switch ( (tps >> 2) & 3)
385 switch ( (tps >> 10) & 7)