Lines Matching refs:tcl
236 static void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl,
244 static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
1082 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) in ahd_unbusy_tcl() argument
1084 ahd_busy_tcl(ahd, tcl, SCB_LIST_NULL); in ahd_unbusy_tcl()
7944 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) in ahd_index_busy_tcl() argument
7951 ahd_set_scbptr(ahd, TCL_LUN(tcl) in ahd_index_busy_tcl()
7952 | ((TCL_TARGET_OFFSET(tcl) & 0xC) << 4)); in ahd_index_busy_tcl()
7959 return (((TCL_TARGET_OFFSET(tcl) & 0x3) << 1) + SCB_DISCONNECTED_LISTS); in ahd_index_busy_tcl()
7966 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) in ahd_find_busy_tcl() argument
7972 scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl); in ahd_find_busy_tcl()
7979 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) in ahd_busy_tcl() argument
7984 scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl); in ahd_busy_tcl()
8577 u_int tcl; in ahd_abort_scbs() local
8579 tcl = BUILD_TCL_RAW(i, 'A', j); in ahd_abort_scbs()
8580 scbid = ahd_find_busy_tcl(ahd, tcl); in ahd_abort_scbs()