/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | reset.c | 46 int pcie_cap; mlx4_reset() local 79 pcie_cap = pci_pcie_cap(dev->persist->pdev); mlx4_reset() 141 if (pcie_cap) { mlx4_reset() 142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; mlx4_reset() 150 linkctl = hca_header[(pcie_cap + PCI_EXP_LNKCTL) / 4]; mlx4_reset()
|
/linux-4.1.27/arch/x86/pci/ |
H A D | intel_mid_pci.c | 60 u32 pcie_cap = 0, cap_data; fixed_bar_cap() local 69 devfn, pos, 4, &pcie_cap)) fixed_bar_cap() 72 if (PCI_EXT_CAP_ID(pcie_cap) == 0x0000 || fixed_bar_cap() 73 PCI_EXT_CAP_ID(pcie_cap) == 0xffff) fixed_bar_cap() 76 if (PCI_EXT_CAP_ID(pcie_cap) == PCI_EXT_CAP_ID_VNDR) { fixed_bar_cap() 83 pos = PCI_EXT_CAP_NEXT(pcie_cap); fixed_bar_cap()
|
H A D | fixup.c | 292 dev->pcie_cap + PCI_EXP_LNKCTL; pcie_rootport_aspm_quirk()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | eeh_pseries.c | 168 if (!edev || !edev->pcie_cap) pseries_eeh_find_ecap() 227 edev->pcie_cap = pseries_eeh_find_cap(pdn, PCI_CAP_ID_EXP); pseries_eeh_probe() 232 if (edev->pcie_cap) { pseries_eeh_probe() 233 rtas_read_config(pdn, edev->pcie_cap + PCI_EXP_FLAGS, pseries_eeh_probe()
|
/linux-4.1.27/drivers/mfd/ |
H A D | rtsx_pcr.c | 70 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, rtsx_pci_enable_aspm() 76 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, rtsx_pci_disable_aspm() 996 pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP); rtsx_pci_init_hw() 1059 rtsx_pci_write_config_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL + 1, 1); rtsx_pci_init_hw()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | eeh-powernv.c | 339 if (!edev || !edev->pcie_cap) pnv_eeh_find_ecap() 403 edev->pcie_cap = pnv_eeh_find_cap(pdn, PCI_CAP_ID_EXP); pnv_eeh_probe() 407 if (edev->pcie_cap) { pnv_eeh_probe() 408 pnv_pci_cfg_read(pdn, edev->pcie_cap + PCI_EXP_FLAGS, pnv_eeh_probe()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | eeh.h | 135 int pcie_cap; /* Saved PCIe capability */ member in struct:eeh_dev
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | eeh_pe.c | 692 cap = edev->pcie_cap; eeh_bridge_check_link()
|
H A D | eeh.c | 212 cap = edev->pcie_cap; eeh_dump_dev_log()
|
/linux-4.1.27/include/linux/mfd/ |
H A D | rtsx_pci.h | 877 int pcie_cap; member in struct:rtsx_pcr
|
/linux-4.1.27/include/linux/ |
H A D | pci.h | 275 u8 pcie_cap; /* PCIe capability offset */ member in struct:pci_dev 1734 return dev->pcie_cap; pci_pcie_cap()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 39 cap_offset = adapter->pdev->pcie_cap; e1000e_get_bus_info_pcie()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | pci.c | 2098 "pci_bridge busnumber:devnumber:funcnumber:vendor:pcie_cap:link_ctl_reg:amd %d:%d:%d:%x:%x:%x:%x\n", _rtl_pci_find_adapter()
|
/linux-4.1.27/drivers/pci/ |
H A D | probe.c | 985 pdev->pcie_cap = pos; set_pcie_port_type()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 3356 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, sky2_reset()
|