Lines Matching refs:fec
325 static int cx24123_set_fec(struct cx24123_state *state, enum fe_code_rate fec)
329 if (((int)fec < FEC_NONE) || (fec > FEC_AUTO))
330 fec = FEC_AUTO;
333 if (fec == FEC_1_2)
340 switch (fec) {
387 static int cx24123_get_fec(struct cx24123_state *state, enum fe_code_rate *fec)
398 *fec = FEC_1_2;
401 *fec = FEC_2_3;
404 *fec = FEC_3_4;
407 *fec = FEC_4_5;
410 *fec = FEC_5_6;
413 *fec = FEC_6_7;
416 *fec = FEC_7_8;
420 *fec = FEC_NONE;
947 err("%s: Failed to get fec status\n", __func__);