/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | reset.c | 46 int pcie_cap; in mlx4_reset() local 79 pcie_cap = pci_pcie_cap(dev->persist->pdev); in mlx4_reset() 141 if (pcie_cap) { in mlx4_reset() 142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset() 150 linkctl = hca_header[(pcie_cap + PCI_EXP_LNKCTL) / 4]; in mlx4_reset()
|
/Linux-v4.19/arch/x86/pci/ |
D | intel_mid_pci.c | 65 u32 pcie_cap = 0, cap_data; in fixed_bar_cap() local 74 devfn, pos, 4, &pcie_cap)) in fixed_bar_cap() 77 if (PCI_EXT_CAP_ID(pcie_cap) == 0x0000 || in fixed_bar_cap() 78 PCI_EXT_CAP_ID(pcie_cap) == 0xffff) in fixed_bar_cap() 81 if (PCI_EXT_CAP_ID(pcie_cap) == PCI_EXT_CAP_ID_VNDR) { in fixed_bar_cap() 88 pos = PCI_EXT_CAP_NEXT(pcie_cap); in fixed_bar_cap()
|
D | fixup.c | 280 dev->pcie_cap + PCI_EXP_LNKCTL; in pcie_rootport_aspm_quirk()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | eeh.c | 211 cap = edev->pcie_cap; in eeh_dump_dev_log() 746 if (edev->pcie_cap) { in eeh_restore_vf_config() 749 eeh_ops->read_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in eeh_restore_vf_config() 753 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in eeh_restore_vf_config() 757 eeh_ops->read_config(pdn, edev->pcie_cap + PCI_EXP_DEVCAP2, in eeh_restore_vf_config() 761 edev->pcie_cap + PCI_EXP_DEVCTL2, in eeh_restore_vf_config() 765 edev->pcie_cap + PCI_EXP_DEVCTL2, in eeh_restore_vf_config() 776 if (edev->pcie_cap) { in eeh_restore_vf_config() 777 eeh_ops->read_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in eeh_restore_vf_config() 783 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in eeh_restore_vf_config() [all …]
|
D | eeh_pe.c | 728 cap = edev->pcie_cap; in eeh_bridge_check_link()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 333 if (!edev || !edev->pcie_cap) in pnv_eeh_find_ecap() 404 edev->pcie_cap = pnv_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pnv_eeh_probe() 409 if (edev->pcie_cap) { in pnv_eeh_probe() 410 pnv_pci_cfg_read(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pnv_eeh_probe() 981 if (WARN_ON(!edev->pcie_cap)) in pnv_eeh_do_flr() 984 eeh_ops->read_config(pdn, edev->pcie_cap + PCI_EXP_DEVCAP, 4, ®); in pnv_eeh_do_flr() 992 edev->pcie_cap + PCI_EXP_DEVSTA, in pnv_eeh_do_flr() 994 eeh_ops->read_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 997 eeh_ops->write_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 1002 eeh_ops->read_config(pdn, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 215 if (!edev || !edev->pcie_cap) in pseries_eeh_find_ecap() 274 edev->pcie_cap = pseries_eeh_find_cap(pdn, PCI_CAP_ID_EXP); in pseries_eeh_probe() 279 if (edev->pcie_cap) { in pseries_eeh_probe() 280 rtas_read_config(pdn, edev->pcie_cap + PCI_EXP_FLAGS, in pseries_eeh_probe()
|
/Linux-v4.19/drivers/scsi/csiostor/ |
D | csio_wr.c | 1317 int pcie_cap; in csio_wr_fixup_host_params() local 1348 pcie_cap = pci_find_capability(hw->pdev, PCI_CAP_ID_EXP); in csio_wr_fixup_host_params() 1349 if (pcie_cap) { in csio_wr_fixup_host_params() 1358 pcie_cap + PCI_EXP_DEVCTL, in csio_wr_fixup_host_params()
|
/Linux-v4.19/drivers/misc/cardreader/ |
D | rtsx_pcr.c | 73 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, in rtsx_pci_enable_aspm() 79 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, in rtsx_pci_disable_aspm() 1243 pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP); in rtsx_pci_init_hw() 1317 rtsx_pci_write_config_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL + 1, 1); in rtsx_pci_init_hw()
|
D | rts5249.c | 367 pcr->pcie_cap + PCI_EXP_LNKCTL, in rts5249_set_aspm()
|
D | rts5260.c | 634 rtsx_pci_update_cfg_byte(pcr, pcr->pcie_cap + PCI_EXP_LNKCTL, in rts5260_set_aspm()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | eeh.h | 141 int pcie_cap; /* Saved PCIe capability */ member
|
/Linux-v4.19/include/linux/ |
D | rtsx_pci.h | 1186 int pcie_cap; member
|
D | pci.h | 307 u8 pcie_cap; /* PCIe capability offset */ member 2045 return dev->pcie_cap; in pci_pcie_cap()
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 21 cap_offset = adapter->pdev->pcie_cap; in e1000e_get_bus_info_pcie()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 7163 unsigned int pcie_cap; in t4_fixup_host_params() local 7188 pcie_cap = pci_find_capability(adap->pdev, PCI_CAP_ID_EXP); in t4_fixup_host_params() 7189 if (pcie_cap) { in t4_fixup_host_params() 7198 pcie_cap + PCI_EXP_DEVCTL, in t4_fixup_host_params()
|
/Linux-v4.19/drivers/pci/ |
D | quirks.c | 4766 if (pdev->pcie_cap || pci_find_capability(pdev, PCI_CAP_ID_EXP)) in quirk_intel_qat_vf_cap() 4799 pdev->pcie_cap = pos; in quirk_intel_qat_vf_cap()
|
D | probe.c | 1324 pdev->pcie_cap = pos; in set_pcie_port_type()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.c | 526 cdev->pdev->pcie_cap + PCI_EXP_DEVCTL2, in qed_rdma_init_devinfo()
|
/Linux-v4.19/drivers/net/ethernet/marvell/ |
D | sky2.c | 3346 sky2_pci_write16(hw, pdev->pcie_cap + PCI_EXP_LNKCTL, in sky2_reset()
|