Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/
H A Dpci.c12 u16 aspm_conf, parent_aspm_conf = 0; in mt76_pci_disable_aspm() local
14 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &aspm_conf); in mt76_pci_disable_aspm()
15 aspm_conf &= PCI_EXP_LNKCTL_ASPMC; in mt76_pci_disable_aspm()
22 if (!aspm_conf && (!parent || !parent_aspm_conf)) { in mt76_pci_disable_aspm()
28 (aspm_conf & PCI_EXP_LNKCTL_ASPM_L0S) ? "L0s" : "", in mt76_pci_disable_aspm()
29 (aspm_conf & PCI_EXP_LNKCTL_ASPM_L1) ? "L1" : ""); in mt76_pci_disable_aspm()
34 err = pci_disable_link_state(pdev, aspm_conf); in mt76_pci_disable_aspm()
42 pcie_capability_clear_word(pdev, PCI_EXP_LNKCTL, aspm_conf); in mt76_pci_disable_aspm()
45 aspm_conf); in mt76_pci_disable_aspm()
52 u16 aspm_conf, parent_aspm_conf = 0; in mt76_pci_aspm_supported() local
[all …]