| /netbsd/src/sys/arch/sparc64/dev/ |
| D | vdsk.c | 174 struct vdsk_dring *sc_vd; member 306 sc->sc_vd = vdsk_dring_alloc(sc->sc_dmatag, 32); in vdsk_attach() 308 sc->sc_vd = vdsk_dring_alloc(32); in vdsk_attach() 313 sc->sc_lm->lm_slot[0].entry = sc->sc_vd->vd_map->dm_segs[0].ds_addr; in vdsk_attach() 315 va = (vaddr_t)sc->sc_vd->vd_desc; in vdsk_attach() 382 sc->sc_adapter.adapt_openings = sc->sc_vd->vd_nentries - 1; in vdsk_attach() 383 sc->sc_adapter.adapt_max_periph = sc->sc_vd->vd_nentries - 1; in vdsk_attach() 769 while (sc->sc_vd->vd_desc[cons].hdr.dstate == VIO_DESC_DONE) { in vdsk_rx_vio_dring_data() 774 cons &= (sc->sc_vd->vd_nentries - 1); in vdsk_rx_vio_dring_data() 871 dr.num_descriptors = sc->sc_vd->vd_nentries; in vdsk_send_dring_reg() [all …]
|
| D | vnet.c | 170 struct vnet_dring *sc_vd; member 816 cons = sc->sc_tx_cons & (sc->sc_vd->vd_nentries - 1); in vnet_rx_vio_desc_data() 935 cons = sc->sc_tx_cons & (sc->sc_vd->vd_nentries - 1); in vnet_rx_vio_dring_data() 936 while (sc->sc_vd->vd_desc[cons].hdr.dstate == VIO_DESC_DONE) { in vnet_rx_vio_dring_data() 943 sc->sc_vd->vd_desc[cons].hdr.dstate = VIO_DESC_FREE; in vnet_rx_vio_dring_data() 945 cons = sc->sc_tx_cons & (sc->sc_vd->vd_nentries - 1); in vnet_rx_vio_dring_data() 990 for (i = 0; i < sc->sc_vd->vd_nentries; i++) { in vnet_ldc_reset() 995 sc->sc_vd->vd_desc[i].hdr.dstate = VIO_DESC_FREE; in vnet_ldc_reset() 1072 dr.num_descriptors = sc->sc_vd->vd_nentries; in vnet_send_dring_reg() 1182 start = prod = sc->sc_tx_prod & (sc->sc_vd->vd_nentries - 1); in vnet_start() [all …]
|
| /netbsd/src/sys/arch/vax/vsa/ |
| D | ncr.c | 93 struct vsbus_dma sc_vd; member 230 sc->sc_vd.vd_go = si_dma_go; in si_vsbus_attach() 231 sc->sc_vd.vd_arg = sc; in si_vsbus_attach() 330 vsbus_dma_start(&sc->sc_vd); in si_dma_start()
|
| D | hdc9224.c | 134 struct vsbus_dma sc_vd; member 302 sc->sc_vd.vd_go = hdc_qstart; in hdcattach() 303 sc->sc_vd.vd_arg = sc; in hdcattach() 471 vsbus_dma_start(&sc->sc_vd); in rdstrategy() 488 vsbus_dma_start(&sc->sc_vd); /* More to go */ in hdc_qstart()
|
| /netbsd/src/sys/arch/usermode/dev/ |
| D | vncfb.c | 88 struct vcons_data sc_vd; member 248 vcons_init(&sc->sc_vd, sc, &vncfb_defaultscreen, &vncfb_accessops); in vncfb_attach() 249 sc->sc_vd.init_screen = vncfb_init_screen; in vncfb_attach() 252 vcons_init_screen(&sc->sc_vd, &vncfb_console_screen, 1, &defattr); in vncfb_attach() 265 waa.accesscookie = &sc->sc_vd; in vncfb_attach()
|
| /netbsd/src/sys/arch/amiga/dev/ |
| D | zz9k_fb.c | 126 struct vcons_data sc_vd; member 302 vcons_init(&sc->sc_vd, sc, &sc->sc_defaultscreen, &zzfb_accessops); in zzfb_attach() 303 sc->sc_vd.init_screen = zzfb_init_screen; in zzfb_attach() 309 vcons_init_screen(&sc->sc_vd, &sc->sc_console_screen, 1, in zzfb_attach() 324 vcons_init_screen(&sc->sc_vd, &sc->sc_console_screen, 1, in zzfb_attach() 340 ws_aa.accesscookie = &sc->sc_vd; in zzfb_attach()
|
| /netbsd/src/sys/dev/pci/ |
| D | lynxfb.c | 124 struct vcons_data sc_vd; member 340 vcons_init(&sc->sc_vd, sc, &fb->wsd, &lynxfb_accessops); in lynxfb_attach() 341 sc->sc_vd.init_screen = lynxfb_init_screen; in lynxfb_attach() 345 vcons_init_screen(&sc->sc_vd, &fb->vcs, 1, &defattr); in lynxfb_attach() 365 waa.accesscookie = &sc->sc_vd; in lynxfb_attach()
|
| D | unichromefb.c | 97 struct vcons_data sc_vd; member 322 vcons_init(&sc->sc_vd, sc, &unichromefb_stdscreen, in unichromefb_attach() 324 sc->sc_vd.init_screen = unichromefb_init_screen; in unichromefb_attach() 338 vcons_init_screen(&sc->sc_vd, &unichromefb_console_screen, 1, &defattr); in unichromefb_attach() 351 aa.accesscookie = &sc->sc_vd; in unichromefb_attach()
|
| /netbsd/src/sys/arch/sparc/dev/ |
| D | cgfourteenvar.h | 92 struct vcons_data sc_vd; member
|
| D | cgfourteen.c | 527 vcons_redraw_screen(sc->sc_vd.active); in cgfourteenunblank() 757 vcons_init(&sc->sc_vd, sc, &sc->sc_defaultscreen_descr, in cg14_setup_wsdisplay() 759 sc->sc_vd.init_screen = cg14_init_screen; in cg14_setup_wsdisplay() 760 sc->sc_vd.show_screen_cookie = &sc->sc_gc; in cg14_setup_wsdisplay() 761 sc->sc_vd.show_screen_cb = glyphcache_adapt; in cg14_setup_wsdisplay() 770 vcons_init_screen(&sc->sc_vd, &sc->sc_console_screen, 1, in cg14_setup_wsdisplay() 805 aa.accesscookie = &sc->sc_vd; in cg14_setup_wsdisplay() 1329 sc->sc_vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]); in cg14_rectfill_a()
|
| /netbsd/src/sys/arch/sgimips/dev/ |
| D | crmfb.c | 133 struct vcons_data sc_vd; member 391 vcons_init(&sc->sc_vd, sc, &crmfb_defaultscreen, &crmfb_accessops); in crmfb_attach() 392 sc->sc_vd.init_screen = crmfb_init_screen; in crmfb_attach() 394 vcons_init_screen(&sc->sc_vd, &crmfb_console_screen, 1, &defattr); in crmfb_attach() 415 aa.accesscookie = &sc->sc_vd; in crmfb_attach()
|