• Home
  • Raw
  • Download

Lines Matching refs:err_code

559 	ushort err_code;  member
1919 ushort err_code; /* fatal error code */ member
2408 "%d,\n", h->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl); in asc_prt_asc_dvc_var()
2465 (ulong)h->iop_base, h->err_code, (unsigned)h->ultra_able); in asc_prt_adv_dvc_var()
3400 v->err_code); in asc_prt_asc_board_info()
3544 v->err_code); in asc_prt_adv_board_info()
4251 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR; in AscInitMicroCodeVar()
4256 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP; in AscInitMicroCodeVar()
4288 if (asc_dvc->err_code != 0) in AscInitAsc1000Driver()
4291 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AscInitAsc1000Driver()
4296 if (asc_dvc->err_code != 0) in AscInitAsc1000Driver()
4303 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AscInitAsc1000Driver()
4310 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AscInitAsc1000Driver()
4318 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM; in AscInitAsc1000Driver()
4581 if (asc_dvc->err_code != 0) in AdvInitAsc3550Driver()
4588 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE; in AdvInitAsc3550Driver()
4636 asc_dvc->err_code = ASC_IERR_MCODE_CHKSUM; in AdvInitAsc3550Driver()
4643 asc_dvc->err_code = ASC_IERR_MCODE_CHKSUM; in AdvInitAsc3550Driver()
4648 asc_dvc->err_code = AdvLoadMicrocode(iop_base, &fw->data[4], in AdvInitAsc3550Driver()
4652 if (asc_dvc->err_code) in AdvInitAsc3550Driver()
4804 asc_dvc->err_code |= ASC_IERR_ILLEGAL_CONNECTION; in AdvInitAsc3550Driver()
4814 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE; in AdvInitAsc3550Driver()
4823 asc_dvc->err_code |= ASC_IERR_SINGLE_END_DEVICE; in AdvInitAsc3550Driver()
4924 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc3550Driver()
4944 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc3550Driver()
5041 if (asc_dvc->err_code != 0) in AdvInitAsc38C0800Driver()
5048 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE; in AdvInitAsc38C0800Driver()
5114 asc_dvc->err_code = ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C0800Driver()
5122 asc_dvc->err_code = ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C0800Driver()
5141 asc_dvc->err_code = ASC_IERR_BIST_RAM_TEST; in AdvInitAsc38C0800Driver()
5152 asc_dvc->err_code = ASC_IERR_MCODE_CHKSUM; in AdvInitAsc38C0800Driver()
5159 asc_dvc->err_code = ASC_IERR_MCODE_CHKSUM; in AdvInitAsc38C0800Driver()
5164 asc_dvc->err_code = AdvLoadMicrocode(iop_base, &fw->data[4], in AdvInitAsc38C0800Driver()
5168 if (asc_dvc->err_code) in AdvInitAsc38C0800Driver()
5302 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE; in AdvInitAsc38C0800Driver()
5318 asc_dvc->err_code = ASC_IERR_HVD_DEVICE; in AdvInitAsc38C0800Driver()
5421 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C0800Driver()
5442 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C0800Driver()
5541 if (asc_dvc->err_code != 0) { in AdvInitAsc38C1600Driver()
5549 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE; in AdvInitAsc38C1600Driver()
5616 asc_dvc->err_code = ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C1600Driver()
5624 asc_dvc->err_code = ASC_IERR_BIST_PRE_TEST; in AdvInitAsc38C1600Driver()
5643 asc_dvc->err_code = ASC_IERR_BIST_RAM_TEST; in AdvInitAsc38C1600Driver()
5654 asc_dvc->err_code = ASC_IERR_MCODE_CHKSUM; in AdvInitAsc38C1600Driver()
5661 asc_dvc->err_code = ASC_IERR_MCODE_CHKSUM; in AdvInitAsc38C1600Driver()
5666 asc_dvc->err_code = AdvLoadMicrocode(iop_base, &fw->data[4], in AdvInitAsc38C1600Driver()
5670 if (asc_dvc->err_code) in AdvInitAsc38C1600Driver()
5812 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE; in AdvInitAsc38C1600Driver()
5825 asc_dvc->err_code |= ASC_IERR_HVD_DEVICE; in AdvInitAsc38C1600Driver()
5931 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C1600Driver()
5955 asc_dvc->err_code |= ASC_IERR_NO_CARRIER; in AdvInitAsc38C1600Driver()
6074 asc_dvc->err_code = 0; in AdvResetChipAndSB()
6439 static int AscSetLibErrorCode(ASC_DVC_VAR *asc_dvc, ushort err_code) in AscSetLibErrorCode() argument
6441 if (asc_dvc->err_code == 0) { in AscSetLibErrorCode()
6442 asc_dvc->err_code = err_code; in AscSetLibErrorCode()
6444 err_code); in AscSetLibErrorCode()
6446 return err_code; in AscSetLibErrorCode()
7502 if (asc_dvc->err_code || !asc_dvc->overrun_dma) { in advansys_reset()
7504 "0x%x, status: 0x%x\n", asc_dvc->err_code, in advansys_reset()
8592 if (asc_dvc->err_code != 0) in AscExeScsiQueue()
8924 int ret, err_code; in asc_execute_scsi_cmnd() local
8942 err_code = asc_dvc->err_code; in asc_execute_scsi_cmnd()
8968 err_code = adv_dvc->err_code; in asc_execute_scsi_cmnd()
8986 "err_code 0x%x\n", err_code); in asc_execute_scsi_cmnd()
8992 "err_code 0x%x\n", err_code); in asc_execute_scsi_cmnd()
9218 asc_dvc->err_code = 0; in AscInitAscDvcVar()
9221 asc_dvc->err_code |= ASC_IERR_NO_BUS_TYPE; in AscInitAscDvcVar()
9581 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP; in AscInitFromEEP()
9586 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR; in AscInitFromEEP()
9731 if (asc_dvc->err_code != 0) in AscInitGetConfig()
9732 return asc_dvc->err_code; in AscInitGetConfig()
9741 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AscInitGetConfig()
9771 if (asc_dvc->err_code != 0) in AscInitGetConfig()
9773 "0x%x\n", asc_dvc->err_code, asc_dvc->init_state); in AscInitGetConfig()
9775 return asc_dvc->err_code; in AscInitGetConfig()
9787 if (asc_dvc->err_code != 0) in AscInitSetConfig()
9788 return asc_dvc->err_code; in AscInitSetConfig()
9790 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AscInitSetConfig()
9791 return asc_dvc->err_code; in AscInitSetConfig()
9831 asc_dvc->err_code |= ASC_IERR_SET_SCSI_ID; in AscInitSetConfig()
9869 if (asc_dvc->err_code != 0) in AscInitSetConfig()
9871 "0x%x\n", asc_dvc->err_code, asc_dvc->init_state); in AscInitSetConfig()
9873 return asc_dvc->err_code; in AscInitSetConfig()
11179 asc_dvc->err_code = 0; in AdvInitGetConfig()
11207 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE; in AdvInitGetConfig()
11216 asc_dvc->err_code |= ASC_IERR_BAD_CHIPTYPE; in AdvInitGetConfig()
11242 if (asc_dvc->err_code) in AdvInitGetConfig()
11244 asc_dvc->err_code); in AdvInitGetConfig()
11246 return asc_dvc->err_code; in AdvInitGetConfig()
11285 int warn_code, err_code; in advansys_wide_init_chip() local
11360 err_code = adv_dvc->err_code; in advansys_wide_init_chip()
11362 if (warn_code || err_code) { in advansys_wide_init_chip()
11364 "0x%x\n", warn_code, err_code); in advansys_wide_init_chip()
11371 err_code = ADV_ERROR; in advansys_wide_init_chip()
11373 return err_code; in advansys_wide_init_chip()
11826 if (warn_code || asc_dvc_varp->err_code) { in advansys_board_found()
11830 asc_dvc_varp->err_code); in advansys_board_found()