Home
last modified time | relevance | path

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

12

/freebsd/usr.sbin/bhyve/
H A Dpci_hostbridge.c54 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 Dpci_uart.c104 pci_set_cfgdata16(pi, PCIR_DEVICE, COM_DEV); in pci_uart_init()
H A Dpci_virtio_rnd.c186 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_RANDOM); in pci_vtrnd_init()
H A Dpci_virtio_9p.c328 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_9P); in pci_vt9p_init()
H A Dpci_fbuf.c380 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x40FB); in pci_fbuf_init()
H A Dpci_virtio_block.c552 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_BLOCK); in pci_vtblk_init()
H A Dpci_virtio_net.c632 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_NET); in pci_vtnet_init()
H A Dpci_virtio_input.c730 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_INPUT); in pci_vtinput_init()
H A Dpci_virtio_console.c716 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_CONSOLE); in pci_vtcon_init()
H A Dpci_virtio_scsi.c749 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_SCSI); in pci_vtscsi_init()
H A Dpci_emul.c369 case PCIR_DEVICE: in pci_config_read_reg()
2606 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x0001); in pci_emul_dinit()
H A Dpci_hda.c1239 pci_set_cfgdata16(pi, PCIR_DEVICE, HDA_INTEL_82801G); in pci_hda_init()
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_reset.c32 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 Dagp_amd64.c124 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 Dosdep.h117 #define PCI_DEVICE_ID PCIR_DEVICE
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c528 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 Dpci_early_quirks.c299 device = pci_cfgregread(domain, bus, slot, func, PCIR_DEVICE, 2); in intel_graphics_stolen()
/freebsd/sys/dev/aic7xxx/
H A Daic79xx_pci.c292 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 Daic7xxx_pci.c749 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahc_find_pci_device()
/freebsd/sys/x86/x86/
H A Dlegacy.c128 did = pci_cfgregread(0, 0, 0, 0, PCIR_DEVICE, 2); in legacy_pci_cfgregopen()
/freebsd/sys/dev/pci/
H A Dpcireg.h85 #define PCIR_DEVICE 0x02 macro
H A Dpci.c688 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 Dmv_pci.c1191 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 Dpci.h113 #define PCI_DEVICE_ID PCIR_DEVICE
/freebsd/sys/dev/mxge/
H A Dif_mxge.c353 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()

12