• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hotplug/

Lines Matching refs:rc

260 	u8 rc;
269 rc = 0;
330 rc = HPC_ERROR;
347 rc = HPC_ERROR;
350 debug_polling ("%s Exit rc[%x]\n", __FUNCTION__, rc);
351 return (rc);
393 u8 rc = -ENODEV;
397 rc = 0;
399 return rc;
404 u8 rc;
407 rc = isa_ctrl_read (ctlr, offset);
410 rc = pci_ctrl_read (ctlr, offset);
414 rc = i2c_ctrl_read (ctlr, base, offset);
419 return rc;
424 u8 rc = 0;
430 rc = pci_ctrl_write (ctlr, offset, data);
434 rc = i2c_ctrl_write(ctlr, base, offset, data);
439 return rc;
450 u8 rc;
460 rc = 0x0F;
468 rc = index;
476 rc = index + WPG_1ST_BUS_INDEX - 1;
481 rc = HPC_ERROR;
484 return rc;
496 u8 rc;
500 rc = 0x0F;
504 rc = index;
507 rc = index + WPG_1ST_EXTSLOT_INDEX;
510 rc = index + WPG_1ST_BUS_INDEX - 1;
513 rc = 0x28;
516 rc = 0x25;
519 rc = 0x27;
522 rc = HPC_ERROR;
524 return rc;
543 int rc = 0;
550 rc = -EINVAL;
551 err ("%s - Error invalid pointer, rc[%d]\n", __FUNCTION__, rc);
552 return rc;
558 rc = -EINVAL;
559 err ("%s - Exit Error:invalid bus, rc[%d]\n", __FUNCTION__, rc);
560 return rc;
569 rc = -EINVAL;
570 err ("%s - Exit Error:invalid index, rc[%d]\n", __FUNCTION__, rc);
571 return rc;
587 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
588 if (!rc) {
594 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar,
596 if (!rc)
635 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr,
637 if (!rc) {
639 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT,
641 if (!rc)
647 rc = -EINVAL;
653 rc = -EINVAL;
667 debug_polling ("%s - Exit rc[%d]\n", __FUNCTION__, rc);
668 return rc;
683 int rc = 0;
688 rc = -EINVAL;
689 err ("%s - Error Exit rc[%d]\n", __FUNCTION__, rc);
690 return rc;
698 rc = -EINVAL;
699 err ("%s - Exit Error:invalid bus, rc[%d]\n", __FUNCTION__, rc);
700 return rc;
709 rc = -EINVAL;
710 err ("%s - Error Exit rc[%d]\n", __FUNCTION__, rc);
711 return rc;
731 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar, &status);
732 if (!rc) {
742 rc = hpc_wait_ctlr_notworking (HPC_CTLR_WORKING_TOUT, ctlr_ptr, wpg_bbar,
744 if (!rc) {
756 rc = -EFAULT;
770 debug_polling ("%s - Exit rc[%d]\n", __FUNCTION__, rc);
771 return rc;
825 int rc;
852 rc = ibmphp_hpc_readslot (pslot,
871 rc = ibmphp_hpc_readslot (pslot, READ_ALLSTAT, NULL);
884 rc = ibmphp_hpc_readslot (pslot,
932 int rc = 0;
937 rc = update_slot (pslot, (u8) TRUE);
938 if (!rc) {
961 rc = -EINVAL;
963 rc = -EINVAL;
965 return rc;
977 int rc = 0;
980 rc = ibmphp_hpc_readslot (pslot, READ_ALLSTAT, NULL);
981 debug ("%s - Exit rc[%d]\n", __FUNCTION__, rc);
982 return rc;
1003 int rc = 0;
1045 rc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &status);
1066 rc = ibmphp_disable_slot (pslot->hotplug_slot);
1073 debug ("%s - Exit rc[%d] disable[%x] update[%x]\n", __FUNCTION__, rc, disable, update);
1075 return rc;
1093 int rc = 0;
1104 rc = ibmphp_hpc_readslot (pslot, READ_ALLSTAT, NULL);
1108 rc = -EINVAL;
1113 debug ("%s - Exit rc[%d]\n", __FUNCTION__, rc);
1114 return rc;
1152 int rc = 0;
1159 rc = -1;
1162 debug ("%s - Exit tid_poll[%d] rc[%d]\n", __FUNCTION__, tid_poll, rc);
1163 return rc;
1208 int rc = 0;
1216 rc = HPC_ERROR;
1226 rc = HPC_ERROR;
1231 debug_polling ("hpc_wait_ctlr_notworking - Exit rc[%x] status[%x]\n", rc, *pstatus);
1232 return rc;