Lines Matching refs:tcl
240 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);
5697 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) in ahc_index_busy_tcl() argument
5706 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_index_busy_tcl()
5707 scbid = ahc_inb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl)); in ahc_index_busy_tcl()
5710 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_index_busy_tcl()
5718 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) in ahc_unbusy_tcl() argument
5726 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_unbusy_tcl()
5727 ahc_outb(ahc, SCB_64_BTT+TCL_TARGET_OFFSET(tcl), SCB_LIST_NULL); in ahc_unbusy_tcl()
5730 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_unbusy_tcl()
5736 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) in ahc_busy_tcl() argument
5744 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_busy_tcl()
5745 ahc_outb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl), scbid); in ahc_busy_tcl()
5748 target_offset = TCL_TARGET_OFFSET(tcl); in ahc_busy_tcl()
6390 u_int tcl; in ahc_abort_scbs() local
6392 tcl = BUILD_TCL(i << 4, j); in ahc_abort_scbs()
6393 scbid = ahc_index_busy_tcl(ahc, tcl); in ahc_abort_scbs()