Home
last modified time | relevance | path

Searched refs:pci_set_cfgdata16 (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_virtio_rnd.c187 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 Dpci_uart.c105 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 Dpci_virtio_9p.c379 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 Dpci_hostbridge.c138 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 Dpci_virtio_block.c540 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 Dpci_virtio_net.c659 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 Dpci_virtio_input.c731 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 Dpci_virtio_console.c734 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 Dpci_virtio_scsi.c750 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 Dpci_virtio_viona.c760 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 Dpci_fbuf.c391 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 Dpci_passthru.c229 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 Dpci_emul.h275 pci_set_cfgdata16(struct pci_devinst *pi, int offset, uint16_t val) in pci_set_cfgdata16() function
H A Dpci_emul.c172 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 Dpci_e82545.c2362 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 Dpci_hda.c1239 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 Dpci_ahci.c2552 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 Dpci_xhci.c2984 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 Dpci_nvme.c3289 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 Dpci_lpc.c576 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()