Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKCAP_MLW (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/include/hw/pci/
H A Dpcie_regs.h59 #define PCI_EXP_LNK_MLW_SHIFT ctz32(PCI_EXP_LNKCAP_MLW)
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c214 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()
/openbmc/qemu/hw/pci/
H A Dpcie.c120 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()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c777 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()
H A Dpcie-tegra194.c921 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()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h541 #define PCI_EXP_LNKCAP_MLW 0x000003f0 /* Maximum Link Width */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h542 #define PCI_EXP_LNKCAP_MLW 0x000003f0 /* Maximum Link Width */ macro
/openbmc/linux/drivers/pci/controller/
H A Dpci-mvebu.c266 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()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_ioctl.c803 (u8)((caps & PCI_EXP_LNKCAP_MLW) in hba_ioctl_callback()
/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c578 port->max_link_width = (lnkcap & PCI_EXP_LNKCAP_MLW) >> 4; in cmd_get_physical_port_state()
/openbmc/linux/drivers/pci/
H A Dpci.c6410 return FIELD_GET(PCI_EXP_LNKCAP_MLW, lnkcap); in pcie_get_width_cap()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c637 lwidth = (lstat & PCI_EXP_LNKCAP_MLW) >> 4; in qla24xx_pci_info_str()