Lines Matching refs:Errors
1498 u32 Errors = 0, tber = 0, temporary = 0;
1504 Errors = ((u32)stv0367_readbits(state, F367TER_SFEC_ERR_CNT)
1519 if (Errors == 0) {
1522 if (Errors <= 4) {
1523 temporary = (Errors * 1000000000) / (8 * (1 << 14));
1524 } else if (Errors <= 42) {
1525 temporary = (Errors * 100000000) / (8 * (1 << 14));
1527 } else if (Errors <= 429) {
1528 temporary = (Errors * 10000000) / (8 * (1 << 14));
1530 } else if (Errors <= 4294) {
1531 temporary = (Errors * 1000000) / (8 * (1 << 14));
1533 } else if (Errors <= 42949) {
1534 temporary = (Errors * 100000) / (8 * (1 << 14));
1536 } else if (Errors <= 429496) {
1537 temporary = (Errors * 10000) / (8 * (1 << 14));
1539 } else { /*if (Errors<4294967) 2^22 max error*/
1540 temporary = (Errors * 1000) / (8 * (1 << 14));
1546 /*tber=Errors/(8*(1 <<14));*/
1549 /*tber=Errors/(8*(1 <<16));*/
1552 /*tber=Errors/(8*(1 <<18));*/
1555 /*tber=Errors/(8*(1 <<20));*/
1558 /*tber=Errors/(8*(1 <<22));*/
1564 if ((Errors < 4294967) && (Errors > 429496))
1580 u32 Errors = 0, Per = 0, temporary = 0;
1584 (cpt < 400)) || ((Errors == 0) && (cpt < 400))) {
1586 Errors = ((u32)stv0367_readbits(state, F367TER_ERR_CNT1)
1596 if (Errors == 0)
1599 if (Errors <= 4) {
1600 temporary = (Errors * 1000000000) / (8 * (1 << 8));
1601 } else if (Errors <= 42) {
1602 temporary = (Errors * 100000000) / (8 * (1 << 8));
1604 } else if (Errors <= 429) {
1605 temporary = (Errors * 10000000) / (8 * (1 << 8));
1607 } else if (Errors <= 4294) {
1608 temporary = (Errors * 1000000) / (8 * (1 << 8));
1610 } else if (Errors <= 42949) {
1611 temporary = (Errors * 100000) / (8 * (1 << 8));
1613 } else { /*if(Errors<=429496) 2^16 errors max*/
1614 temporary = (Errors * 10000) / (8 * (1 << 8));
1620 /*Per=Errors/(1 << 8);*/
1623 /*Per=Errors/(1 << 10);*/
1626 /*Per=Errors/(1 << 12);*/
1629 /*Per=Errors/(1 << 14);*/
1632 /*Per=Errors/(1 << 16);*/