Home
last modified time | relevance | path

Searched refs:pci_devinst (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_emul.h51 struct pci_devinst;
58 int (*pe_init)(struct pci_devinst *, nvlist_t *);
63 void (*pe_write_dsdt)(struct pci_devinst *);
66 int (*pe_cfgwrite)(struct pci_devinst *pi, int offset,
68 int (*pe_cfgread)(struct pci_devinst *pi, int offset,
72 void (*pe_barwrite)(struct pci_devinst *pi, int baridx,
74 uint64_t (*pe_barread)(struct pci_devinst *pi, int baridx,
77 void (*pe_baraddr)(struct pci_devinst *pi,
80 void (*pe_lintrupdate)(struct pci_devinst *pi);
123 struct pci_devinst { struct
[all …]
H A Dpci_emul.c90 struct pci_devinst *fi_devi;
125 struct pci_devinst *pdi;
136 struct pci_devinst *pdi;
160 static void pci_lintr_route(struct pci_devinst *pi);
161 static void pci_lintr_update(struct pci_devinst *pi);
166 CFGWRITE(struct pci_devinst *pi, int coff, uint32_t val, int bytes) in CFGWRITE()
178 CFGREAD(struct pci_devinst *pi, int coff, int bytes) in CFGREAD()
398 pci_valid_pba_offset(struct pci_devinst *pi, uint64_t offset) in pci_valid_pba_offset()
412 pci_emul_msix_twrite(struct pci_devinst *pi, uint64_t offset, int size, in pci_emul_msix_twrite()
448 pci_emul_msix_tread(struct pci_devinst *pi, uint64_t offset, int size) in pci_emul_msix_tread()
[all …]
H A Dpci_irq.h33 struct pci_devinst;
35 void pci_irq_assert(struct pci_devinst *pi);
36 void pci_irq_deassert(struct pci_devinst *pi);
40 int pirq_alloc_pin(struct pci_devinst *pi);
H A Dpci_uart.c51 struct pci_devinst *pi = arg; in pci_uart_intr_assert()
59 struct pci_devinst *pi = arg; in pci_uart_intr_deassert()
65 pci_uart_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in pci_uart_write()
75 pci_uart_read(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in pci_uart_read()
96 pci_uart_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_uart_init()
H A Dpci_passthru.h18 struct pci_devinst *pi, int coff, int bytes, uint32_t *rv);
20 struct pci_devinst *pi, int coff, int bytes, uint32_t val);
26 int passthru_cfgread_emulate(struct passthru_softc *sc, struct pci_devinst *pi,
28 int passthru_cfgwrite_emulate(struct passthru_softc *sc, struct pci_devinst *pi,
H A Dpci_passthru.c68 struct pci_devinst *psc_pi;
184 passthru_add_msicap(struct pci_devinst *pi, int msgnum, int nextptr) in passthru_add_msicap()
210 struct pci_devinst *pi = sc->psc_pi; in passthru_intr_limit()
248 struct pci_devinst *pi = sc->psc_pi; in cfginitmsi()
353 struct pci_devinst *pi; in msix_table_read()
428 struct pci_devinst *pi; in msix_table_write()
494 struct pci_devinst *pi = sc->psc_pi; in init_msix_table()
557 struct pci_devinst *pi = sc->psc_pi; in cfginitbar()
618 struct pci_devinst *pi = sc->psc_pi; in cfginit()
771 passthru_init(struct pci_devinst *pi, nvlist_t *nvl) in passthru_init()
[all …]
H A Dvirtio.h199 struct pci_devinst;
240 struct pci_devinst *vs_pi; /* PCI device instance */
423 void *dev_softc, struct pci_devinst *pi,
438 uint64_t vi_pci_read(struct pci_devinst *pi, int baridx, uint64_t offset,
440 void vi_pci_write(struct pci_devinst *pi, int baridx, uint64_t offset,
H A Dpci_fbuf.c86 struct pci_devinst *fsc_pi;
120 pci_fbuf_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in pci_fbuf_write()
174 pci_fbuf_read(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in pci_fbuf_read()
219 pci_fbuf_baraddr(struct pci_devinst *pi, int baridx, int enabled, in pci_fbuf_baraddr()
376 pci_fbuf_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_fbuf_init()
H A Dblock_if.h60 struct pci_devinst;
66 int blockif_add_boot_device(struct pci_devinst *const pi, struct blockif_ctxt *const bc);
H A Dpci_virtio_viona.c182 pci_viona_iosize(struct pci_devinst *pi) in pci_viona_iosize()
691 pci_viona_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_viona_init()
816 viona_adjust_offset(struct pci_devinst *pi, uint64_t offset) in viona_adjust_offset()
833 pci_viona_ring_set_msix(struct pci_devinst *pi, uint_t ring) in pci_viona_ring_set_msix()
866 pci_viona_lintrupdate(struct pci_devinst *pi) in pci_viona_lintrupdate()
887 pci_viona_msix_update(struct pci_devinst *pi, uint64_t offset) in pci_viona_msix_update()
941 pci_viona_baraddr(struct pci_devinst *pi, int baridx, int enabled, in pci_viona_baraddr()
972 pci_viona_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in pci_viona_write()
1076 pci_viona_read(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in pci_viona_read()
H A Dpci_irq.c157 pci_irq_assert(struct pci_devinst *pi) in pci_irq_assert()
180 pci_irq_deassert(struct pci_devinst *pi) in pci_irq_deassert()
203 pirq_alloc_pin(struct pci_devinst *pi) in pirq_alloc_pin()
H A Dpci_hda.c117 struct pci_devinst *pci_dev;
209 static int pci_hda_init(struct pci_devinst *pi, nvlist_t *nvl);
210 static void pci_hda_write(struct pci_devinst *pi, int baridx, uint64_t offset,
212 static uint64_t pci_hda_read(struct pci_devinst *pi, int baridx,
365 struct pci_devinst *pi = sc->pci_dev; in hda_update_intr()
863 struct pci_devinst *pi = sc->pci_dev; in hda_dma_get_vaddr()
1233 pci_hda_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_hda_init()
1265 pci_hda_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in pci_hda_write()
1282 pci_hda_read(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in pci_hda_read()
H A Dnet_utils.h34 void net_genmac(struct pci_devinst *pi, uint8_t *macaddr);
H A Dnet_utils.c98 net_genmac(struct pci_devinst *pi, uint8_t *macaddr) in net_genmac()
H A Dvirtio.c69 void *dev_softc, struct pci_devinst *pi, in vi_softc_linkup()
560 vi_pci_read(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in vi_pci_read()
679 vi_pci_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in vi_pci_write()
H A Dpci_hostbridge.c63 pci_hostbridge_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_hostbridge_init()
H A Dpci_virtio_rnd.c141 pci_vtrnd_init(struct pci_devinst *pi, nvlist_t *nvl __unused) in pci_vtrnd_init()
H A Dpci_virtio_scsi.c246 static int pci_vtscsi_init(struct pci_devinst *, nvlist_t *);
699 pci_vtscsi_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_vtscsi_init()
H A Dpci_ahci.c194 struct pci_devinst *asc_pi;
229 struct pci_devinst *pi = sc->asc_pi; in ahci_generate_intr()
279 struct pci_devinst *pi = sc->asc_pi; in ahci_port_intr()
2190 pci_ahci_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in pci_ahci_write()
2284 pci_ahci_read(struct pci_devinst *pi, int baridx, uint64_t regoff, int size) in pci_ahci_read()
2411 pci_ahci_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_ahci_init()
H A Dpci_virtio_9p.c267 pci_vt9p_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_vt9p_init()
H A Dpci_e82545.c248 struct pci_devinst *esc_pi;
2147 e82545_write(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in e82545_write()
2197 e82545_read(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in e82545_read()
2340 e82545_init(struct pci_devinst *pi, nvlist_t *nvl) in e82545_init()
H A Dpci_virtio_block.c430 pci_vtblk_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_vtblk_init()
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dioapic.h33 struct pci_devinst;
39 int ioapic_pci_alloc_irq(struct pci_devinst *pi);
H A Dpci_lpc.c72 static struct pci_devinst *lpc_bridge;
329 pci_lpc_write_dsdt(struct pci_devinst *pi) in pci_lpc_write_dsdt()
449 pci_lpc_cfgwrite(struct pci_devinst *pi, int coff, int bytes, uint32_t val) in pci_lpc_cfgwrite()
469 pci_lpc_write(struct pci_devinst *pi __unused, int baridx __unused, in pci_lpc_write()
475 pci_lpc_read(struct pci_devinst *pi __unused, int baridx __unused, in pci_lpc_read()
536 pci_lpc_init(struct pci_devinst *pi, nvlist_t *nvl) in pci_lpc_init()
H A Dioapic.c71 ioapic_pci_alloc_irq(struct pci_devinst *pi) in ioapic_pci_alloc_irq()

12