Home
last modified time | relevance | path

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

/drivers/ntb/hw/intel/
Dntb_hw_gen4.c187 u16 lnkctl; in gen4_init_dev() local
210 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev()
211 lnkctl |= GEN4_LINK_CTRL_LINK_DISABLE; in gen4_init_dev()
212 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in gen4_init_dev()
434 u16 lnkctl; in intel_ntb4_link_enable() local
453 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable()
454 lnkctl &= ~GEN4_LINK_CTRL_LINK_DISABLE; in intel_ntb4_link_enable()
455 iowrite16(lnkctl, ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_enable()
478 u16 lnkctl; in intel_ntb4_link_disable() local
490 lnkctl = ioread16(ndev->self_mmio + GEN4_LINK_CTRL_OFFSET); in intel_ntb4_link_disable()
[all …]
/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()
/drivers/net/ethernet/broadcom/
Dtg3.c16506 u16 lnkctl; in tg3_get_invariants() local
16510 pcie_capability_read_word(tp->pdev, PCI_EXP_LNKCTL, &lnkctl); in tg3_get_invariants()
16511 if (lnkctl & PCI_EXP_LNKCTL_CLKREQ_EN) { in tg3_get_invariants()