static __inline u_int ahc_index_busy_tcl(ahc, tcl, unbusy) struct ahc_softc *ahc; u_int tcl; int unbusy; { u_int scbid;  scbid = ahc->untagged_scbs[tcl]; if (unbusy) { ahc->untagged_scbs[tcl] = SCB_LIST_NULL; bus_dmamap_sync(ahc->sc_dmat, ahc->shared_data_dmamap, UNTAGGEDSCB_OFFSET * 256, 256, BUS_DMASYNC_PREWRITE); }  return (scbid); }  static __inline void ahc_busy_tcl(ahc, scb) struct ahc_softc *ahc; struct scb *scb; { ahc->untagged_scbs[scb->hscb->tcl] = scb->hscb->tag; bus_dmamap_sync(ahc->sc_dmat, ahc->shared_data_dmamap, UNTAGGEDSCB_OFFSET * 256, 256, BUS_DMASYNC_PREWRITE); }
ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid){	u_int target_offset;	if ((ahc->flags & AHC_SCB_BTT) != 0) {		u_int saved_scbptr;				saved_scbptr = ahc_inb(ahc, SCBPTR);		ahc_outb(ahc, SCBPTR, TCL_LUN(tcl));		ahc_outb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl), scbid);		ahc_outb(ahc, SCBPTR, saved_scbptr);	} else {		target_offset = TCL_TARGET_OFFSET(tcl);		ahc_outb(ahc, BUSY_TARGETS + target_offset, scbid);	}}