Lines Matching defs:sts
1945 static void process_waiting_list(struct ncb *np, int sts);
8024 int sts;
8037 if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
8038 cmd->result = sts << 16;
8040 printk("ncr53c8xx : command not queued - result=%d\n", sts);
8050 if (sts != DID_OK) {
8053 sts = 0;
8056 return sts;
8107 int sts;
8119 sts = ncr_reset_bus(np, cmd, 1);
8127 return sts;
8134 int sts;
8142 sts = ncr_abort_command(np, cmd);
8150 return sts;
8206 static void process_waiting_list(struct ncb *np, int sts)
8214 if (waiting_list) printk("%s: waiting_list=%lx processing sts=%d\n", ncr_name(np), (u_long) waiting_list, sts);
8219 if (sts == DID_OK) {
8223 sts = ncr_queue_command(np, wcmd);
8225 if (sts != DID_OK) {
8227 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8229 wcmd->result = sts << 16;