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()
7899 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) in ahd_index_busy_tcl() argument
7906 ahd_set_scbptr(ahd, TCL_LUN(tcl) in ahd_index_busy_tcl()
7907 | ((TCL_TARGET_OFFSET(tcl) & 0xC) << 4)); in ahd_index_busy_tcl()
7914 return (((TCL_TARGET_OFFSET(tcl) & 0x3) << 1) + SCB_DISCONNECTED_LISTS); in ahd_index_busy_tcl()
7921 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) in ahd_find_busy_tcl() argument
7927 scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl); in ahd_find_busy_tcl()
7934 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) in ahd_busy_tcl() argument
7939 scb_offset = ahd_index_busy_tcl(ahd, &saved_scbptr, tcl); in ahd_busy_tcl()
8532 u_int tcl; in ahd_abort_scbs() local
8534 tcl = BUILD_TCL_RAW(i, 'A', j); in ahd_abort_scbs()
8535 scbid = ahd_find_busy_tcl(ahd, tcl); in ahd_abort_scbs()