Lines Matching defs:esc
126 struct esp_softc *esc = device_private(self);
127 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
139 esc->sc_bst = ca->ca_bustag;
140 if (bus_space_map(esc->sc_bst, ca->ca_paddr, ESP_REG_SIZE, 0,
141 &esc->sc_bsh) != 0) {
153 esc->sc_dma = espdmafind(device_unit(self));
154 esc->sc_dma->sc_client = sc; /* Point back to us */
256 struct esp_softc *esc = (struct esp_softc *)sc;
258 return bus_space_read_1(esc->sc_bst, esc->sc_bsh, reg * 4);
264 struct esp_softc *esc = (struct esp_softc *)sc;
266 bus_space_write_1(esc->sc_bst, esc->sc_bsh, reg * 4, val);
272 struct esp_softc *esc = (struct esp_softc *)sc;
274 return DMA_ISINTR(esc->sc_dma);
280 struct esp_softc *esc = (struct esp_softc *)sc;
282 dma_reset(esc->sc_dma);
288 struct esp_softc *esc = (struct esp_softc *)sc;
290 return espdmaintr(esc->sc_dma);
297 struct esp_softc *esc = (struct esp_softc *)sc;
299 return dma_setup(esc->sc_dma, addr, len, datain, dmasize);
305 struct esp_softc *esc = (struct esp_softc *)sc;
307 DMA_GO(esc->sc_dma);
313 struct esp_softc *esc = (struct esp_softc *)sc;
315 DMA_STOP(esc->sc_dma);
321 struct esp_softc *esc = (struct esp_softc *)sc;
323 return DMA_ISACTIVE(esc->sc_dma);