Home
last modified time | relevance | path

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

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