Searched refs:PCI_EXP_FLAGS (Results 1 – 3 of 3) sorted by relevance
78 pci_set_word(exp_cap + PCI_EXP_FLAGS, in pcie_cap_v1_fill()332 return (pci_get_word(dev->config + pos + PCI_EXP_FLAGS) & in pcie_cap_get_type()340 return pci_get_word(dev->config + pos + PCI_EXP_FLAGS) & PCI_EXP_FLAGS_VERS; in pcie_cap_get_version()350 pci_word_test_and_clear_mask(exp_cap + PCI_EXP_FLAGS, PCI_EXP_FLAGS_IRQ); in pcie_cap_flags_set_vector()351 pci_word_test_and_set_mask(exp_cap + PCI_EXP_FLAGS, in pcie_cap_flags_set_vector()357 return (pci_get_word(dev->config + dev->exp.exp_cap + PCI_EXP_FLAGS) & in pcie_cap_flags_get_vector()672 pci_word_test_and_set_mask(dev->config + pos + PCI_EXP_FLAGS, in pcie_cap_slot_init()
475 #define PCI_EXP_FLAGS 0x02 /* Capabilities register */ macro
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()