/freebsd/usr.sbin/bhyve/ |
H A D | pci_hostbridge.c | 54 device = pci_config_read_reg(NULL, nvl, PCIR_DEVICE, 2, device); in pci_hostbridge_init() 58 pci_set_cfgdata16(pi, PCIR_DEVICE, device); in pci_hostbridge_init()
|
H A D | pci_uart.c | 104 pci_set_cfgdata16(pi, PCIR_DEVICE, COM_DEV); in pci_uart_init()
|
H A D | pci_virtio_rnd.c | 186 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_RANDOM); in pci_vtrnd_init()
|
H A D | pci_virtio_9p.c | 328 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_9P); in pci_vt9p_init()
|
H A D | pci_fbuf.c | 380 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x40FB); in pci_fbuf_init()
|
H A D | pci_virtio_block.c | 552 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_BLOCK); in pci_vtblk_init()
|
H A D | pci_virtio_net.c | 632 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_NET); in pci_vtnet_init()
|
H A D | pci_virtio_input.c | 730 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_INPUT); in pci_vtinput_init()
|
H A D | pci_virtio_console.c | 716 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_CONSOLE); in pci_vtcon_init()
|
H A D | pci_virtio_scsi.c | 749 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_SCSI); in pci_vtscsi_init()
|
H A D | pci_emul.c | 369 case PCIR_DEVICE: in pci_config_read_reg() 2606 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x0001); in pci_emul_dinit()
|
H A D | pci_hda.c | 1239 pci_set_cfgdata16(pi, PCIR_DEVICE, HDA_INTEL_82801G); in pci_hda_init()
|
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_reset.c | 32 device_id1 = pci_read_config(pdev, PCIR_DEVICE, 2); in adf_c4xxx_dev_reset() 38 device_id2 = pci_read_config(pdev, PCIR_DEVICE, 2); in adf_c4xxx_dev_reset()
|
/freebsd/sys/dev/agp/ |
H A D | agp_amd64.c | 124 pci_cfgregread(0, 0, 11, 0, PCIR_DEVICE, 2) != devid) in agp_amd64_nvidia_match() 137 pci_cfgregread(0, 0, 1, 0, PCIR_DEVICE, 2) != 0xb188 || in agp_amd64_via_match()
|
/freebsd/sys/dev/cxgbe/ |
H A D | osdep.h | 117 #define PCI_DEVICE_ID PCIR_DEVICE
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | pci_lpc.c | 528 device = pci_config_read_reg(selp, nvl, PCIR_DEVICE, 2, LPC_DEV); in pci_lpc_init() 537 pci_set_cfgdata16(pi, PCIR_DEVICE, device); in pci_lpc_init()
|
/freebsd/sys/x86/pci/ |
H A D | pci_early_quirks.c | 299 device = pci_cfgregread(domain, bus, slot, func, PCIR_DEVICE, 2); in intel_graphics_stolen()
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx_pci.c | 292 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahd_find_pci_device() 343 PCIR_DEVICE, /*bytes*/2); in ahd_pci_config()
|
H A D | aic7xxx_pci.c | 749 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahc_find_pci_device()
|
/freebsd/sys/x86/x86/ |
H A D | legacy.c | 128 did = pci_cfgregread(0, 0, 0, 0, PCIR_DEVICE, 2); in legacy_pci_cfgregopen()
|
/freebsd/sys/dev/pci/ |
H A D | pcireg.h | 85 #define PCIR_DEVICE 0x02 macro
|
H A D | pci.c | 688 did = REG(PCIR_DEVICE, 2); in pci_read_device() 5967 } else if (reg == PCIR_DEVICE) { in pci_read_config_method() 6302 dinfo->cfg.device = pci_read_config(dev, PCIR_DEVICE, 2); in pci_cfg_save()
|
/freebsd/sys/arm/mv/ |
H A D | mv_pci.c | 1191 device = mv_pcib_hw_cfgread(sc, bus, slot, func, PCIR_DEVICE, in mv_pcib_root_slot()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | pci.h | 113 #define PCI_DEVICE_ID PCIR_DEVICE
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge.c | 353 device_id = pci_read_config(pdev, PCIR_DEVICE, 2); in mxge_enable_nvidia_ecrc() 368 0x0369 == pci_read_config(mcp55, PCIR_DEVICE, 2)) { in mxge_enable_nvidia_ecrc() 429 device_id = *(uint16_t *)(cfgptr + PCIR_DEVICE); in mxge_enable_nvidia_ecrc()
|