Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_osm.c2054 struct scb *pending_scb; in ahc_linux_queue_recovery_cmd() local
2067 pending_scb = NULL; in ahc_linux_queue_recovery_cmd()
2118 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_linux_queue_recovery_cmd()
2119 if (pending_scb->io_ctx == cmd) in ahc_linux_queue_recovery_cmd()
2123 if (pending_scb == NULL && flag == SCB_DEVICE_RESET) { in ahc_linux_queue_recovery_cmd()
2126 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_linux_queue_recovery_cmd()
2127 if (ahc_match_scb(ahc, pending_scb, scmd_id(cmd), in ahc_linux_queue_recovery_cmd()
2135 if (pending_scb == NULL) { in ahc_linux_queue_recovery_cmd()
2140 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahc_linux_queue_recovery_cmd()
2157 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahc_linux_queue_recovery_cmd()
[all …]
Daic79xx_osm.c2151 struct scb *pending_scb; in ahd_linux_queue_abort_cmd() local
2165 pending_scb = NULL; in ahd_linux_queue_abort_cmd()
2202 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_linux_queue_abort_cmd()
2203 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd()
2207 if (pending_scb == NULL) { in ahd_linux_queue_abort_cmd()
2212 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahd_linux_queue_abort_cmd()
2230 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahd_linux_queue_abort_cmd()
2243 pending_scb->hscb->tag, in ahd_linux_queue_abort_cmd()
2262 if (bus_scb == pending_scb) in ahd_linux_queue_abort_cmd()
2273 && SCB_GET_TAG(pending_scb) == active_scbptr) { in ahd_linux_queue_abort_cmd()
[all …]
Daic7xxx_core.c2687 struct scb *pending_scb; in ahc_update_pending_scbs() local
2698 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) { in ahc_update_pending_scbs()
2704 ahc_scb_devinfo(ahc, &devinfo, pending_scb); in ahc_update_pending_scbs()
2708 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs()
2715 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahc_update_pending_scbs()
2716 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahc_update_pending_scbs()
2719 ahc_sync_scb(ahc, pending_scb, in ahc_update_pending_scbs()
2743 pending_scb = ahc_lookup_scb(ahc, scb_tag); in ahc_update_pending_scbs()
2744 if (pending_scb == NULL) in ahc_update_pending_scbs()
2747 pending_hscb = pending_scb->hscb; in ahc_update_pending_scbs()
Daic79xx_core.c4216 struct scb *pending_scb; in ahd_update_pending_scbs() local
4233 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs()
4238 ahd_scb_devinfo(ahd, &devinfo, pending_scb); in ahd_update_pending_scbs()
4243 && (pending_scb->flags & SCB_AUTO_NEGOTIATE) != 0) { in ahd_update_pending_scbs()
4244 pending_scb->flags &= ~SCB_AUTO_NEGOTIATE; in ahd_update_pending_scbs()
4245 pending_scb->hscb->control &= ~MK_MESSAGE; in ahd_update_pending_scbs()
4247 ahd_sync_scb(ahd, pending_scb, in ahd_update_pending_scbs()
4277 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_update_pending_scbs()
4281 scb_tag = SCB_GET_TAG(pending_scb); in ahd_update_pending_scbs()
4285 control |= pending_scb->hscb->control & MK_MESSAGE; in ahd_update_pending_scbs()