Searched refs:warn_code (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dadvansys.c379 * Warning code values are set in ASC_DVC_VAR 'warn_code'.
1564 * ADV_DVC_VAR 'warn_code' values
4021 int warn_code; AscInitMicroCodeVar() local
4028 warn_code = 0; AscInitMicroCodeVar()
4045 warn_code = -ENOMEM; AscInitMicroCodeVar()
4063 warn_code = -EINVAL; AscInitMicroCodeVar()
4068 warn_code = -EIO; AscInitMicroCodeVar()
4072 return warn_code; AscInitMicroCodeVar()
4079 return warn_code; AscInitMicroCodeVar()
4088 int warn_code; AscInitAsc1000Driver() local
4092 warn_code = 0; AscInitAsc1000Driver()
4103 return warn_code; AscInitAsc1000Driver()
4129 return warn_code; AscInitAsc1000Driver()
4132 warn_code |= AscInitMicroCodeVar(asc_dvc); AscInitAsc1000Driver()
4134 return warn_code; AscInitAsc1000Driver()
4137 return warn_code; AscInitAsc1000Driver()
4408 ushort warn_code; AdvInitAsc3550Driver() local
4434 warn_code = 0; AdvInitAsc3550Driver()
4828 warn_code = ASC_WARN_BUSRESET_ERROR; AdvInitAsc3550Driver()
4833 return warn_code; AdvInitAsc3550Driver()
4851 ushort warn_code; AdvInitAsc38C0800Driver() local
4878 warn_code = 0; AdvInitAsc38C0800Driver()
5314 warn_code = ASC_WARN_BUSRESET_ERROR; AdvInitAsc38C0800Driver()
5319 return warn_code; AdvInitAsc38C0800Driver()
5337 ushort warn_code; AdvInitAsc38C1600Driver() local
5365 warn_code = 0; AdvInitAsc38C1600Driver()
5808 warn_code = ASC_WARN_BUSRESET_ERROR; AdvInitAsc38C1600Driver()
5813 return warn_code; AdvInitAsc38C1600Driver()
9112 ushort warn_code; AscInitFromEEP() local
9118 warn_code = 0; AscInitFromEEP()
9129 return (warn_code); AscInitFromEEP()
9134 return (warn_code); AscInitFromEEP()
9141 warn_code |= ASC_WARN_CFG_MSW_RECOVER; AscInitFromEEP()
9150 warn_code |= ASC_WARN_AUTO_CONFIG; AscInitFromEEP()
9153 warn_code |= ASC_WARN_EEPROM_RECOVER; AscInitFromEEP()
9158 warn_code |= ASC_WARN_EEPROM_RECOVER; AscInitFromEEP()
9191 warn_code |= ASC_WARN_EEPROM_CHKSUM; AscInitFromEEP()
9239 warn_code |= ASC_WARN_CMD_QNG_CONFLICT; AscInitFromEEP()
9268 return (warn_code); AscInitFromEEP()
9275 unsigned short warn_code = 0; AscInitGetConfig() local
9283 warn_code = AscInitFromEEP(asc_dvc); AscInitGetConfig()
9291 switch (warn_code) { AscInitGetConfig()
9314 warn_code); AscInitGetConfig()
9331 unsigned short warn_code = 0; AscInitSetConfig() local
9344 warn_code |= ASC_WARN_CFG_MSW_RECOVER; AscInitSetConfig()
9350 warn_code |= ASC_WARN_CMD_QNG_CONFLICT; AscInitSetConfig()
9353 warn_code |= ASC_WARN_AUTO_CONFIG; AscInitSetConfig()
9389 switch (warn_code) { AscInitSetConfig()
9412 warn_code); AscInitSetConfig()
10151 ushort warn_code; AdvInitFrom3550EEP() local
10156 warn_code = 0; AdvInitFrom3550EEP()
10164 warn_code |= ASC_WARN_EEPROM_CHKSUM; AdvInitFrom3550EEP()
10279 warn_code |= ASC_WARN_EEPROM_TERMINATION; AdvInitFrom3550EEP()
10283 return warn_code; AdvInitFrom3550EEP()
10301 ushort warn_code; AdvInitFrom38C0800EEP() local
10308 warn_code = 0; AdvInitFrom38C0800EEP()
10317 warn_code |= ASC_WARN_EEPROM_CHKSUM; AdvInitFrom38C0800EEP()
10454 warn_code |= ASC_WARN_EEPROM_TERMINATION; AdvInitFrom38C0800EEP()
10478 warn_code |= ASC_WARN_EEPROM_TERMINATION; AdvInitFrom38C0800EEP()
10482 return warn_code; AdvInitFrom38C0800EEP()
10500 ushort warn_code; AdvInitFrom38C1600EEP() local
10507 warn_code = 0; AdvInitFrom38C1600EEP()
10517 warn_code |= ASC_WARN_EEPROM_CHKSUM; AdvInitFrom38C1600EEP()
10678 warn_code |= ASC_WARN_EEPROM_TERMINATION; AdvInitFrom38C1600EEP()
10702 warn_code |= ASC_WARN_EEPROM_TERMINATION; AdvInitFrom38C1600EEP()
10706 return warn_code; AdvInitFrom38C1600EEP()
10721 unsigned short warn_code = 0; AdvInitGetConfig() local
10783 warn_code |= status; AdvInitGetConfig()
10786 if (warn_code != 0) AdvInitGetConfig()
10787 shost_printk(KERN_WARNING, shost, "warning: 0x%x\n", warn_code); AdvInitGetConfig()
10829 int warn_code, err_code; advansys_wide_init_chip() local
10877 warn_code = AdvInitAsc3550Driver(adv_dvc); advansys_wide_init_chip()
10880 warn_code = AdvInitAsc38C0800Driver(adv_dvc); advansys_wide_init_chip()
10883 warn_code = AdvInitAsc38C1600Driver(adv_dvc); advansys_wide_init_chip()
10887 if (warn_code || err_code) { advansys_wide_init_chip()
10889 "0x%x\n", warn_code, err_code); advansys_wide_init_chip()
10928 int share_irq, warn_code, ret; advansys_board_found() local
11337 warn_code = AscInitAsc1000Driver(asc_dvc_varp); advansys_board_found()
11339 if (warn_code || asc_dvc_varp->err_code) { advansys_board_found()
11342 asc_dvc_varp->init_state, warn_code, advansys_board_found()

Completed in 130 milliseconds