Searched refs:tcl (Results 1 - 5 of 5) sorted by relevance

/drivers/scsi/aic7xxx/
H A Daic7xxx.h99 #define TCL_TARGET_OFFSET(tcl) \
100 ((((tcl) >> 4) & TID) >> 4)
101 #define TCL_LUN(tcl) \
102 (tcl & (AHC_NUM_LUNS - 1))
H A Daic79xx.h100 #define TCL_TARGET_OFFSET(tcl) \
101 ((((tcl) >> 4) & TID) >> 4)
102 #define TCL_LUN(tcl) \
103 (tcl & (AHD_NUM_LUNS - 1))
H A Daic7xxx_core.c240 static u_int ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl);
241 static void ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl);
243 u_int tcl, u_int busyid);
5698 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) argument
5707 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl));
5708 scbid = ahc_inb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl));
5711 target_offset = TCL_TARGET_OFFSET(tcl);
5719 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) argument
5727 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl));
5728 ahc_outb(ahc, SCB_64_BTT+TCL_TARGET_OFFSET(tcl), SCB_LIST_NUL
5737 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) argument
6391 u_int tcl; local
[all...]
H A Daic79xx_core.c244 static void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl,
252 static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
1090 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) argument
1092 ahd_busy_tcl(ahd, tcl, SCB_LIST_NULL);
7996 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) argument
8003 ahd_set_scbptr(ahd, TCL_LUN(tcl)
8004 | ((TCL_TARGET_OFFSET(tcl) & 0xC) << 4));
8011 return (((TCL_TARGET_OFFSET(tcl) & 0x3) << 1) + SCB_DISCONNECTED_LISTS);
8018 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) argument
8024 scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl);
8031 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) argument
8628 u_int tcl; local
[all...]
/drivers/scsi/
H A Daic7xxx_old.c2472 aic7xxx_index_busy_target(struct aic7xxx_host *p, unsigned char tcl, argument
2477 busy_scbid = p->untagged_scbs[tcl];
2480 p->untagged_scbs[tcl] = SCB_LIST_NULL;
3114 unsigned char active_scb, tcl, scb_tag; local
3168 tcl = (sd->id << 4) | (sd->channel << 3) | sd->lun;
3169 if ( (aic7xxx_index_busy_target(p, tcl, FALSE) == tag) ||
3171 aic7xxx_index_busy_target(p, tcl, /* unbusy */ TRUE);

Completed in 78 milliseconds