/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_virtio_rnd.c | 187 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_RANDOM); in pci_vtrnd_init() 188 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vtrnd_init() 190 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_ENTROPY); in pci_vtrnd_init() 191 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_vtrnd_init()
|
H A D | pci_uart.c | 105 pci_set_cfgdata16(pi, PCIR_DEVICE, COM_DEV); in pci_uart_init() 106 pci_set_cfgdata16(pi, PCIR_VENDOR, COM_VENDOR); in pci_uart_init()
|
H A D | pci_virtio_9p.c | 379 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_9P); in pci_vt9p_init() 380 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vt9p_init() 382 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_9P); in pci_vt9p_init() 383 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_vt9p_init()
|
H A D | pci_hostbridge.c | 138 pci_set_cfgdata16(pi, PCIR_VENDOR, vendor); in pci_hostbridge_init() 139 pci_set_cfgdata16(pi, PCIR_DEVICE, device); in pci_hostbridge_init()
|
H A D | pci_virtio_block.c | 540 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_BLOCK); in pci_vtblk_init() 541 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vtblk_init() 543 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_BLOCK); in pci_vtblk_init() 544 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_vtblk_init()
|
H A D | pci_virtio_net.c | 659 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_NET); in pci_vtnet_init() 660 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vtnet_init() 662 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_NETWORK); in pci_vtnet_init() 663 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_vtnet_init()
|
H A D | pci_virtio_input.c | 731 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_INPUT); in pci_vtinput_init() 732 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vtinput_init() 736 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_SUBDEV_INPUT); in pci_vtinput_init() 737 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_SUBVEN_INPUT); in pci_vtinput_init()
|
H A D | pci_virtio_console.c | 734 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_CONSOLE); in pci_vtcon_init() 735 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vtcon_init() 737 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_CONSOLE); in pci_vtcon_init() 738 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_vtcon_init()
|
H A D | pci_virtio_scsi.c | 750 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_SCSI); in pci_vtscsi_init() 751 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_vtscsi_init() 753 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_SCSI); in pci_vtscsi_init() 754 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_vtscsi_init()
|
H A D | pci_virtio_viona.c | 760 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_NET); in pci_viona_init() 761 pci_set_cfgdata16(pi, PCIR_VENDOR, VIRTIO_VENDOR); in pci_viona_init() 763 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, VIRTIO_ID_NETWORK); in pci_viona_init() 764 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, VIRTIO_VENDOR); in pci_viona_init()
|
H A D | pci_fbuf.c | 391 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x40FB); in pci_fbuf_init() 392 pci_set_cfgdata16(pi, PCIR_VENDOR, 0xFB5D); in pci_fbuf_init()
|
H A D | pci_passthru.c | 229 pci_set_cfgdata16(pi, off + 2, sc->psc_msi.msgctrl); in passthru_intr_limit() 238 pci_set_cfgdata16(pi, off + 2, msixcap->msgctrl); in passthru_intr_limit() 638 pci_set_cfgdata16(pi, PCIR_COMMAND, cmd); in cfginit() 980 pci_set_cfgdata16(pi, PCIR_COMMAND, val & 0xffff); in passthru_cfgwrite_default()
|
H A D | pci_emul.h | 275 pci_set_cfgdata16(struct pci_devinst *pi, int offset, uint16_t val) in pci_set_cfgdata16() function
|
H A D | pci_emul.c | 172 pci_set_cfgdata16(pi, coff, val); in CFGWRITE() 840 pci_set_cfgdata16(pdi, PCIR_COMMAND, cmd | enbit); in pci_emul_alloc_bar() 1066 pci_set_cfgdata16(pi, PCIR_STATUS, sts|PCIM_STATUS_CAPPRESENT); in pci_emul_add_capability() 2467 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x0001); in pci_emul_dinit() 2468 pci_set_cfgdata16(pi, PCIR_VENDOR, 0x10DD); in pci_emul_dinit()
|
H A D | pci_e82545.c | 2362 pci_set_cfgdata16(pi, PCIR_DEVICE, E82545_DEV_ID_82545EM_COPPER); in e82545_init() 2363 pci_set_cfgdata16(pi, PCIR_VENDOR, E82545_VENDOR_ID_INTEL); in e82545_init() 2366 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, E82545_SUBDEV_ID); in e82545_init() 2367 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, E82545_VENDOR_ID_INTEL); in e82545_init()
|
H A D | pci_hda.c | 1239 pci_set_cfgdata16(pi, PCIR_VENDOR, INTEL_VENDORID); in pci_hda_init() 1240 pci_set_cfgdata16(pi, PCIR_DEVICE, HDA_INTEL_82801G); in pci_hda_init()
|
H A D | pci_ahci.c | 2552 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x2821); in pci_ahci_init() 2553 pci_set_cfgdata16(pi, PCIR_VENDOR, 0x8086); in pci_ahci_init()
|
H A D | pci_xhci.c | 2984 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x1E31); in pci_xhci_init() 2985 pci_set_cfgdata16(pi, PCIR_VENDOR, 0x8086); in pci_xhci_init()
|
H A D | pci_nvme.c | 3289 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x0A0A); in pci_nvme_init() 3290 pci_set_cfgdata16(pi, PCIR_VENDOR, 0xFB5D); in pci_nvme_init()
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | pci_lpc.c | 576 pci_set_cfgdata16(pi, PCIR_VENDOR, vendor); in pci_lpc_init() 577 pci_set_cfgdata16(pi, PCIR_DEVICE, device); in pci_lpc_init() 581 pci_set_cfgdata16(pi, PCIR_SUBVEND_0, subvendor); in pci_lpc_init() 582 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, subdevice); in pci_lpc_init()
|