Home
last modified time | relevance | path

Searched refs:PCI_EXP_FLAGS_TYPE (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/include/hw/pci/
H A Dpcie_regs.h33 #define PCI_EXP_FLAGS_TYPE_SHIFT ctz32(PCI_EXP_FLAGS_TYPE)
/openbmc/linux/arch/sh/drivers/pci/
H A Dpcie-sh7786.c320 data &= ~(PCI_EXP_FLAGS_TYPE << 16); in pcie_init()
/openbmc/qemu/hw/pci/
H A Dpcie.c79 ((type << PCI_EXP_FLAGS_TYPE_SHIFT) & PCI_EXP_FLAGS_TYPE) | in pcie_cap_v1_fill()
300 PCI_EXP_FLAGS_TYPE) >> PCI_EXP_FLAGS_TYPE_SHIFT; in pcie_cap_get_type()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-rcar-ep.c45 PCI_EXP_FLAGS_TYPE, PCI_EXP_TYPE_ENDPOINT << 4); in rcar_pcie_ep_hw_init()
H A Dpcie-rcar-host.c466 PCI_EXP_FLAGS_TYPE, PCI_EXP_TYPE_ROOT_PORT << 4); in rcar_pcie_hw_init()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c417 pcie_flags = (pcie_flags & PCI_EXP_FLAGS_TYPE) >> 4; in pseries_eeh_init_edev()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h475 #define PCI_EXP_FLAGS_TYPE 0x00f0 /* Device/Port type */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h476 #define PCI_EXP_FLAGS_TYPE 0x00f0 /* Device/Port type */ macro
/openbmc/qemu/hw/vfio/
H A Dpci.c1985 type = (flags & PCI_EXP_FLAGS_TYPE) >> 4; in vfio_setup_pcie_cap()
2037 PCI_EXP_FLAGS_TYPE); in vfio_setup_pcie_cap()
2075 PCI_EXP_FLAGS_TYPE); in vfio_setup_pcie_cap()
/openbmc/linux/drivers/pci/
H A Dprobe.c1567 pdev->pcie_flags_reg &= ~PCI_EXP_FLAGS_TYPE; in set_pcie_port_type()
1578 pdev->pcie_flags_reg &= ~PCI_EXP_FLAGS_TYPE; in set_pcie_port_type()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c367 pcie_flags = (pcie_flags & PCI_EXP_FLAGS_TYPE) >> 4; in pnv_eeh_probe()
/openbmc/qemu/hw/xen/
H A Dxen_pt_config_init.c856 return (flag & PCI_EXP_FLAGS_TYPE) >> 4; in get_device_type()
/openbmc/linux/include/linux/
H A Dpci.h2444 return (pcie_caps_reg(dev) & PCI_EXP_FLAGS_TYPE) >> 4; in pci_pcie_type()