Home
last modified time | relevance | path

Searched refs:scsiid (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/aic7xxx/
H A Daic7xxx.h78 #define SCSIID_TARGET(ahc, scsiid) \ argument
79 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
81 #define SCSIID_OUR_ID(scsiid) \ argument
82 ((scsiid) & OID)
83 #define SCSIID_CHANNEL(ahc, scsiid) \ argument
85 ? ((((scsiid) & TWIN_CHNLB) != 0) ? 'B' : 'A') \
88 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
90 SCSIID_OUR_ID((scb)->hscb->scsiid)
92 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
94 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
113 BUILD_TCL(scsiid,lun) global() argument
479 /*25*/ uint8_t scsiid; /* what to load in the SCSIID register */ global() member
648 uint8_t scsiid; /* Our ID and the initiator's ID */ global() member
[all...]
H A Daic79xx.h81 #define SCSIID_TARGET(ahd, scsiid) \ argument
82 (((scsiid) & TID) >> TID_SHIFT)
83 #define SCSIID_OUR_ID(scsiid) \ argument
84 ((scsiid) & OID)
85 #define SCSIID_CHANNEL(ahd, scsiid) ('A') argument
88 SCSIID_OUR_ID((scb)->hscb->scsiid)
90 SCSIID_TARGET((ahd), (scb)->hscb->scsiid)
92 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
114 #define BUILD_TCL(scsiid, lun) \ argument
115 ((lun) | (((scsiid)
505 /*19*/ uint8_t scsiid; /* global() member
700 uint8_t scsiid; /* Our ID and the initiator's ID */ global() member
[all...]
H A Daic79xx_osm.c572 hscb->scsiid = BUILD_SCSIID(ahd, sim, target_id, our_id); in ahd_action()
1013 tinfo = ahd_fetch_transinfo(ahd, SCSIID_CHANNEL(ahd, scb->hscb->scsiid), in ahd_execute_scb()
1014 SCSIID_OUR_ID(scb->hscb->scsiid), in ahd_execute_scb()
1015 SCSIID_TARGET(ahd, scb->hscb->scsiid), in ahd_execute_scb()
H A Daic7xxx_osm.c540 hscb->scsiid = BUILD_SCSIID(ahc, sim, target_id, our_id); in ahc_action()
1051 tinfo = ahc_fetch_transinfo(ahc, SCSIID_CHANNEL(ahc, scb->hscb->scsiid), in ahc_execute_scb()
1052 SCSIID_OUR_ID(scb->hscb->scsiid), in ahc_execute_scb()
1053 SCSIID_TARGET(ahc, scb->hscb->scsiid), in ahc_execute_scb()
H A Daic79xx_inline.h518 dst->hscb->scsiid = src->hscb->scsiid; \
809 SCB_GET_TAG(scb), scb->hscb->scsiid, in ahd_queue_scb()
H A Daic79xx.c960 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid); in ahd_handle_seqint()
1101 ahd_outb(ahd, SAVED_SCSIID, scb->hscb->scsiid); in ahd_handle_seqint()
2727 hscb->scsiid, in ahd_print_scb()
3529 our_id = SCSIID_OUR_ID(scb->hscb->scsiid); in ahd_scb_devinfo()
3644 printf("SCSIID = %x, target_mask = %x\n", scb->hscb->scsiid, in ahd_setup_initiator_msgout()
4799 ahd_busy_tcl(ahd, BUILD_TCL(scb->hscb->scsiid, devinfo->lun), in ahd_handle_msg_reject()
10132 u_int scsiid; in ahd_update_scsiid() local
10144 scsiid = ahd_inb(ahd, SCSIID_ULTRA2); in ahd_update_scsiid()
10146 scsiid = ahd_inb(ahd, SCSIID); in ahd_update_scsiid()
10147 scsiid_mask = 0x1 << (scsiid & OID); in ahd_update_scsiid()
[all …]
H A Daic79xx.seq1079 #define INDEX_DISC_LIST(scsiid, lun) \
1080 and A, 0xC0, scsiid; \
1083 and SINDEX, 0x30, scsiid; \