Home
last modified time | relevance | path

Searched refs:lctl (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/iwm/
H A Dif_iwm_pcie_trans.c432 uint16_t lctl, cap; in iwm_apm_config() local
448 lctl = pci_read_config(sc->sc_dev, pcie_ptr + PCIER_LINK_CTL, in iwm_apm_config()
449 sizeof(lctl)); in iwm_apm_config()
450 if (lctl & PCIEM_LINK_CTL_ASPMC_L1) { in iwm_apm_config()
463 (lctl & PCIEM_LINK_CTL_ASPMC_L1) ? "En" : "Dis", in iwm_apm_config()
/freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtrans.c171 u16 lctl; in iwl_pcie_apm_config() local
181 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_LNKCTL, &lctl); in iwl_pcie_apm_config()
182 trans->pm_support = !(lctl & PCI_EXP_LNKCTL_ASPM_L0S); in iwl_pcie_apm_config()
187 (lctl & PCI_EXP_LNKCTL_ASPM_L1) ? "En" : "Dis", in iwl_pcie_apm_config()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrSystem.td66 def LCTL : LoadMultipleRS<"lctl", 0xB7, CR64>;
/freebsd/sys/dev/iwx/
H A Dif_iwx.c2502 uint16_t lctl, cap; in iwx_apm_config() local
2519 lctl = pci_read_config(sc->sc_dev, pcie_ptr + PCIER_LINK_CTL, in iwx_apm_config()
2520 sizeof(lctl)); in iwx_apm_config()
2522 sc->sc_pm_support = !(lctl & PCI_PCIE_LCSR_ASPM_L0S); in iwx_apm_config()
2525 sizeof(lctl)); in iwx_apm_config()
2531 (lctl & PCI_PCIE_LCSR_ASPM_L1) ? "En" : "Dis", in iwx_apm_config()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c2722 int rc, i, lcap, lctl, lsta, nchildren; in reset_adapter_with_pcie_link_bounce() local
2732 lctl = v + PCIER_LINK_CTL; in reset_adapter_with_pcie_link_bounce()
2739 v = pci_read_config(gpdev, lctl, 2); in reset_adapter_with_pcie_link_bounce()
2740 pci_write_config(gpdev, lctl, v | PCIEM_LINK_CTL_LINK_DIS, 2); in reset_adapter_with_pcie_link_bounce()
2742 pci_write_config(gpdev, lctl, v | PCIEM_LINK_CTL_RETRAIN_LINK, 2); in reset_adapter_with_pcie_link_bounce()