• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/dvb-core/

Lines Matching refs:status

198  * Check CAM status.
263 /* read the status and check for error */
416 int status;
425 if ((status =
427 return status;
434 if ((status =
436 return status;
443 if ((status =
445 return status;
452 if ((status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tupleType,
454 return status;
465 if ((status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tupleType,
467 return status;
498 if ((status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tupleType,
500 return status;
590 int status;
601 status = -EIO;
607 status = -EAGAIN;
613 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS)) < 0)
615 if (!(status & STATUSREG_DA)) {
617 status = 0;
622 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_SIZE_HIGH)) < 0)
624 bytes_read = status << 8;
625 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_SIZE_LOW)) < 0)
627 bytes_read |= status;
635 status = -EIO;
642 status = -EIO;
649 status = -EIO;
657 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_DATA)) < 0)
661 buf[i] = status;
665 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS)) < 0)
667 if (status & STATUSREG_RE) {
669 status = -EIO;
676 status = -EIO;
691 status = bytes_read;
694 return status;
712 int status;
726 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS)) < 0)
728 if (status & (STATUSREG_DA | STATUSREG_RE)) {
729 if (status & STATUSREG_DA)
732 status = -EAGAIN;
737 if ((status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND,
742 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS)) < 0)
744 if (!(status & STATUSREG_FR)) {
746 status = -EAGAIN;
751 if ((status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_HIGH, bytes_write >> 8)) != 0)
753 if ((status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_LOW,
759 if ((status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_DATA, buf[i])) != 0)
764 if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS)) < 0)
766 if (status & STATUSREG_WE) {
768 status = -EIO;
771 status = bytes_write;
780 return status;
977 int status;
1002 // check the cam status + deal with CAMCHANGEs
1047 status = ca->pub->poll_slot_status(ca->pub, slot, 0);
1048 if (!(status & DVB_CA_EN50221_POLL_CAM_PRESENT)) {
1104 status = ca->pub->poll_slot_status(ca->pub, slot, 0);
1105 if (!(status & DVB_CA_EN50221_POLL_CAM_PRESENT)) {
1141 while ((status = dvb_ca_en50221_read_data(ca, slot, NULL, 0)) > 0) {
1288 int status;
1321 status = copy_from_user(fragbuf + 2, buf + fragpos, fraglen);
1322 if (status) {
1323 status = -EFAULT;
1332 status = -EIO;
1337 status = dvb_ca_en50221_write_data(ca, slot, fragbuf, fraglen + 2);
1339 if (status == (fraglen + 2)) {
1343 if (status != -EAGAIN)
1349 status = -EIO;
1355 status = count + 2;
1358 return status;
1424 int status;
1442 if ((status = dvb_ca_en50221_io_read_condition(ca, &result, &slot)) == 0) {
1449 status = wait_event_interruptible(ca->wait_queue,
1453 if ((status < 0) || (result < 0)) {
1456 return status;
1464 status = -EIO;
1479 if ((status = dvb_ringbuffer_pkt_read_user(&ca->slot_info[slot].rx_buffer, idx, 2,
1500 status = copy_to_user(buf, hdr, 2);
1501 if (status) {
1502 status = -EFAULT;
1505 status = pktlen;
1508 return status;