Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKSTA (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.15/drivers/pci/pcie/
H A Dbwctrl.c211 ret = pcie_capability_read_word(port, PCI_EXP_LNKSTA, &link_status); in pcie_bwnotif_enable()
217 pcie_capability_write_word(port, PCI_EXP_LNKSTA, in pcie_bwnotif_enable()
241 ret = pcie_capability_read_word(port, PCI_EXP_LNKSTA, &link_status); in pcie_bwnotif_irq()
252 pcie_capability_write_word(port, PCI_EXP_LNKSTA, events); in pcie_bwnotif_irq()
274 pcie_capability_write_word(port, PCI_EXP_LNKSTA, in pcie_reset_lbms_count()
H A Daspm.c421 pcie_capability_read_word(child, PCI_EXP_LNKSTA, &reg16); in pcie_aspm_configure_common_clock()
426 pcie_capability_read_word(parent, PCI_EXP_LNKSTA, &reg16); in pcie_aspm_configure_common_clock()
/linux-6.15/drivers/pci/controller/dwc/
H A Dpcie-tegra194.c309 val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA); in tegra_pcie_icc_set()
337 val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA); in apply_bad_link_workaround()
397 PCI_EXP_LNKSTA); in tegra_pcie_rp_irq_handler()
400 PCI_EXP_LNKSTA, val_w); in tegra_pcie_rp_irq_handler()
407 PCI_EXP_LNKSTA); in tegra_pcie_rp_irq_handler()
755 PCI_EXP_LNKSTA); in tegra_pcie_enable_system_interrupts()
915 PCI_EXP_LNKSTA); in tegra_pcie_dw_host_init()
917 dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA, in tegra_pcie_dw_host_init()
1033 u32 val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA); in tegra_pcie_dw_link_up()
1877 PCI_EXP_LNKSTA); in pex_ep_event_pex_rst_deassert()
[all …]
H A Dpcie-qcom.c1227 u16 val = readw(pci->dbi_base + offset + PCI_EXP_LNKSTA); in qcom_pcie_link_up()
1486 status = readw(pci->dbi_base + offset + PCI_EXP_LNKSTA); in qcom_pcie_icc_opp_update()
H A Dpcie-qcom-ep.c316 status = readw(pci->dbi_base + offset + PCI_EXP_LNKSTA); in qcom_pcie_ep_icc_update()
H A Dpcie-designware.c704 val = dw_pcie_readw_dbi(pci, offset + PCI_EXP_LNKSTA); in dw_pcie_wait_for_link()
/linux-6.15/drivers/pci/controller/
H A Dpcie-altera.c190 PCI_EXP_LNKSTA); in s10_altera_pcie_link_up()
199 PCI_EXP_LNKSTA); in aglx_altera_pcie_link_up()
732 PCI_EXP_LNKSTA, &reg16); in altera_wait_link_retrain()
773 altera_read_cap_word(pcie, pcie->root_bus_nr, RP_DEVFN, PCI_EXP_LNKSTA, in altera_pcie_retrain()
H A Dpcie-iproc.c802 iproc_pci_raw_config_read32(pcie, 0, IPROC_PCI_EXP_CAP + PCI_EXP_LNKSTA, in iproc_pcie_check_link()
825 IPROC_PCI_EXP_CAP + PCI_EXP_LNKSTA, in iproc_pcie_check_link()
/linux-6.15/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c91 lnk_stat = cdns_pcie_rp_readw(pcie, pcie_cap_off + PCI_EXP_LNKSTA); in cdns_pcie_host_training_complete()
136 lnk_stat = cdns_pcie_rp_readw(pcie, pcie_cap_off + PCI_EXP_LNKSTA); in cdns_pcie_retrain()
/linux-6.15/drivers/media/pci/cobalt/
H A Dcobalt-driver.c211 pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &stat); in cobalt_pcie_status_show()
242 pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &link); in pcie_link_get_lanes()
/linux-6.15/drivers/pci/hotplug/
H A Dpciehp_hpc.c241 ret = pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnk_status); in pciehp_check_link_active()
313 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnk_status); in pciehp_check_link_status()
H A Dpnv_php.c785 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lsts); in pnv_php_interrupt()
/linux-6.15/drivers/infiniband/hw/qib/
H A Dqib_pcie.c230 pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); in qib_pcie_params()
/linux-6.15/drivers/net/wwan/iosm/
H A Diosm_ipc_pcie.c175 pcie_capability_read_word(parent, PCI_EXP_LNKSTA, &link_status); in ipc_pcie_check_data_link_active()
/linux-6.15/drivers/pci/
H A Daccess.c400 case PCI_EXP_LNKSTA: in pcie_capability_reg_implemented()
H A Dpci-sysfs.c217 err = pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &linkstat); in current_link_speed_show()
234 err = pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &linkstat); in current_link_width_show()
H A Dpci.c4707 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnksta); in pcie_wait_for_link_status()
4945 pcie_capability_read_word(dev, PCI_EXP_LNKSTA, &status); in pci_bridge_wait_for_secondary_bus()
6030 err = pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnksta); in pcie_link_speed_mbps()
6069 pcie_capability_read_word(dev, PCI_EXP_LNKSTA, &lnksta); in pcie_bandwidth_available()
/linux-6.15/arch/powerpc/kernel/
H A Deeh_pe.c686 eeh_ops->read_config(edev, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
/linux-6.15/include/uapi/linux/
H A Dpci_regs.h568 #define PCI_EXP_LNKSTA 0x12 /* Link Status */ macro
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c507 err = pci_read_config_word(bridge, cap + PCI_EXP_LNKSTA, &reg16); in mlx5_pci_link_toggle()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dpcie.c220 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); in update_lbus_info()
/linux-6.15/drivers/net/ethernet/intel/igb/
H A De1000_mac.c36 PCI_EXP_LNKSTA, in igb_get_bus_info_pcie()
/linux-6.15/drivers/cxl/core/
H A Dpci.c1046 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnksta); in cxl_pci_get_bandwidth()
/linux-6.15/drivers/net/ethernet/intel/e1000e/
H A Dmac.c26 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &pcie_link_status); in e1000e_get_bus_info_pcie()
/linux-6.15/drivers/cxl/
H A Dpci.c875 return rcd_pcie_cap_emit(dev, PCI_EXP_LNKSTA, buf, sizeof(u16)); in rcd_link_status_show()

12