Searched refs:pending_scb (Results 1 – 4 of 4) sorted by relevance
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 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() [all …]
|
D | aic79xx_osm.c | 2170 struct scb *pending_scb; in ahd_linux_queue_abort_cmd() local 2184 pending_scb = NULL; in ahd_linux_queue_abort_cmd() 2221 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_linux_queue_abort_cmd() 2222 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd() 2226 if (pending_scb == NULL) { in ahd_linux_queue_abort_cmd() 2231 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahd_linux_queue_abort_cmd() 2249 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahd_linux_queue_abort_cmd() 2262 pending_scb->hscb->tag, in ahd_linux_queue_abort_cmd() 2281 if (bus_scb == pending_scb) in ahd_linux_queue_abort_cmd() 2292 && SCB_GET_TAG(pending_scb) == active_scbptr) { in ahd_linux_queue_abort_cmd() [all …]
|
D | aic7xxx_core.c | 2694 struct scb *pending_scb; in ahc_update_pending_scbs() local 2705 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_update_pending_scbs() 2711 ahc_scb_devinfo(ahc, &devinfo, pending_scb); in ahc_update_pending_scbs() 2715 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs() 2722 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahc_update_pending_scbs() 2723 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahc_update_pending_scbs() 2726 ahc_sync_scb(ahc, pending_scb, in ahc_update_pending_scbs() 2750 pending_scb = ahc_lookup_scb(ahc, scb_tag); in ahc_update_pending_scbs() 2751 if (pending_scb == NULL) in ahc_update_pending_scbs() 2754 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs()
|
D | aic79xx_core.c | 4222 struct scb *pending_scb; in ahd_update_pending_scbs() local 4239 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs() 4244 ahd_scb_devinfo(ahd, &devinfo, pending_scb); in ahd_update_pending_scbs() 4249 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahd_update_pending_scbs() 4250 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahd_update_pending_scbs() 4251 pending_scb->hscb->control &= ~MK_MESSAGE; in ahd_update_pending_scbs() 4253 ahd_sync_scb(ahd, pending_scb, in ahd_update_pending_scbs() 4283 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs() 4287 scb_tag = SCB_GET_TAG(pending_scb); in ahd_update_pending_scbs() 4291 control |= pending_scb->hscb->control & MK_MESSAGE; in ahd_update_pending_scbs()
|