Searched refs:lnk_status (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/pci/hotplug/ |
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() 241 if (ret == PCIBIOS_DEVICE_NOT_FOUND || PCI_POSSIBLE_ERROR(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() [all …]
|
/linux-6.1.9/drivers/pci/ |
D | pci.c | 4875 u16 lnk_status; in pcie_wait_for_link_delay() local 4898 pcie_capability_read_word(pdev, PCI_EXP_LNKSTA, &lnk_status); in pcie_wait_for_link_delay() 4899 ret = !!(lnk_status & PCI_EXP_LNKSTA_DLLLA); in pcie_wait_for_link_delay()
|