Home
last modified time | relevance | path

Searched refs:lnkctl (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/ntb/hw/intel/
Dntb_hw_gen4.c175 u16 lnkctl; in gen4_init_dev() local
195 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev()
196 lnkctl |= GEN4_LINK_CTRL_LINK_DISABLE; in gen4_init_dev()
197 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev()
419 u16 lnkctl; in intel_ntb4_link_enable() local
438 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable()
439 lnkctl &= ~GEN4_LINK_CTRL_LINK_DISABLE; in intel_ntb4_link_enable()
440 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable()
463 u16 lnkctl; in intel_ntb4_link_disable() local
475 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_disable()
[all …]
/Linux-v5.10/drivers/pci/
Dpci-bridge-emul.h51 __le16 lnkctl; member
Dpci-acpi.c250 u16 lnkctl; in pcie_root_rcb_set() local
255 pcie_capability_read_word(rp, PCI_EXP_LNKCTL, &lnkctl); in pcie_root_rcb_set()
256 if (lnkctl & PCI_EXP_LNKCTL_RCB) in pcie_root_rcb_set()
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dtg3.c16466 u16 lnkctl; in tg3_get_invariants() local
16470 pcie_capability_read_word(tp->pdev, PCI_EXP_LNKCTL, &lnkctl); in tg3_get_invariants()
16471 if (lnkctl & PCI_EXP_LNKCTL_CLKREQ_EN) { in tg3_get_invariants()