Searched refs:PCI_EXP_LNKSTA_NLW (Results 1 – 19 of 19) sorted by relevance
/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 1080 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 D | cobalt-driver.c | 218 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 D | pcie-iproc.c | 804 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 D | pcie-brcmstb.c | 1075 nlw = FIELD_GET(PCI_EXP_LNKSTA_NLW, lnksta); in brcm_pcie_start_link()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 573 #define PCI_EXP_LNKSTA_NLW 0x03f0 /* Negotiated Link Width */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 574 #define PCI_EXP_LNKSTA_NLW 0x03f0 /* Negotiated Link Width */ macro
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-tegra194.c | 323 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 D | pcie-qcom-ep.c | 296 width = FIELD_GET(PCI_EXP_LNKSTA_NLW, status); in qcom_pcie_ep_icc_update()
|
H A D | pcie-designware.c | 670 FIELD_GET(PCI_EXP_LNKSTA_NLW, val)); in dw_pcie_wait_for_link()
|
H A D | pcie-qcom.c | 1386 width = FIELD_GET(PCI_EXP_LNKSTA_NLW, status); in qcom_pcie_icc_update()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | pciehp_hpc.c | 315 !(lnk_status & PCI_EXP_LNKSTA_NLW)) { in pciehp_check_link_status()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pcie.c | 226 dd->lbus_width = FIELD_GET(PCI_EXP_LNKSTA_NLW, linkstat); in update_lbus_info()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 54 PCI_EXP_LNKSTA_NLW) >> in igb_get_bus_info_pcie()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-sysfs.c | 233 return sysfs_emit(buf, "%u\n", FIELD_GET(PCI_EXP_LNKSTA_NLW, linkstat)); in current_link_width_show()
|
H A D | pci.c | 6338 next_width = FIELD_GET(PCI_EXP_LNKSTA_NLW, lnksta); in pcie_bandwidth_available()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_ioctl.c | 800 (u8)((stat & PCI_EXP_LNKSTA_NLW) in hba_ioctl_callback()
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-mailbox-utils.c | 579 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 D | i40e_common.c | 4460 switch (link_status & PCI_EXP_LNKSTA_NLW) { in i40e_set_pci_config_data()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 8885 p->width = (val & PCI_EXP_LNKSTA_NLW) >> 4; in get_pci_mode()
|