Home
last modified time | relevance | path

Searched refs:pending_scb (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c2036 struct scb *pending_scb; in ahc_linux_queue_recovery_cmd() local
2049 pending_scb = NULL; in ahc_linux_queue_recovery_cmd()
2101 if (pending_scb->io_ctx == cmd) in ahc_linux_queue_recovery_cmd()
2117 if (pending_scb == NULL) { in ahc_linux_queue_recovery_cmd()
2139 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahc_linux_queue_recovery_cmd()
2153 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2165 pending_scb->hscb->tag, in ahc_linux_queue_recovery_cmd()
2175 if (bus_scb == pending_scb) in ahc_linux_queue_recovery_cmd()
2205 pending_scb->flags |= SCB_RECOVERY_SCB|flag; in ahc_linux_queue_recovery_cmd()
2268 ahc_qinfifo_requeue_tail(ahc, pending_scb); in ahc_linux_queue_recovery_cmd()
[all …]
H A Daic79xx_osm.c2128 struct scb *pending_scb; in ahd_linux_queue_abort_cmd() local
2141 pending_scb = NULL; in ahd_linux_queue_abort_cmd()
2178 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd()
2182 if (pending_scb == NULL) { in ahd_linux_queue_abort_cmd()
2218 pending_scb->hscb->tag, in ahd_linux_queue_abort_cmd()
2236 if (bus_scb == pending_scb) in ahd_linux_queue_abort_cmd()
2267 pending_scb->hscb->cdb_len = 0; in ahd_linux_queue_abort_cmd()
2268 pending_scb->hscb->task_attribute = 0; in ahd_linux_queue_abort_cmd()
2280 pending_scb->hscb->task_management); in ahd_linux_queue_abort_cmd()
2312 ahd_qinfifo_requeue_tail(ahd, pending_scb); in ahd_linux_queue_abort_cmd()
[all …]
H A Daic7xxx_core.c2669 struct scb *pending_scb; in ahc_update_pending_scbs() local
2680 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_update_pending_scbs()
2686 ahc_scb_devinfo(ahc, &devinfo, pending_scb); in ahc_update_pending_scbs()
2690 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs()
2697 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahc_update_pending_scbs()
2698 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahc_update_pending_scbs()
2701 ahc_sync_scb(ahc, pending_scb, in ahc_update_pending_scbs()
2725 pending_scb = ahc_lookup_scb(ahc, scb_tag); in ahc_update_pending_scbs()
2726 if (pending_scb == NULL) in ahc_update_pending_scbs()
2729 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs()
H A Daic79xx_core.c4188 struct scb *pending_scb; in ahd_update_pending_scbs() local
4205 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs()
4209 ahd_scb_devinfo(ahd, &devinfo, pending_scb); in ahd_update_pending_scbs()
4213 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahd_update_pending_scbs()
4214 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahd_update_pending_scbs()
4215 pending_scb->hscb->control &= ~MK_MESSAGE; in ahd_update_pending_scbs()
4217 ahd_sync_scb(ahd, pending_scb, in ahd_update_pending_scbs()
4247 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs()
4251 scb_tag = SCB_GET_TAG(pending_scb); in ahd_update_pending_scbs()
4255 control |= pending_scb->hscb->control & MK_MESSAGE; in ahd_update_pending_scbs()