• Home
  • Raw
  • Download

Lines Matching refs:pending_scb

2084 	struct scb *pending_scb;  in ahc_linux_queue_recovery_cmd()  local
2097 pending_scb = NULL; in ahc_linux_queue_recovery_cmd()
2148 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_linux_queue_recovery_cmd()
2149 if (pending_scb->io_ctx == cmd) in ahc_linux_queue_recovery_cmd()
2153 if (pending_scb == NULL && flag == SCB_DEVICE_RESET) { in ahc_linux_queue_recovery_cmd()
2156 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_linux_queue_recovery_cmd()
2157 if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd), in ahc_linux_queue_recovery_cmd()
2165 if (pending_scb == NULL) { in ahc_linux_queue_recovery_cmd()
2170 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahc_linux_queue_recovery_cmd()
2187 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahc_linux_queue_recovery_cmd()
2201 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2212 cmd->device->lun, pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2222 if (bus_scb == pending_scb) in ahc_linux_queue_recovery_cmd()
2225 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
2226 && ahc_inb(ahc, SAVED_LUN) == SCB_GET_LUN(pending_scb)) in ahc_linux_queue_recovery_cmd()
2243 && (pending_scb->hscb->tag == active_scb_index in ahc_linux_queue_recovery_cmd()
2251 pending_scb = ahc_lookup_scb(ahc, active_scb_index); in ahc_linux_queue_recovery_cmd()
2252 pending_scb->flags |= SCB_RECOVERY_SCB|flag; in ahc_linux_queue_recovery_cmd()
2275 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; in ahc_linux_queue_recovery_cmd()
2276 pending_scb->flags |= SCB_RECOVERY_SCB|flag; in ahc_linux_queue_recovery_cmd()
2287 cmd->device->lun, pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2300 ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag); in ahc_linux_queue_recovery_cmd()
2315 ahc_qinfifo_requeue_tail(ahc, pending_scb); in ahc_linux_queue_recovery_cmd()
2317 ahc_print_path(ahc, pending_scb); in ahc_linux_queue_recovery_cmd()