Searched refs:pcie_cap (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dreset.c46 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 Dintel_mid_pci.c60 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 Dfixup.c292 dev->pcie_cap + PCI_EXP_LNKCTL; pcie_rootport_aspm_quirk()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Deeh_pseries.c168 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 Drtsx_pcr.c70 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 Deeh-powernv.c339 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 Deeh.h135 int pcie_cap; /* Saved PCIe capability */ member in struct:eeh_dev
/linux-4.1.27/arch/powerpc/kernel/
H A Deeh_pe.c692 cap = edev->pcie_cap; eeh_bridge_check_link()
H A Deeh.c212 cap = edev->pcie_cap; eeh_dump_dev_log()
/linux-4.1.27/include/linux/mfd/
H A Drtsx_pci.h877 int pcie_cap; member in struct:rtsx_pcr
/linux-4.1.27/include/linux/
H A Dpci.h275 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 Dmac.c39 cap_offset = adapter->pdev->pcie_cap; e1000e_get_bus_info_pcie()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
H A Dpci.c2098 "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 Dprobe.c985 pdev->pcie_cap = pos; set_pcie_port_type()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dsky2.c3356 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, sky2_reset()

Completed in 493 milliseconds