• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:err_code

614  * Error code values are set in ASC_DVC_VAR  'err_code'.
768 ushort err_code;
2047 * Error code values are set in ADV_DVC_VAR 'err_code'.
2252 ushort err_code; /* fatal error code */
3580 int warn_code, err_code;
4032 if ((err_code = asc_dvc_varp->err_code) != 0) {
4034 "AscInitGetConfig: board %d error: init_state 0x%x, err_code 0x%x\n",
4036 asc_dvc_varp->err_code);
4044 if ((err_code = adv_dvc_varp->err_code) != 0) {
4046 "AdvInitGetConfig: board %d error: err_code 0x%x\n",
4047 boardp->id, adv_dvc_varp->err_code);
4051 if (err_code != 0) {
4135 if (asc_dvc_varp->err_code != 0) {
4137 "AscInitSetConfig: board %d error: init_state 0x%x, err_code 0x%x\n",
4139 asc_dvc_varp->err_code);
4492 err_code = asc_dvc_varp->err_code;
4494 if (warn_code || err_code) {
4498 warn_code, err_code);
4578 err_code = ADV_ERROR;
4584 err_code = ADV_ERROR;
4591 err_code = ADV_ERROR;
4630 err_code = adv_dvc_varp->err_code;
4632 if (warn_code || err_code) {
4635 boardp->id, warn_code, err_code);
4640 if (err_code != 0) {
4961 /* Refer to ASC_IERR_* defintions for meaning of 'err_code'. */
4962 if (asc_dvc_varp->err_code) {
4965 boardp->id, asc_dvc_varp->err_code);
5530 "asc_execute_scsi_cmnd: board %d: AscExeScsiQueue() ASC_ERROR, err_code 0x%x\n",
5531 boardp->id, asc_dvc_varp->err_code);
5538 "asc_execute_scsi_cmnd: board %d: AscExeScsiQueue() unknown, err_code 0x%x\n",
5539 boardp->id, asc_dvc_varp->err_code);
5610 "asc_execute_scsi_cmnd: board %d: AdvExeScsiQueue() ASC_ERROR, err_code 0x%x\n",
5611 boardp->id, adv_dvc_varp->err_code);
5618 "asc_execute_scsi_cmnd: board %d: AdvExeScsiQueue() unknown, err_code 0x%x\n",
5619 boardp->id, adv_dvc_varp->err_code);
7498 " mcode_version 0x%x, err_code %u\n",
7499 c->mcode_version, v->err_code);
7686 " iop_base 0x%lx, cable_detect: %X, err_code %u\n",
7689 v->err_code);
8460 " iop_base 0x%x, err_code 0x%x, dvc_cntl 0x%x, bug_fix_cntl %d,\n",
8461 h->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl);
8590 " iop_base 0x%lx, err_code 0x%x, ultra_able 0x%x\n",
8591 (ulong) h->iop_base, h->err_code, (unsigned) h->ultra_able);
10022 if (asc_dvc->err_code != 0)
10626 ushort err_code
10629 if (asc_dvc->err_code == 0) {
10630 asc_dvc->err_code = err_code;
10632 err_code);
10634 return (err_code);
11146 if (asc_dvc->err_code != 0) {
11209 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
11222 if (asc_dvc->err_code != 0)
11228 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
11266 asc_dvc->err_code |= ASC_IERR_SET_IRQ_NO;
11288 asc_dvc->err_code |= ASC_IERR_SET_SCSI_ID;
11316 if (asc_dvc->err_code != 0)
11319 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
11324 if (asc_dvc->err_code != 0)
11330 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM;
11350 asc_dvc->err_code = 0;
11353 asc_dvc->err_code |= ASC_IERR_NO_BUS_TYPE;
11475 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP;
11480 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR;
11657 asc_dvc->err_code |= ASC_IERR_SET_PC_ADDR;
11661 asc_dvc->err_code |= ASC_IERR_START_STOP_CHIP;
13718 * On failure set the ADV_DVC_VAR field 'err_code' and return ADV_ERROR.
13732 asc_dvc->err_code = 0;
13806 asc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
13817 asc_dvc->err_code |= ASC_IERR_BAD_CHIPTYPE;
13858 * On failure set the ADV_DVC_VAR field 'err_code' and return ADV_ERROR.
13889 if (asc_dvc->err_code != 0)
13899 asc_dvc->err_code |= ASC_IERR_BAD_CHIPTYPE;
14024 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM;
14183 asc_dvc->err_code |= ASC_IERR_ILLEGAL_CONNECTION;
14194 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE;
14204 asc_dvc->err_code |= ASC_IERR_SINGLE_END_DEVICE;
14347 asc_dvc->err_code |= ASC_IERR_NO_CARRIER;
14368 asc_dvc->err_code |= ASC_IERR_NO_CARRIER;
14438 * On failure set the ADV_DVC_VAR field 'err_code' and return ADV_ERROR.
14470 if (asc_dvc->err_code != 0)
14480 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE;
14548 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST;
14557 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST;
14567 * err_code, and return an error.
14577 asc_dvc->err_code |= ASC_IERR_BIST_RAM_TEST;
14669 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM;
14801 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE;
14816 asc_dvc->err_code |= ASC_IERR_HVD_DEVICE;
14969 asc_dvc->err_code |= ASC_IERR_NO_CARRIER;
14991 asc_dvc->err_code |= ASC_IERR_NO_CARRIER;
15063 * On failure set the ASC_DVC_VAR field 'err_code' and return ADV_ERROR.
15095 if (asc_dvc->err_code != 0)
15105 asc_dvc->err_code = ASC_IERR_BAD_CHIPTYPE;
15174 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST;
15183 asc_dvc->err_code |= ASC_IERR_BIST_PRE_TEST;
15193 * err_code, and return an error.
15203 asc_dvc->err_code |= ASC_IERR_BIST_RAM_TEST;
15291 asc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM;
15433 asc_dvc->err_code |= ASC_IERR_REVERSED_CABLE;
15447 asc_dvc->err_code |= ASC_IERR_HVD_DEVICE;
15586 asc_dvc->err_code |= ASC_IERR_NO_CARRIER;
15611 asc_dvc->err_code |= ASC_IERR_NO_CARRIER;
15682 * On failure set the ADV_DVC_VAR field 'err_code' and return ADV_ERROR.
15854 * On failure set the ADV_DVC_VAR field 'err_code' and return ADV_ERROR.
16087 * On failure set the ASC_DVC_VAR field 'err_code' and return ADV_ERROR.
16980 asc_dvc->err_code = 0;