Home
last modified time | relevance | path

Searched refs:virtio_softc (Results 1 – 15 of 15) sorted by relevance

/netbsd/sys/dev/pci/
H A Dvirtiovar.h74 struct virtio_softc *vq_owner;
131 void (*kick)(struct virtio_softc *, uint16_t);
134 void (*set_status)(struct virtio_softc *, int);
141 struct virtio_softc { struct
177 struct virtio_softc; argument
210 void virtio_reset(struct virtio_softc *);
211 int virtio_reinit_start(struct virtio_softc *);
212 void virtio_reinit_end(struct virtio_softc *);
219 void virtio_child_detach(struct virtio_softc *);
243 device_t virtio_child(struct virtio_softc *);
[all …]
H A Dvirtio.c71 static void virtio_reset_vq(struct virtio_softc *,
95 virtio_reset(struct virtio_softc *sc) in virtio_reset()
101 virtio_reinit_start(struct virtio_softc *sc) in virtio_reinit_start()
136 virtio_reinit_end(struct virtio_softc *sc) in virtio_reinit_end()
437 struct virtio_softc *sc = arg; in virtio_soft_intr()
454 virtio_vq_intr(struct virtio_softc *sc) in virtio_vq_intr()
1423 virtio_child_detach(struct virtio_softc *sc) in virtio_child_detach()
1455 virtio_dmat(struct virtio_softc *sc) in virtio_dmat()
1461 virtio_child(struct virtio_softc *sc) in virtio_child()
1467 virtio_intrhand(struct virtio_softc *sc) in virtio_intrhand()
[all …]
H A Dvirtio_pci.c75 struct virtio_softc sc_sc;
230 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_attach()
308 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_rescan()
330 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_detach()
357 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_attach_09()
400 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_attach_10()
591 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_adjust_config_region()
1157 virtio_pci_free_interrupts(struct virtio_softc *sc) in virtio_pci_free_interrupts()
1195 struct virtio_softc *sc = arg; in virtio_pci_intr()
1219 struct virtio_softc *sc = arg; in virtio_pci_msix_queue_intr()
[all …]
H A Dif_vioif.c313 struct virtio_softc *sc_virtio;
374 struct virtio_softc *, size_t);
376 struct virtio_softc *);
378 struct virtio_softc *);
704 struct virtio_softc *vsc = sc->sc_virtio; in vioif_init()
752 struct virtio_softc *vsc = sc->sc_virtio; in vioif_stop()
1740 struct virtio_softc *vsc = vq->vq_owner; in vioif_populate_rx_mbufs_locked()
1884 struct virtio_softc *vsc = vq->vq_owner; in vioif_rx_handle_locked()
1917 struct virtio_softc *vsc = vq->vq_owner; in vioif_rx_intr()
1946 struct virtio_softc *vsc = vq->vq_owner; in vioif_rx_handle()
[all …]
H A Dviomb.c78 struct virtio_softc *sc_virtio;
99 static int viomb_config_change(struct virtio_softc *);
126 struct virtio_softc *vsc = device_private(parent); in viomb_attach()
248 viomb_config_change(struct virtio_softc *vsc) in viomb_config_change()
274 struct virtio_softc *vsc = sc->sc_virtio; in inflate()
329 struct virtio_softc *vsc = vq->vq_owner; in inflateq_done()
343 struct virtio_softc *vsc = sc->sc_virtio; in inflate_done()
385 struct virtio_softc *vsc = sc->sc_virtio; in deflate()
446 struct virtio_softc *vsc = vq->vq_owner; in deflateq_done()
460 struct virtio_softc *vsc = sc->sc_virtio; in deflate_done()
H A Dvioscsi.c81 struct virtio_softc *, int);
83 struct virtio_softc *);
87 static void vioscsi_req_done(struct vioscsi_softc *, struct virtio_softc *,
117 struct virtio_softc *vsc = device_private(parent); in vioscsi_attach()
222 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); in vioscsi_detach()
269 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); in vioscsi_scsipi_request()
451 vioscsi_req_done(struct vioscsi_softc *sc, struct virtio_softc *vsc, in vioscsi_req_done()
523 struct virtio_softc *vsc = vq->vq_owner; in vioscsi_vq_done()
555 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); in vioscsi_req_get()
578 vioscsi_alloc_reqs(struct vioscsi_softc *sc, struct virtio_softc *vsc, in vioscsi_alloc_reqs()
[all …]
H A Dviornd.c65 struct virtio_softc *sc_virtio;
87 struct virtio_softc *vsc = sc->sc_virtio; in viornd_get()
131 struct virtio_softc *vsc = device_private(parent); in viornd_attach()
223 struct virtio_softc *vsc = vq->vq_owner; in viornd_vq_done()
H A Dld_virtio.c131 struct virtio_softc *sc_virtio;
265 struct virtio_softc *vsc = device_private(parent); in ld_virtio_attach()
388 struct virtio_softc *vsc = sc->sc_virtio; in ld_virtio_start()
456 ld_virtio_vq_done1(struct ld_virtio_softc *sc, struct virtio_softc *vsc, in ld_virtio_vq_done1()
501 struct virtio_softc *vsc = vq->vq_owner; in ld_virtio_vq_done()
519 struct virtio_softc *vsc = sc->sc_virtio; in ld_virtio_dump()
651 struct virtio_softc * const vsc = sc->sc_virtio; in ld_virtio_flush()
736 struct virtio_softc * const vsc = sc->sc_virtio; in ld_virtio_getcache()
753 struct virtio_softc * const vsc = sc->sc_virtio; in ld_virtio_setcache()
H A Dvio9p.c92 struct virtio_softc *sc_virtio;
220 struct virtio_softc *vsc = sc->sc_virtio; in vio9p_read()
316 struct virtio_softc *vsc = sc->sc_virtio; in vio9p_write()
490 struct virtio_softc *vsc = device_private(parent); in vio9p_attach()
605 struct virtio_softc *vsc = vq->vq_owner; in vio9p_request_done()
/netbsd/sys/dev/virtio/
H A Dvirtio_mmio.c86 static void virtio_mmio_kick(struct virtio_softc *, uint16_t);
89 static void virtio_mmio_set_status(struct virtio_softc *, int);
91 static int virtio_mmio_alloc_interrupts(struct virtio_softc *);
92 static void virtio_mmio_free_interrupts(struct virtio_softc *);
130 virtio_mmio_set_status(struct virtio_softc *vsc, int status) in virtio_mmio_set_status()
155 struct virtio_softc *vsc = &sc->sc_sc; in virtio_mmio_common_attach()
211 struct virtio_softc *vsc = &sc->sc_sc; in virtio_mmio_common_detach()
260 struct virtio_softc *vsc = &sc->sc_sc; in virtio_mmio_intr()
283 virtio_mmio_kick(struct virtio_softc *vsc, uint16_t idx) in virtio_mmio_kick()
291 virtio_mmio_alloc_interrupts(struct virtio_softc *vsc) in virtio_mmio_alloc_interrupts()
[all …]
H A Dviocon.c124 struct virtio_softc *sc_virtio;
198 struct virtio_softc *vsc = device_private(parent); in viocon_attach()
241 struct virtio_softc *vsc = sc->sc_virtio; in viocon_port_create()
329 struct virtio_softc *vsc = vq->vq_owner; in viocon_tx_drain()
346 struct virtio_softc *vsc = vq->vq_owner; in viocon_tx_intr()
367 struct virtio_softc *vsc = vp->vp_sc->sc_virtio; in viocon_rx_fill()
388 struct virtio_softc *vsc = vq->vq_owner; in viocon_rx_intr()
402 struct virtio_softc *vsc = vq->vq_owner; in viocon_rx_soft()
425 struct virtio_softc *vsc; in vioconstart()
H A Dvirtio_mmiovar.h34 struct virtio_softc sc_sc;
/netbsd/sys/arch/evbmips/mipssim/
H A Dvirtio_mainbus.c86 struct virtio_softc *vsc = &msc->sc_sc; in virtio_mainbus_attach()
121 struct virtio_softc *vsc = &msc->sc_sc; in virtio_mainbus_rescan()
152 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mainbus_alloc_interrupts()
/netbsd/sys/dev/fdt/
H A Dvirtio_mmio_fdt.c77 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mmio_fdt_attach()
117 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mmio_fdt_rescan()
147 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mmio_fdt_alloc_interrupts()
/netbsd/sys/dev/acpi/
H A Dvirtio_acpi.c84 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_acpi_attach()
154 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_acpi_rescan()
175 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_acpi_alloc_interrupts()