tcl 7065 dev/ic/aic79xx.c ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) tcl 7072 dev/ic/aic79xx.c ahd_set_scbptr(ahd, TCL_LUN(tcl) tcl 7073 dev/ic/aic79xx.c | ((TCL_TARGET_OFFSET(tcl) & 0xC) << 4)); tcl 7080 dev/ic/aic79xx.c return (((TCL_TARGET_OFFSET(tcl) & 0x3) << 1) + SCB_DISCONNECTED_LISTS); tcl 7087 dev/ic/aic79xx.c ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) tcl 7093 dev/ic/aic79xx.c scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl); tcl 7100 dev/ic/aic79xx.c ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) tcl 7105 dev/ic/aic79xx.c scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl); tcl 7697 dev/ic/aic79xx.c u_int tcl; tcl 7699 dev/ic/aic79xx.c tcl = BUILD_TCL_RAW(i, 'A', j); tcl 7700 dev/ic/aic79xx.c scbid = ahd_find_busy_tcl(ahd, tcl); tcl 10876 dev/ic/aic79xx.c ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) tcl 10878 dev/ic/aic79xx.c ahd_busy_tcl(ahd, tcl, SCB_LIST_NULL); tcl 143 dev/ic/aic79xx.h #define TCL_TARGET_OFFSET(tcl) \ tcl 144 dev/ic/aic79xx.h ((((tcl) >> 4) & TID) >> 4) tcl 145 dev/ic/aic79xx.h #define TCL_LUN(tcl) \ tcl 146 dev/ic/aic79xx.h (tcl & (AHD_NUM_LUNS - 1)) tcl 1382 dev/ic/aic79xx.h u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl); tcl 1384 dev/ic/aic79xx.h u_int tcl, u_int busyid); tcl 1385 dev/ic/aic79xx.h void ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl); tcl 5009 dev/ic/aic7xxx.c ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) tcl 5018 dev/ic/aic7xxx.c ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); tcl 5019 dev/ic/aic7xxx.c scbid = ahc_inb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl)); tcl 5022 dev/ic/aic7xxx.c target_offset = TCL_TARGET_OFFSET(tcl); tcl 5030 dev/ic/aic7xxx.c ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) tcl 5038 dev/ic/aic7xxx.c ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); tcl 5039 dev/ic/aic7xxx.c ahc_outb(ahc, SCB_64_BTT+TCL_TARGET_OFFSET(tcl), SCB_LIST_NULL); tcl 5042 dev/ic/aic7xxx.c target_offset = TCL_TARGET_OFFSET(tcl); tcl 5048 dev/ic/aic7xxx.c ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) tcl 5056 dev/ic/aic7xxx.c ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); tcl 5057 dev/ic/aic7xxx.c ahc_outb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl), scbid); tcl 5060 dev/ic/aic7xxx.c target_offset = TCL_TARGET_OFFSET(tcl); tcl 5708 dev/ic/aic7xxx.c u_int tcl; tcl 5710 dev/ic/aic7xxx.c tcl = BUILD_TCL(i << 4, j); tcl 5711 dev/ic/aic7xxx.c scbid = ahc_index_busy_tcl(ahc, tcl); tcl 116 dev/ic/aic7xxxvar.h #define TCL_TARGET_OFFSET(tcl) \ tcl 117 dev/ic/aic7xxxvar.h ((((tcl) >> 4) & TID) >> 4) tcl 118 dev/ic/aic7xxxvar.h #define TCL_LUN(tcl) \ tcl 119 dev/ic/aic7xxxvar.h (tcl & (AHC_NUM_LUNS - 1)) tcl 340 dev/tc/asc_tcds.c u_int32_t tcl, tcm; tcl 359 dev/tc/asc_tcds.c tcl = NCR_READ_REG(sc, NCR_TCL); tcl 362 dev/tc/asc_tcds.c tcl | (tcm << 8), tcl, tcm)); tcl 373 dev/tc/asc_tcds.c resid += (tcl = NCR_READ_REG(sc, NCR_TCL)); tcl 384 dev/tc/asc_tcds.c tcl, tcm, trans, resid));