• Home
  • Raw
  • Download

Lines Matching refs:last_cmd

179 		     if (dev->last_cmd[c] == 0xff) {  in atp870u_intr_handle()
180 dev->last_cmd[c] = target_id; in atp870u_intr_handle()
182 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
190 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
191 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
221 if (((dev->quhd[c] != dev->quend[c]) || (dev->last_cmd[c] != 0xff)) && in atp870u_intr_handle()
240 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
246 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
247 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
280 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
281 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
312 if (dev->last_cmd[c] != 0xff) { in atp870u_intr_handle()
313 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
462 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
463 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
506 if (((dev->last_cmd[c] != 0xff) || (dev->quhd[c] != dev->quend[c])) && in atp870u_intr_handle()
517 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
518 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
701 if ((dev->last_cmd[c] != 0xff) && ((dev->last_cmd[c] & 0x40) != 0)) { in DEF_SCSI_QCMD()
702 dev->last_cmd[c] &= 0x0f; in DEF_SCSI_QCMD()
703 workreq = dev->id[c][dev->last_cmd[c]].curr_req; in DEF_SCSI_QCMD()
705 dev->last_cmd[c] = 0xff; in DEF_SCSI_QCMD()
713 if ((dev->last_cmd[c] != 0xff) && (dev->working[c] != 0)) { in DEF_SCSI_QCMD()
730 dev->last_cmd[c] = scmd_id(workreq); in DEF_SCSI_QCMD()
736 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD()
839 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD()
914 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD()
926 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD()
1225 atp_dev->last_cmd[c] = 0xff; in atp870u_init_tables()
1596 printk("working=%x last_cmd=%x ", dev->working[c], dev->last_cmd[c]); in atp870u_abort()