Searched refs:lnk_status (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pci/hotplug/ |
H A D | pciehp_hpc.c | 237 u16 lnk_status; in pciehp_check_link_active() local 240 ret = pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnk_status); in pciehp_check_link_active() 244 ret = !!(lnk_status & PCI_EXP_LNKSTA_DLLLA); in pciehp_check_link_active() 245 ctrl_dbg(ctrl, "%s: lnk_status = %x\n", __func__, lnk_status); in pciehp_check_link_active() 294 u16 lnk_status; in pciehp_check_link_status() local 312 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnk_status); in pciehp_check_link_status() 313 ctrl_dbg(ctrl, "%s: lnk_status = %x\n", __func__, lnk_status); in pciehp_check_link_status() 314 if ((lnk_status & PCI_EXP_LNKSTA_LT) || in pciehp_check_link_status() 315 !(lnk_status & PCI_EXP_LNKSTA_NLW)) { in pciehp_check_link_status() 317 slot_name(ctrl), lnk_status); in pciehp_check_link_status() [all …]
|