Lines Matching refs:sts
1957 static void process_waiting_list(struct ncb *np, int sts);
8032 int sts; local
8045 if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
8046 cmd->result = ScsiResult(sts, 0);
8048 printk("ncr53c8xx : command not queued - result=%d\n", sts);
8058 if (sts != DID_OK) {
8061 sts = 0;
8064 return sts;
8115 int sts; local
8127 sts = ncr_reset_bus(np, cmd, 1);
8135 return sts;
8142 int sts;
8150 sts = ncr_abort_command(np, cmd);
8158 return sts;
8214 static void process_waiting_list(struct ncb *np, int sts) argument
8222 …list) printk("%s: waiting_list=%lx processing sts=%d\n", ncr_name(np), (u_long) waiting_list, sts);
8227 if (sts == DID_OK) {
8231 sts = ncr_queue_command(np, wcmd);
8233 if (sts != DID_OK) {
8235 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8237 wcmd->result = ScsiResult(sts, 0);