Searched refs:PCI_EXP_FLAGS (Results 1 – 14 of 14) sorted by relevance
/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 78 pci_set_word(exp_cap + PCI_EXP_FLAGS, in pcie_cap_v1_fill() 299 return (pci_get_word(dev->config + pos + PCI_EXP_FLAGS) & in pcie_cap_get_type() 307 return pci_get_word(dev->config + pos + PCI_EXP_FLAGS) & PCI_EXP_FLAGS_VERS; in pcie_cap_get_version() 317 pci_word_test_and_clear_mask(exp_cap + PCI_EXP_FLAGS, PCI_EXP_FLAGS_IRQ); in pcie_cap_flags_set_vector() 318 pci_word_test_and_set_mask(exp_cap + PCI_EXP_FLAGS, in pcie_cap_flags_set_vector() 324 return (pci_get_word(dev->config + dev->exp.exp_cap + PCI_EXP_FLAGS) & in pcie_cap_flags_get_vector() 639 pci_word_test_and_set_mask(dev->config + pos + PCI_EXP_FLAGS, in pcie_cap_slot_init()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | portdrv.c | 71 pcie_capability_read_word(dev, PCI_EXP_FLAGS, ®16); in pcie_message_numbers()
|
/openbmc/linux/drivers/pci/ |
H A D | access.c | 378 case PCI_EXP_FLAGS: in pcie_capability_reg_implemented()
|
H A D | probe.c | 1540 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); in set_pcie_port_type()
|
H A D | quirks.c | 5469 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); in quirk_intel_qat_vf_cap()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rcar-ep.c | 44 rcar_rmw32(pcie, REXPCAP(PCI_EXP_FLAGS), in rcar_pcie_ep_hw_init()
|
H A D | pcie-rcar-host.c | 465 rcar_rmw32(pcie, REXPCAP(PCI_EXP_FLAGS), in rcar_pcie_hw_init()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | eeh_pseries.c | 415 rtas_read_config(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pseries_eeh_init_edev()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 473 #define PCI_EXP_FLAGS 0x02 /* Capabilities register */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 474 #define PCI_EXP_FLAGS 0x02 /* Capabilities register */ macro
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | pnv_php.c | 732 pcie_capability_read_word(pdev, PCI_EXP_FLAGS, &pcie_flag); in pnv_php_enable_msix()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_config_init.c | 843 if (xen_host_pci_get_byte(&s->real_device, offset + PCI_EXP_FLAGS, &flag)) { in get_capability_version() 853 if (xen_host_pci_get_byte(&s->real_device, offset + PCI_EXP_FLAGS, &flag)) { in get_device_type()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | eeh-powernv.c | 365 pnv_pci_cfg_read(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pnv_eeh_probe()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 6310 pcie_capability_read_word(pbridge, PCI_EXP_FLAGS, &flags); in cxgb4_iov_configure()
|