Searched refs:pending_scb (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 2038 struct scb *pending_scb; in ahc_linux_queue_recovery_cmd() local 2051 pending_scb = NULL; in ahc_linux_queue_recovery_cmd() 2102 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_linux_queue_recovery_cmd() 2103 if (pending_scb->io_ctx == cmd) in ahc_linux_queue_recovery_cmd() 2107 if (pending_scb == NULL && flag == SCB_DEVICE_RESET) { in ahc_linux_queue_recovery_cmd() 2110 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_linux_queue_recovery_cmd() 2111 if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd), in ahc_linux_queue_recovery_cmd() 2119 if (pending_scb == NULL) { in ahc_linux_queue_recovery_cmd() 2124 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahc_linux_queue_recovery_cmd() 2141 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahc_linux_queue_recovery_cmd() [all …]
|
D | aic79xx_osm.c | 2139 struct scb *pending_scb; in ahd_linux_queue_abort_cmd() local 2153 pending_scb = NULL; in ahd_linux_queue_abort_cmd() 2189 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_linux_queue_abort_cmd() 2190 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd() 2194 if (pending_scb == NULL) { in ahd_linux_queue_abort_cmd() 2199 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahd_linux_queue_abort_cmd() 2217 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahd_linux_queue_abort_cmd() 2230 pending_scb->hscb->tag, in ahd_linux_queue_abort_cmd() 2248 if (bus_scb == pending_scb) in ahd_linux_queue_abort_cmd() 2259 && SCB_GET_TAG(pending_scb) == active_scbptr) { in ahd_linux_queue_abort_cmd() [all …]
|
D | aic7xxx_core.c | 2671 struct scb *pending_scb; in ahc_update_pending_scbs() local 2682 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_update_pending_scbs() 2688 ahc_scb_devinfo(ahc, &devinfo, pending_scb); in ahc_update_pending_scbs() 2692 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs() 2699 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahc_update_pending_scbs() 2700 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahc_update_pending_scbs() 2703 ahc_sync_scb(ahc, pending_scb, in ahc_update_pending_scbs() 2727 pending_scb = ahc_lookup_scb(ahc, scb_tag); in ahc_update_pending_scbs() 2728 if (pending_scb == NULL) in ahc_update_pending_scbs() 2731 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs()
|
D | aic79xx_core.c | 4190 struct scb *pending_scb; in ahd_update_pending_scbs() local 4207 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs() 4211 ahd_scb_devinfo(ahd, &devinfo, pending_scb); in ahd_update_pending_scbs() 4215 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahd_update_pending_scbs() 4216 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahd_update_pending_scbs() 4217 pending_scb->hscb->control &= ~MK_MESSAGE; in ahd_update_pending_scbs() 4219 ahd_sync_scb(ahd, pending_scb, in ahd_update_pending_scbs() 4249 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs() 4253 scb_tag = SCB_GET_TAG(pending_scb); in ahd_update_pending_scbs() 4257 control |= pending_scb->hscb->control & MK_MESSAGE; in ahd_update_pending_scbs()
|