• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/aic7xxx/

Lines Matching refs:scb

89 #define	SCB_IS_SCSIBUS_B(ahc, scb) \
90 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
91 #define SCB_GET_OUR_ID(scb) \
92 SCSIID_OUR_ID((scb)->hscb->scsiid)
93 #define SCB_GET_TARGET(ahc, scb) \
94 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
95 #define SCB_GET_CHANNEL(ahc, scb) \
96 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
97 #define SCB_GET_LUN(scb) \
98 ((scb)->hscb->lun & LID)
99 #define SCB_GET_TARGET_OFFSET(ahc, scb) \
100 (SCB_GET_TARGET(ahc, scb) + (SCB_IS_SCSIBUS_B(ahc, scb) ? 8 : 0))
101 #define SCB_GET_TARGET_MASK(ahc, scb) \
102 (0x01 << (SCB_GET_TARGET_OFFSET(ahc, scb)))
104 #define SCB_IS_SILENT(scb) \
106 && (((scb)->flags & SCB_SILENT) != 0))
108 #define SCB_IS_SILENT(scb) \
109 (((scb)->flags & SCB_SILENT) != 0)
382 * The driver keeps up to MAX_SCB scb structures per card in memory. The SCB
386 * To minimize space utilization, a portion of the hardware scb stores
437 * The scb is presented to the sequencer with the dataptr and datacnt
454 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into
465 * o A residual has occurred if a completed scb has the
583 struct scb {
586 SLIST_ENTRY(scb) sle;
587 TAILQ_ENTRY(scb) tqe;
589 LIST_ENTRY(scb) pending_links;
590 LIST_ENTRY(scb) timedout_links;
606 SLIST_HEAD(, scb) free_scbs; /*
610 struct scb *scbindex[256]; /*
620 struct scb *scbarray; /* Array of kernel SCBs */
895 TAILQ_HEAD(scb_tailq, scb);
942 struct scb *next_queued_scb;
947 LIST_HEAD(, scb) pending_scbs;
952 LIST_HEAD(, scb) timedout_scbs;
1214 struct scb *scb);
1215 int ahc_match_scb(struct ahc_softc *ahc, struct scb *scb,
1268 void ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb);
1276 struct scb *scb);
1277 void ahc_timeout(struct scb *scb);
1365 void ahc_print_scb(struct scb *scb);