Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKSTA_NLW (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dpcie.c1080 if ((lnksta & PCI_EXP_LNKSTA_NLW) > (lnkcap & PCI_EXP_LNKCAP_MLW)) { in pcie_sync_bridge_lnk()
1081 lnksta &= ~PCI_EXP_LNKSTA_NLW; in pcie_sync_bridge_lnk()
1083 } else if (!(lnksta & PCI_EXP_LNKSTA_NLW)) { in pcie_sync_bridge_lnk()
1096 PCI_EXP_LNKSTA_CLS | PCI_EXP_LNKSTA_NLW); in pcie_sync_bridge_lnk()
1098 (PCI_EXP_LNKSTA_CLS | PCI_EXP_LNKSTA_NLW)); in pcie_sync_bridge_lnk()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c218 FIELD_GET(PCI_EXP_LNKSTA_NLW, stat)); in cobalt_pcie_status_show()
243 return FIELD_GET(PCI_EXP_LNKSTA_NLW, link); in pcie_link_get_lanes()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-iproc.c804 if (link_status & PCI_EXP_LNKSTA_NLW) in iproc_pcie_check_link()
827 if (link_status & PCI_EXP_LNKSTA_NLW) in iproc_pcie_check_link()
H A Dpcie-brcmstb.c1075 nlw = FIELD_GET(PCI_EXP_LNKSTA_NLW, lnksta); in brcm_pcie_start_link()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h573 #define PCI_EXP_LNKSTA_NLW 0x03f0 /* Negotiated Link Width */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h574 #define PCI_EXP_LNKSTA_NLW 0x03f0 /* Negotiated Link Width */ macro
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-tegra194.c323 width = FIELD_GET(PCI_EXP_LNKSTA_NLW, val); in tegra_pcie_icc_set()
350 current_link_width = FIELD_GET(PCI_EXP_LNKSTA_NLW, val); in apply_bad_link_workaround()
763 pcie->init_link_width = FIELD_GET(PCI_EXP_LNKSTA_NLW, val_w); in tegra_pcie_enable_system_interrupts()
H A Dpcie-qcom-ep.c296 width = FIELD_GET(PCI_EXP_LNKSTA_NLW, status); in qcom_pcie_ep_icc_update()
H A Dpcie-designware.c670 FIELD_GET(PCI_EXP_LNKSTA_NLW, val)); in dw_pcie_wait_for_link()
H A Dpcie-qcom.c1386 width = FIELD_GET(PCI_EXP_LNKSTA_NLW, status); in qcom_pcie_icc_update()
/openbmc/linux/drivers/pci/hotplug/
H A Dpciehp_hpc.c315 !(lnk_status & PCI_EXP_LNKSTA_NLW)) { in pciehp_check_link_status()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c226 dd->lbus_width = FIELD_GET(PCI_EXP_LNKSTA_NLW, linkstat); in update_lbus_info()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_mac.c54 PCI_EXP_LNKSTA_NLW) >> in igb_get_bus_info_pcie()
/openbmc/linux/drivers/pci/
H A Dpci-sysfs.c233 return sysfs_emit(buf, "%u\n", FIELD_GET(PCI_EXP_LNKSTA_NLW, linkstat)); in current_link_width_show()
H A Dpci.c6338 next_width = FIELD_GET(PCI_EXP_LNKSTA_NLW, lnksta); in pcie_bandwidth_available()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c800 (u8)((stat & PCI_EXP_LNKSTA_NLW) in hba_ioctl_callback()
/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c579 port->negotiated_link_width = (lnksta & PCI_EXP_LNKSTA_NLW) >> 4; in cmd_get_physical_port_state()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c4460 switch (link_status & PCI_EXP_LNKSTA_NLW) { in i40e_set_pci_config_data()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8885 p->width = (val & PCI_EXP_LNKSTA_NLW) >> 4; in get_pci_mode()