Lines Matching refs:err_code

1607     ushort              err_code;  member
3107 ushort err_code; /* fatal error code */ member
4595 int warn_code, err_code; in ASC_INITFUNC() local
5070 if ((err_code = asc_dvc_varp->err_code) != 0) { in ASC_INITFUNC()
5074 asc_dvc_varp->err_code); in ASC_INITFUNC()
5082 if ((err_code = adv_dvc_varp->err_code) != 0) { in ASC_INITFUNC()
5085 boardp->id, adv_dvc_varp->err_code); in ASC_INITFUNC()
5089 if (err_code != 0) { in ASC_INITFUNC()
5173 if (asc_dvc_varp->err_code != 0) { in ASC_INITFUNC()
5177 asc_dvc_varp->err_code); in ASC_INITFUNC()
5544 err_code = asc_dvc_varp->err_code; in ASC_INITFUNC()
5546 if (warn_code || err_code) { in ASC_INITFUNC()
5550 warn_code, err_code); in ASC_INITFUNC()
5630 err_code = ADV_ERROR; in ASC_INITFUNC()
5636 err_code = ADV_ERROR; in ASC_INITFUNC()
5643 err_code = ADV_ERROR; in ASC_INITFUNC()
5682 err_code = adv_dvc_varp->err_code; in ASC_INITFUNC()
5684 if (warn_code || err_code) { in ASC_INITFUNC()
5687 boardp->id, warn_code, err_code); in ASC_INITFUNC()
5692 if (err_code != 0) { in ASC_INITFUNC()
6045 if (asc_dvc_varp->err_code) { in advansys_reset()
6048 boardp->id, asc_dvc_varp->err_code); in advansys_reset()
6589 boardp->id, asc_dvc_varp->err_code); in asc_execute_scsi_cmnd()
6597 boardp->id, asc_dvc_varp->err_code); in asc_execute_scsi_cmnd()
6669 boardp->id, adv_dvc_varp->err_code); in asc_execute_scsi_cmnd()
6677 boardp->id, adv_dvc_varp->err_code); in asc_execute_scsi_cmnd()
8557 c->mcode_version, v->err_code); in asc_prt_asc_board_info()
8747 v->err_code); in asc_prt_adv_board_info()
9564 h->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl); in asc_prt_asc_dvc_var()
9693 (ulong) h->iop_base, h->err_code, (unsigned) h->ultra_able); in asc_prt_adv_dvc_var()
11162 if (asc_dvc->err_code != 0) in AscExeScsiQueue()
11766 ushort err_code in AscSetLibErrorCode() argument
11769 if (asc_dvc->err_code == 0) { in AscSetLibErrorCode()
11770 asc_dvc->err_code = err_code; in AscSetLibErrorCode()
11772 err_code); in AscSetLibErrorCode()
11774 return (err_code); in AscSetLibErrorCode()
12310 if (asc_dvc->err_code != 0) { in ASC_INITFUNC()
12373 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in ASC_INITFUNC()
12388 if (asc_dvc->err_code != 0) in ASC_INITFUNC()
12394 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in ASC_INITFUNC()
12431 asc_dvc->err_code |= ASC_IERR_SET_IRQ_NO; in ASC_INITFUNC()
12453 asc_dvc->err_code |= ASC_IERR_SET_SCSI_ID; in ASC_INITFUNC()
12481 if (asc_dvc->err_code != 0) in AscInitAsc1000Driver()
12484 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AscInitAsc1000Driver()
12489 if (asc_dvc->err_code != 0) in AscInitAsc1000Driver()
12495 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AscInitAsc1000Driver()
12518 asc_dvc->err_code = 0; in ASC_INITFUNC()
12521 asc_dvc->err_code |= ASC_IERR_NO_BUS_TYPE; in ASC_INITFUNC()
12647 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP; in ASC_INITFUNC()
12652 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR; in ASC_INITFUNC()
12829 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR; in AscInitMicroCodeVar()
12833 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP; in AscInitMicroCodeVar()
14935 asc_dvc->err_code = 0; in ASC_INITFUNC()
15009 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in ASC_INITFUNC()
15020 asc_dvc->err_code |= ASC_IERR_BAD_CHIPTYPE; in ASC_INITFUNC()
15092 if (asc_dvc->err_code != 0) in AdvInitAsc3550Driver()
15102 asc_dvc->err_code |= ASC_IERR_BAD_CHIPTYPE; in AdvInitAsc3550Driver()
15227 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AdvInitAsc3550Driver()
15386 asc_dvc->err_code |= ASC_IERR_ILLEGAL_CONNECTION; in AdvInitAsc3550Driver()
15397 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE; in AdvInitAsc3550Driver()
15407 asc_dvc->err_code |= ASC_IERR_SINGLE_END_DEVICE; in AdvInitAsc3550Driver()
15550 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc3550Driver()
15571 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc3550Driver()
15673 if (asc_dvc->err_code != 0) in AdvInitAsc38C0800Driver()
15683 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE; in AdvInitAsc38C0800Driver()
15751 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C0800Driver()
15760 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C0800Driver()
15780 asc_dvc->err_code |= ASC_IERR_BIST_RAM_TEST; in AdvInitAsc38C0800Driver()
15872 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AdvInitAsc38C0800Driver()
16004 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE; in AdvInitAsc38C0800Driver()
16019 asc_dvc->err_code |= ASC_IERR_HVD_DEVICE; in AdvInitAsc38C0800Driver()
16172 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C0800Driver()
16194 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C0800Driver()
16298 if (asc_dvc->err_code != 0) in AdvInitAsc38C1600Driver()
16308 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE; in AdvInitAsc38C1600Driver()
16377 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C1600Driver()
16386 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C1600Driver()
16406 asc_dvc->err_code |= ASC_IERR_BIST_RAM_TEST; in AdvInitAsc38C1600Driver()
16494 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AdvInitAsc38C1600Driver()
16636 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE; in AdvInitAsc38C1600Driver()
16650 asc_dvc->err_code |= ASC_IERR_HVD_DEVICE; in AdvInitAsc38C1600Driver()
16808 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C1600Driver()
16833 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C1600Driver()
18218 asc_dvc->err_code = 0; in AdvResetChipAndSB()