Lines Matching refs:sts
1371 static void process_waiting_list(ncb_p np, int sts);
8563 int sts; local
8578 if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
8579 cmd->result = ScsiResult(sts, 0);
8581 printk("ncr53c8xx : command not queued - result=%d\n", sts);
8591 if (sts != DID_OK) {
8596 return sts;
8668 int sts; local
8686 sts = SCSI_RESET_NOT_RUNNING;
8698 sts = ncr_reset_bus(np, cmd,
8701 sts = ncr_reset_bus(np, cmd, 0);
8709 if (sts == SCSI_RESET_SUCCESS)
8710 sts |= SCSI_RESET_HOST_RESET;
8720 return sts;
8730 int sts; local
8748 sts = SCSI_ABORT_NOT_RUNNING;
8753 sts = ncr_abort_command(np, cmd);
8761 return sts;
8829 static void process_waiting_list(ncb_p np, int sts) argument
8837 …list) printk("%s: waiting_list=%lx processing sts=%d\n", ncr_name(np), (u_long) waiting_list, sts);
8842 if (sts == DID_OK) {
8846 sts = ncr_queue_command(np, wcmd);
8848 if (sts != DID_OK) {
8850 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8852 wcmd->result = ScsiResult(sts, 0);