Searched refs:PCI_EXP_LNKCAP_MLW (Results 1 – 12 of 12) sorted by relevance
59 #define PCI_EXP_LNK_MLW_SHIFT ctz32(PCI_EXP_LNKCAP_MLW)
214 FIELD_GET(PCI_EXP_LNKCAP_MLW, capa)); in cobalt_pcie_status_show()224 FIELD_GET(PCI_EXP_LNKCAP_MLW, capa)); in cobalt_pcie_status_show()254 return FIELD_GET(PCI_EXP_LNKCAP_MLW, link); in pcie_bus_link_get_lanes()
120 PCI_EXP_LNKCAP_MLW | PCI_EXP_LNKCAP_SLS); in pcie_cap_fill_slot_lnk()1080 if ((lnksta & PCI_EXP_LNKSTA_NLW) > (lnkcap & PCI_EXP_LNKCAP_MLW)) { in pcie_sync_bridge_lnk()1082 lnksta |= lnkcap & PCI_EXP_LNKCAP_MLW; in pcie_sync_bridge_lnk()
777 lnkcap &= ~PCI_EXP_LNKCAP_MLW; in dw_pcie_link_set_max_link_width()778 lnkcap |= FIELD_PREP(PCI_EXP_LNKCAP_MLW, num_lanes); in dw_pcie_link_set_max_link_width()
921 val &= ~PCI_EXP_LNKCAP_MLW; in tegra_pcie_dw_host_init()922 val |= FIELD_PREP(PCI_EXP_LNKCAP_MLW, pcie->num_lanes); in tegra_pcie_dw_host_init()
541 #define PCI_EXP_LNKCAP_MLW 0x000003f0 /* Maximum Link Width */ macro
542 #define PCI_EXP_LNKCAP_MLW 0x000003f0 /* Maximum Link Width */ macro
266 lnkcap &= ~PCI_EXP_LNKCAP_MLW; in mvebu_pcie_setup_hw()267 lnkcap |= FIELD_PREP(PCI_EXP_LNKCAP_MLW, port->is_x4 ? 4 : 1); in mvebu_pcie_setup_hw()
803 (u8)((caps & PCI_EXP_LNKCAP_MLW) in hba_ioctl_callback()
578 port->max_link_width = (lnkcap & PCI_EXP_LNKCAP_MLW) >> 4; in cmd_get_physical_port_state()
6410 return FIELD_GET(PCI_EXP_LNKCAP_MLW, lnkcap); in pcie_get_width_cap()
637 lwidth = (lstat & PCI_EXP_LNKCAP_MLW) >> 4; in qla24xx_pci_info_str()