/src/sys/arch/prep/pnpbus/ |
if_we_pnpbus.c | 98 #define WE_DELAY(wsc) delay(3) 103 #define WE_MEM_ENABLE(wsc) \ 105 if ((wsc)->sc_16bitp) \ 106 bus_space_write_1((wsc)->sc_asict, (wsc)->sc_asich, \ 107 WE_LAAR, (wsc)->sc_laar_proto | WE_LAAR_M16EN); \ 108 bus_space_write_1((wsc)->sc_asict, (wsc)->sc_asich, \ 109 WE_MSR, wsc->sc_msr_proto | WE_MSR_MENB); \ 110 WE_DELAY((wsc)); \ 147 struct we_softc *wsc = device_private(self); local in function:we_pnpbus_attach [all...] |
/src/sys/arch/sgimips/hpc/ |
wdsc.c | 140 struct wdsc_softc *wsc = device_private(self); local in function:wdsc_attach 141 struct wd33c93_softc *sc = &wsc->sc_wd33c93; 147 wsc->sc_dmat = haa->ha_dmat; 149 wsc->sc_hpcdma.hpc = haa->hpc_regs; 163 if (bus_dmamap_create(wsc->sc_dmat, MAXPHYS, 164 wsc->sc_hpcdma.hpc->scsi_dma_segs, 165 wsc->sc_hpcdma.hpc->scsi_dma_segs_size, 166 wsc->sc_hpcdma.hpc->scsi_dma_segs_size, 167 BUS_DMA_WAITOK, &wsc->sc_dmamap) != 0) { 184 evcnt_attach_dynamic(&wsc->sc_intrcnt, EVCNT_TYPE_INTR, NULL 206 struct wdsc_softc *wsc = (struct wdsc_softc *)sc; local in function:wdsc_dmasetup 247 struct wdsc_softc *wsc = (struct wdsc_softc *)sc; local in function:wdsc_dmago 274 struct wdsc_softc *wsc = (struct wdsc_softc *)sc; local in function:wdsc_dmastop 297 struct wdsc_softc *wsc = (struct wdsc_softc *)sc; local in function:wdsc_reset 309 struct wdsc_softc *wsc = arg; local in function:wdsc_scsiintr [all...] |
/src/sys/dev/isa/ |
if_we_isa.c | 262 struct we_softc *wsc = device_private(self); local in function:we_isa_attach 263 struct dp8390_softc *sc = &wsc->sc_dp8390; 287 typestr = we_params(asict, asich, &wsc->sc_type, NULL, 288 &wsc->sc_flags, &sc->is790); 304 wsc->sc_asict = asict; 305 wsc->sc_asich = asich; 313 wsc->sc_maddr = ia->ia_iomem[0].ir_addr; 319 if (we_config(self, wsc, typestr)) 329 else if (wsc->sc_type & WE_SOFTCONFIG) 339 wsc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq[0].ir_irq [all...] |
/src/sys/dev/mca/ |
if_we_mca.c | 151 struct we_softc *wsc = device_private(self); local in function:we_mca_attach 152 struct dp8390_softc *sc = &wsc->sc_dp8390; 258 wsc->sc_type = wep->we_type; 260 wsc->sc_flags = WE_16BIT_ENABLE|WE_16BIT_NOTOGGLE; 273 wsc->sc_asict = asict; 274 wsc->sc_asich = asich; 282 wsc->sc_maddr = maddr; 287 wsc->sc_init_hook = we_mca_init_hook; 289 if (we_config(self, wsc, typestr)) 293 wsc->sc_ih = mca_intr_establish(ma->ma_mc, irq [all...] |
/src/sys/arch/atari/vme/ |
if_we_vme.c | 305 struct we_softc *wsc = &wvsc->sc_we; local in function:we_vme_attach 306 struct dp8390_softc *sc = &wsc->sc_dp8390; 350 wsc->sc_asict = asict; 351 wsc->sc_asich = asich; 359 wsc->sc_maddr = va->va_maddr & 0xfffff; 369 wsc->sc_flags |= WE_16BIT_ENABLE; 374 if (we_config(self, wsc, typestr) != 0) 384 wsc->sc_ih = intr_establish(SMCTT_VECTOR - 64, USER_VEC, 0, 386 if (wsc->sc_ih == NULL) {
|
/src/sys/dev/ic/ |
we.c | 105 #define WE_DELAY(wsc) delay(3) 110 #define WE_MEM_ENABLE(wsc) \ 111 if (((wsc)->sc_flags & WE_16BIT_NOTOGGLE) == 0) { \ 112 if ((wsc)->sc_flags & WE_16BIT_ENABLE) \ 113 bus_space_write_1((wsc)->sc_asict, (wsc)->sc_asich, \ 114 WE_LAAR, (wsc)->sc_laar_proto | WE_LAAR_M16EN); \ 115 bus_space_write_1((wsc)->sc_asict, (wsc)->sc_asich, \ 116 WE_MSR, wsc->sc_msr_proto | WE_MSR_MENB); 285 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_test_mem 342 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_write_mbuf 449 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_ring_copy 473 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_read_hdr 485 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_recv_int 495 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_media_init 551 struct we_softc *wsc = (struct we_softc *)sc; local in function:we_init_card [all...] |
/src/sys/dev/hpc/ |
hpcfb.c | 651 struct wsdisplay_softc *wsc = device_private(sc->sc_wsdisplay); local in function:hpcfb_power 653 sc->sc_screen_resumed = wsdisplay_getactivescreen(wsc); 657 wsscreen_switchwait(wsc, WSDISPLAY_NULLSCREEN);
|