/linux-2.6.39/drivers/media/dvb/frontends/ |
D | ec100.c | 35 u16 ber; member 203 static int ec100_read_ber(struct dvb_frontend *fe, u32 *ber) in ec100_read_ber() argument 210 *ber = 0; in ec100_read_ber() 222 if (ber2 < state->ber) in ec100_read_ber() 223 *ber = ber2; in ec100_read_ber() 225 *ber = ber2 - state->ber; in ec100_read_ber() 227 state->ber = ber2; in ec100_read_ber()
|
D | ves1x93.c | 340 static int ves1x93_read_ber(struct dvb_frontend* fe, u32* ber) in ves1x93_read_ber() argument 344 *ber = ves1x93_readreg (state, 0x15); in ves1x93_read_ber() 345 *ber |= (ves1x93_readreg (state, 0x16) << 8); in ves1x93_read_ber() 346 *ber |= ((ves1x93_readreg (state, 0x17) & 0x0F) << 16); in ves1x93_read_ber() 347 *ber *= 10; in ves1x93_read_ber()
|
D | stv0900_core.c | 791 u32 ber = 10000000, i; in stv0900_get_ber() local 800 ber = 10000000; in stv0900_get_ber() 803 ber = 0; in stv0900_get_ber() 806 ber += stv0900_get_err_count(intp, 0, demod); in stv0900_get_ber() 809 ber /= 5; in stv0900_get_ber() 811 ber *= 9766; in stv0900_get_ber() 812 ber = ber >> 13; in stv0900_get_ber() 817 ber = 0; in stv0900_get_ber() 820 ber += stv0900_get_err_count(intp, 0, demod); in stv0900_get_ber() 823 ber /= 5; in stv0900_get_ber() [all …]
|
D | sp887x.c | 440 static int sp887x_read_ber(struct dvb_frontend* fe, u32* ber) in sp887x_read_ber() argument 444 *ber = (sp887x_readreg(state, 0xc08) & 0x3f) | in sp887x_read_ber() 448 if (*ber >= 0x3fff0) in sp887x_read_ber() 449 *ber = ~0; in sp887x_read_ber()
|
D | tda10086.c | 624 static int tda10086_read_ber(struct dvb_frontend* fe, u32* ber) in tda10086_read_ber() argument 631 *ber = 0; in tda10086_read_ber() 632 *ber |= tda10086_read_byte(state, 0x15); in tda10086_read_ber() 633 *ber |= tda10086_read_byte(state, 0x16) << 8; in tda10086_read_ber() 634 *ber |= (tda10086_read_byte(state, 0x17) & 0xf) << 16; in tda10086_read_ber()
|
D | stb0899_drv.c | 1130 static int stb0899_read_ber(struct dvb_frontend *fe, u32 *ber) in stb0899_read_ber() argument 1138 *ber = 0; in stb0899_read_ber() 1149 *ber += MAKEWORD16(msb, lsb); in stb0899_read_ber() 1151 *ber /= 5; in stb0899_read_ber() 1155 *ber *= 9766; in stb0899_read_ber() 1157 *ber /= (-1 + (1 << (2 * STB0899_GETFIELD(NOE, internal->err_ctrl)))); in stb0899_read_ber() 1158 *ber /= 8; in stb0899_read_ber() 1169 *ber += MAKEWORD16(msb, lsb); in stb0899_read_ber() 1172 *ber *= 10000000; in stb0899_read_ber() 1173 *ber /= (-1 + (1 << (4 + 2 * STB0899_GETFIELD(NOE, internal->err_ctrl)))); in stb0899_read_ber()
|
D | dvb_dummy_fe.c | 47 static int dvb_dummy_fe_read_ber(struct dvb_frontend* fe, u32* ber) in dvb_dummy_fe_read_ber() argument 49 *ber = 0; in dvb_dummy_fe_read_ber()
|
D | stv0288.c | 382 static int stv0288_read_ber(struct dvb_frontend *fe, u32 *ber) in stv0288_read_ber() argument 388 *ber = (stv0288_readreg(state, 0x26) << 8) | in stv0288_read_ber() 390 dprintk("stv0288_read_ber %d\n", *ber); in stv0288_read_ber()
|
D | sp8870.c | 379 static int sp8870_read_ber (struct dvb_frontend* fe, u32 * ber) in sp8870_read_ber() argument 385 *ber = 0; in sp8870_read_ber() 402 *ber = tmp; in sp8870_read_ber()
|
D | mb86a16.c | 1657 static int mb86a16_read_ber(struct dvb_frontend *fe, u32 *ber) in mb86a16_read_ber() argument 1664 *ber = 0; in mb86a16_read_ber() 1678 *ber = ber_tab & 0x1f; in mb86a16_read_ber() 1679 dprintk(verbose, MB86A16_DEBUG, 1, "BER coarse=[0x%02x]", *ber); in mb86a16_read_ber() 1688 *ber = (((ber_msb << 8) | ber_mid) << 8) | ber_lsb; in mb86a16_read_ber() 1698 *ber /= timer; in mb86a16_read_ber() 1699 dprintk(verbose, MB86A16_DEBUG, 1, "BER fine=[0x%02x]", *ber); in mb86a16_read_ber() 1708 *ber = (((ber_msb << 8) | ber_mid) << 8) | ber_lsb; in mb86a16_read_ber() 1714 *ber /= 2 ^ timer; in mb86a16_read_ber() 1715 dprintk(verbose, MB86A16_DEBUG, 1, "BER fine=[0x%02x]", *ber); in mb86a16_read_ber()
|
D | atbm8830.c | 361 static int atbm8830_read_ber(struct dvb_frontend *fe, u32 *ber) in atbm8830_read_ber() argument 379 *ber = frame_err * 100 / 32767; in atbm8830_read_ber() 381 dprintk("%s: ber=0x%x\n", __func__, *ber); in atbm8830_read_ber()
|
D | cx22702.c | 484 static int cx22702_read_ber(struct dvb_frontend *fe, u32 *ber) in cx22702_read_ber() argument 490 *ber = (cx22702_readreg(state, 0xDE) & 0x7F) << 7 in cx22702_read_ber() 494 *ber = (cx22702_readreg(state, 0xDE) & 0x7F) << 7 in cx22702_read_ber()
|
D | ds3000.c | 515 static int ds3000_read_ber(struct dvb_frontend *fe, u32* ber) in ds3000_read_ber() argument 536 *ber = (ds3000_readreg(state, 0xf7) << 8) | in ds3000_read_ber() 547 *ber = 0xffffffff; in ds3000_read_ber() 566 *ber = ber_reading; in ds3000_read_ber() 570 *ber = 0xffffffff; in ds3000_read_ber()
|
D | lgs8gl5.c | 274 lgs8gl5_read_ber(struct dvb_frontend *fe, u32 *ber) in lgs8gl5_read_ber() argument 276 *ber = 0; in lgs8gl5_read_ber()
|
D | af9013.c | 48 u32 ber; member 824 state->ber = 0; in af9013_update_ber_unc() 861 state->ber = error_bit_count * 1000000000 / total_bit_count; in af9013_update_ber_unc() 1093 static int af9013_read_ber(struct dvb_frontend *fe, u32 *ber) in af9013_read_ber() argument 1098 *ber = state->ber; in af9013_read_ber()
|
D | tda8083.c | 273 static int tda8083_read_ber(struct dvb_frontend* fe, u32* ber) in tda8083_read_ber() argument 282 *ber = ((buf[0] & 0x1f) << 16) | (buf[1] << 8) | buf[2]; in tda8083_read_ber()
|
/linux-2.6.39/drivers/media/dvb/firewire/ |
D | firedtv-fe.c | 102 static int fdtv_read_ber(struct dvb_frontend *fe, u32 *ber) in fdtv_read_ber() argument 110 *ber = stat.ber; in fdtv_read_ber()
|
/linux-2.6.39/drivers/net/skfp/ |
D | pcmplc.c | 1079 int ber ; in lem_evaluate() local 1105 if (!errors) ber = 15 ; in lem_evaluate() 1106 else if (errors <= 9) ber = 9 ; in lem_evaluate() 1107 else if (errors <= 99) ber = 8 ; in lem_evaluate() 1108 else if (errors <= 999) ber = 7 ; in lem_evaluate() 1109 else if (errors <= 9999) ber = 6 ; in lem_evaluate() 1110 else if (errors <= 99999) ber = 5 ; in lem_evaluate() 1111 else if (errors <= 999999) ber = 4 ; in lem_evaluate() 1112 else if (errors <= 9999999) ber = 3 ; in lem_evaluate() 1113 else if (errors <= 99999999) ber = 2 ; in lem_evaluate() [all …]
|
/linux-2.6.39/drivers/media/dvb/dvb-usb/ |
D | vp7045-fe.c | 55 static int vp7045_fe_read_ber(struct dvb_frontend* fe, u32 *ber) in vp7045_fe_read_ber() argument 58 *ber = (vp7045_read_reg(state->d, 0x0D) << 16) | in vp7045_fe_read_ber()
|
D | dtt200u-fe.c | 46 static int dtt200u_fe_read_ber(struct dvb_frontend* fe, u32 *ber) in dtt200u_fe_read_ber() argument 51 *ber = (b[0] << 16) | (b[1] << 8) | b[2]; in dtt200u_fe_read_ber()
|
D | cinergyT2-fe.c | 178 static int cinergyt2_fe_read_ber(struct dvb_frontend *fe, u32 *ber) in cinergyt2_fe_read_ber() argument 190 *ber = le32_to_cpu(status.viterbi_error_rate); in cinergyt2_fe_read_ber()
|
D | af9005-fe.c | 50 u32 ber; member 410 state->ber = do_div(numerator, denominator); in af9005_get_statistic() 412 state->ber = 0xffffffff; in af9005_get_statistic() 491 static int af9005_fe_read_ber(struct dvb_frontend *fe, u32 * ber) in af9005_fe_read_ber() argument 497 *ber = state->ber; in af9005_fe_read_ber() 1219 state->ber = 0; in af9005_fe_set_frontend()
|
D | vp702x-fe.c | 85 static int vp702x_fe_read_ber(struct dvb_frontend* fe, u32 *ber) in vp702x_fe_read_ber() argument 89 *ber = 0; in vp702x_fe_read_ber()
|
D | gp8psk-fe.c | 72 static int gp8psk_fe_read_ber(struct dvb_frontend* fe, u32 *ber) in gp8psk_fe_read_ber() argument 75 *ber = 0; in gp8psk_fe_read_ber()
|
D | technisat-usb2.c | 307 u32 ber; in technisat_usb2_green_led_control() local 309 if (fe->ops.read_ber(fe, &ber) != 0) in technisat_usb2_green_led_control() 312 if (ber > 1000) in technisat_usb2_green_led_control()
|