Lines Matching defs:esc
124 struct esp_softc *esc = device_private(self);
125 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
132 esc->sc_bustag = oba->oba_bustag;
133 esc->sc_dmatag = oba->oba_dmatag;
145 esc->sc_dma = device_private(dma_dev);
146 esc->sc_dma->sc_client = sc;
151 &esc->sc_reg) != 0) {
243 bus_intr_establish(esc->sc_bustag, oba->oba_pri, IPL_BIO,
264 struct esp_softc *esc = (struct esp_softc *)sc;
266 return bus_space_read_1(esc->sc_bustag, esc->sc_reg, reg * 4);
272 struct esp_softc *esc = (struct esp_softc *)sc;
274 bus_space_write_1(esc->sc_bustag, esc->sc_reg, reg * 4, v);
280 struct esp_softc *esc = (struct esp_softc *)sc;
282 return DMA_ISINTR(esc->sc_dma);
288 struct esp_softc *esc = (struct esp_softc *)sc;
290 DMA_RESET(esc->sc_dma);
296 struct esp_softc *esc = (struct esp_softc *)sc;
298 return DMA_INTR(esc->sc_dma);
305 struct esp_softc *esc = (struct esp_softc *)sc;
307 return DMA_SETUP(esc->sc_dma, addr, len, datain, dmasize);
313 struct esp_softc *esc = (struct esp_softc *)sc;
315 DMA_GO(esc->sc_dma);
321 struct esp_softc *esc = (struct esp_softc *)sc;
324 csr = L64854_GCSR(esc->sc_dma);
326 L64854_SCSR(esc->sc_dma, csr);
332 struct esp_softc *esc = (struct esp_softc *)sc;
334 return DMA_ISACTIVE(esc->sc_dma);