Lines Matching defs:sts
1941 static void process_waiting_list(struct ncb *np, int sts);
7860 int sts;
7872 if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
7873 set_host_byte(cmd, sts);
7875 printk("ncr53c8xx : command not queued - result=%d\n", sts);
7885 if (sts != DID_OK) {
7888 sts = 0;
7891 return sts;
7942 int sts;
7954 sts = ncr_reset_bus(np);
7962 return sts;
7997 static void process_waiting_list(struct ncb *np, int sts)
8005 if (waiting_list) printk("%s: waiting_list=%lx processing sts=%d\n", ncr_name(np), (u_long) waiting_list, sts);
8010 if (sts == DID_OK) {
8014 sts = ncr_queue_command(np, wcmd);
8016 if (sts != DID_OK) {
8018 printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
8020 set_host_byte(wcmd, sts);