Home
last modified time | relevance | path

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

/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c206 u16 lctl; in iwl_pcie_apm_config() local
217 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_LNKCTL, &lctl); in iwl_pcie_apm_config()
218 if (lctl & PCI_EXP_LNKCTL_ASPM_L1) in iwl_pcie_apm_config()
222 trans->pm_support = !(lctl & PCI_EXP_LNKCTL_ASPM_L0S); in iwl_pcie_apm_config()
227 (lctl & PCI_EXP_LNKCTL_ASPM_L1) ? "En" : "Dis", in iwl_pcie_apm_config()
/drivers/net/wireless/iwlegacy/
Dcommon.c1239 u16 lctl; in il_power_initialize() local
1241 pcie_capability_read_word(il->pci_dev, PCI_EXP_LNKCTL, &lctl); in il_power_initialize()
1242 il->power_data.pci_pm = !(lctl & PCI_EXP_LNKCTL_ASPM_L0S); in il_power_initialize()
4257 u16 lctl; in il_apm_init() local
4297 ret = pcie_capability_read_word(il->pci_dev, PCI_EXP_LNKCTL, &lctl); in il_apm_init()
4298 if (!ret && (lctl & PCI_EXP_LNKCTL_ASPM_L1)) { in il_apm_init()