Home
last modified time | relevance | path

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

12

/freebsd-14-stable/usr.sbin/bhyve/
HDpci_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()
HDpci_uart.c105 pci_set_cfgdata16(pi, PCIR_DEVICE, COM_DEV); in pci_uart_init()
HDpci_virtio_rnd.c187 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_RANDOM); in pci_vtrnd_init()
HDpci_virtio_9p.c329 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_9P); in pci_vt9p_init()
HDpci_fbuf.c384 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x40FB); in pci_fbuf_init()
HDpci_virtio_block.c553 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_BLOCK); in pci_vtblk_init()
HDpci_virtio_net.c633 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_NET); in pci_vtnet_init()
HDpci_virtio_input.c731 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_INPUT); in pci_vtinput_init()
HDpci_virtio_console.c717 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_CONSOLE); in pci_vtcon_init()
HDpci_virtio_scsi.c750 pci_set_cfgdata16(pi, PCIR_DEVICE, VIRTIO_DEV_SCSI); in pci_vtscsi_init()
HDpci_emul.c363 case PCIR_DEVICE: in pci_config_read_reg()
2582 pci_set_cfgdata16(pi, PCIR_DEVICE, 0x0001); in pci_emul_dinit()
HDpci_hda.c1240 pci_set_cfgdata16(pi, PCIR_DEVICE, HDA_INTEL_82801G); in pci_hda_init()
/freebsd-14-stable/sys/dev/qat/qat_hw/qat_c4xxx/
HDadf_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-14-stable/sys/dev/agp/
HDagp_amd64.c125 pci_cfgregread(0, 0, 11, 0, PCIR_DEVICE, 2) != devid) in agp_amd64_nvidia_match()
138 pci_cfgregread(0, 0, 1, 0, PCIR_DEVICE, 2) != 0xb188 || in agp_amd64_via_match()
/freebsd-14-stable/sys/dev/cxgbe/
HDosdep.h117 #define PCI_DEVICE_ID PCIR_DEVICE
/freebsd-14-stable/usr.sbin/bhyve/amd64/
HDpci_lpc.c544 device = pci_config_read_reg(selp, nvl, PCIR_DEVICE, 2, LPC_DEV); in pci_lpc_init()
553 pci_set_cfgdata16(pi, PCIR_DEVICE, device); in pci_lpc_init()
/freebsd-14-stable/sys/x86/pci/
HDpci_early_quirks.c300 device = pci_cfgregread(domain, bus, slot, func, PCIR_DEVICE, 2); in intel_graphics_stolen()
/freebsd-14-stable/sys/dev/aic7xxx/
HDaic79xx_pci.c298 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahd_find_pci_device()
349 PCIR_DEVICE, /*bytes*/2); in ahd_pci_config()
HDaic7xxx_pci.c756 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahc_find_pci_device()
/freebsd-14-stable/sys/x86/x86/
HDlegacy.c128 did = pci_cfgregread(0, 0, 0, 0, PCIR_DEVICE, 2); in legacy_pci_cfgregopen()
/freebsd-14-stable/sys/dev/pci/
HDpcireg.h85 #define PCIR_DEVICE 0x02 macro
HDpci.c702 did = REG(PCIR_DEVICE, 2); in pci_read_device()
6071 } else if (reg == PCIR_DEVICE) { in pci_read_config_method()
6406 dinfo->cfg.device = pci_read_config(dev, PCIR_DEVICE, 2); in pci_cfg_save()
/freebsd-14-stable/sys/arm/mv/
HDmv_pci.c1224 device = mv_pcib_hw_cfgread(sc, bus, slot, func, PCIR_DEVICE, in mv_pcib_root_slot()
/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDpci.h113 #define PCI_DEVICE_ID PCIR_DEVICE
/freebsd-14-stable/sys/dev/mxge/
HDif_mxge.c354 device_id = pci_read_config(pdev, PCIR_DEVICE, 2); in mxge_enable_nvidia_ecrc()
369 0x0369 == pci_read_config(mcp55, PCIR_DEVICE, 2)) { in mxge_enable_nvidia_ecrc()
430 device_id = *(uint16_t *)(cfgptr + PCIR_DEVICE); in mxge_enable_nvidia_ecrc()

12