Lines Matching refs:scb
77 #define SCB_IS_SCSIBUS_B(ahc, scb) \ argument
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
79 #define SCB_GET_OUR_ID(scb) \ argument
80 SCSIID_OUR_ID((scb)->hscb->scsiid)
81 #define SCB_GET_TARGET(ahc, scb) \ argument
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
83 #define SCB_GET_CHANNEL(ahc, scb) \ argument
84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
85 #define SCB_GET_LUN(scb) \ argument
86 ((scb)->hscb->lun & LID)
87 #define SCB_GET_TARGET_OFFSET(ahc, scb) \ argument
88 (SCB_GET_TARGET(ahc, scb) + (SCB_IS_SCSIBUS_B(ahc, scb) ? 8 : 0))
89 #define SCB_GET_TARGET_MASK(ahc, scb) \ argument
90 (0x01 << (SCB_GET_TARGET_OFFSET(ahc, scb)))
92 #define SCB_IS_SILENT(scb) \ argument
94 && (((scb)->flags & SCB_SILENT) != 0))
96 #define SCB_IS_SILENT(scb) \ argument
97 (((scb)->flags & SCB_SILENT) != 0)
561 struct scb { struct
564 SLIST_ENTRY(scb) sle; argument
565 TAILQ_ENTRY(scb) tqe;
567 LIST_ENTRY(scb) pending_links; argument
579 SLIST_HEAD(, scb) free_scbs; /* argument
583 struct scb *scbindex[256]; /*
593 struct scb *scbarray; /* Array of kernel SCBs */
866 TAILQ_HEAD(scb_tailq, scb);
908 struct scb *next_queued_scb;
913 BSD_LIST_HEAD(, scb) pending_scbs;
1150 struct scb *scb);
1151 int ahc_match_scb(struct ahc_softc *ahc, struct scb *scb,