/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | aspm.c | 7 #include "aspm.h" 9 /* Time after which the timer interrupt will re-enable ASPM */ 13 /* Two interrupts within this time trigger ASPM disable */ 20 module_param_named(aspm, aspm_mode, uint, 0444); 21 MODULE_PARM_DESC(aspm, "PCIe ASPM: 0: disable, 1: enable, 2: dynamic"); 30 * it cannot support ASPM L1 at all. in aspm_hw_l1_supported() 41 /* ASPM works on A-step but is reported as not supported */ in aspm_hw_l1_supported() 63 * it cannot support ASPM L1 at all. in aspm_hw_enable_l1() 68 /* Enable ASPM L1 first in upstream component and then downstream */ in aspm_hw_enable_l1() 81 /* Disable ASPM L1 first in downstream component and then upstream */ in aspm_hw_disable_l1() [all …]
|
D | aspm.h | 14 ASPM_MODE_DISABLED = 0, /* ASPM always disabled, performance mode */ 15 ASPM_MODE_ENABLED = 1, /* ASPM always enabled, power saving mode */ 16 ASPM_MODE_DYNAMIC = 2, /* ASPM enabled/disabled dynamically */
|
D | Makefile | 13 aspm.o \
|
/Linux-v5.15/drivers/pci/pcie/ |
D | Kconfig | 61 # PCI Express ASPM 64 bool "PCI Express ASPM control" if EXPERT 67 This enables OS control over PCI Express ASPM (Active State 68 Power Management) and Clock Power Management. ASPM supports 71 ASPM is initially set up by the firmware. With this option enabled, 72 Linux can modify this state in order to disable ASPM on known-bad 75 ASPM can be disabled or enabled at runtime via 81 prompt "Default ASPM policy" 89 Use the BIOS defaults for PCI Express ASPM. 95 Enable PCI Express ASPM L0s and L1 where possible, even if the [all …]
|
D | aspm.c | 32 #define ASPM_STATE_L1_1 (8) /* ASPM L1.1 state */ 33 #define ASPM_STATE_L1_2 (0x10) /* ASPM L1.2 state */ 56 /* ASPM state */ 57 u32 aspm_support:7; /* Supported ASPM state */ 58 u32 aspm_enabled:7; /* Enabled ASPM state */ 59 u32 aspm_capable:7; /* Capable ASPM state with latency */ 60 u32 aspm_default:7; /* Default ASPM state by BIOS */ 61 u32 aspm_disable:7; /* Disabled ASPM state */ 112 /* Disable ASPM and Clock PM */ in policy_to_aspm_state() 115 /* Enable ASPM L0s/L1 */ in policy_to_aspm_state() [all …]
|
D | Makefile | 9 obj-$(CONFIG_PCIEASPM) += aspm.o
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 27 /*close ASPM for AMD defaultly */ in rtl92c_init_aspm_vars() 31 * ASPM PS mode. in rtl92c_init_aspm_vars() 32 * 0 - Disable ASPM, in rtl92c_init_aspm_vars() 33 * 1 - Enable ASPM without Clock Req, in rtl92c_init_aspm_vars() 34 * 2 - Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 35 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 36 * 4 - Always Enable ASPM without Clock Req. in rtl92c_init_aspm_vars() 50 * 1 - From ASPM setting without low Mac Pwr, in rtl92c_init_aspm_vars() 51 * 2 - From ASPM setting with low Mac Pwr, in rtl92c_init_aspm_vars() 59 * backdoor ASPM setting such as EPHY setting. in rtl92c_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.c | 24 /*close ASPM for AMD defaultly */ in rtl92d_init_aspm_vars() 28 * ASPM PS mode. in rtl92d_init_aspm_vars() 29 * 0 - Disable ASPM, in rtl92d_init_aspm_vars() 30 * 1 - Enable ASPM without Clock Req, in rtl92d_init_aspm_vars() 31 * 2 - Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 33 * 4 - Always Enable ASPM without Clock Req. in rtl92d_init_aspm_vars() 47 * 1 - From ASPM setting without low Mac Pwr, in rtl92d_init_aspm_vars() 48 * 2 - From ASPM setting with low Mac Pwr, in rtl92d_init_aspm_vars() 56 * backdoor ASPM setting such as EPHY setting. in rtl92d_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | sw.c | 27 /*close ASPM for AMD defaultly */ in rtl92ee_init_aspm_vars() 31 * ASPM PS mode. in rtl92ee_init_aspm_vars() 32 * 0 - Disable ASPM, in rtl92ee_init_aspm_vars() 33 * 1 - Enable ASPM without Clock Req, in rtl92ee_init_aspm_vars() 34 * 2 - Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 35 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 36 * 4 - Always Enable ASPM without Clock Req. in rtl92ee_init_aspm_vars() 50 * 1 - From ASPM setting without low Mac Pwr, in rtl92ee_init_aspm_vars() 51 * 2 - From ASPM setting with low Mac Pwr, in rtl92ee_init_aspm_vars() 59 * backdoor ASPM setting such as EPHY setting. in rtl92ee_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | sw.c | 24 /*close ASPM for AMD defaultly */ in rtl92s_init_aspm_vars() 27 /* ASPM PS mode. in rtl92s_init_aspm_vars() 28 * 0 - Disable ASPM, in rtl92s_init_aspm_vars() 29 * 1 - Enable ASPM without Clock Req, in rtl92s_init_aspm_vars() 30 * 2 - Enable ASPM with Clock Req, in rtl92s_init_aspm_vars() 31 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92s_init_aspm_vars() 32 * 4 - Always Enable ASPM without Clock Req. in rtl92s_init_aspm_vars() 45 * 1 - From ASPM setting without low Mac Pwr, in rtl92s_init_aspm_vars() 46 * 2 - From ASPM setting with low Mac Pwr, in rtl92s_init_aspm_vars() 53 * backdoor ASPM setting such as EPHY setting. in rtl92s_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | sw.c | 24 /*close ASPM for AMD defaultly */ in rtl88e_init_aspm_vars() 27 /* ASPM PS mode. in rtl88e_init_aspm_vars() 28 * 0 - Disable ASPM, in rtl88e_init_aspm_vars() 29 * 1 - Enable ASPM without Clock Req, in rtl88e_init_aspm_vars() 30 * 2 - Enable ASPM with Clock Req, in rtl88e_init_aspm_vars() 31 * 3 - Alwyas Enable ASPM with Clock Req, in rtl88e_init_aspm_vars() 32 * 4 - Always Enable ASPM without Clock Req. in rtl88e_init_aspm_vars() 45 * 1 - From ASPM setting without low Mac Pwr, in rtl88e_init_aspm_vars() 46 * 2 - From ASPM setting with low Mac Pwr, in rtl88e_init_aspm_vars() 53 * backdoor ASPM setting such as EPHY setting. in rtl88e_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | sw.c | 29 /*close ASPM for AMD defaultly */ in rtl8723be_init_aspm_vars() 32 /* ASPM PS mode. in rtl8723be_init_aspm_vars() 33 * 0 - Disable ASPM, in rtl8723be_init_aspm_vars() 34 * 1 - Enable ASPM without Clock Req, in rtl8723be_init_aspm_vars() 35 * 2 - Enable ASPM with Clock Req, in rtl8723be_init_aspm_vars() 36 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723be_init_aspm_vars() 37 * 4 - Always Enable ASPM without Clock Req. in rtl8723be_init_aspm_vars() 50 * 1 - From ASPM setting without low Mac Pwr, in rtl8723be_init_aspm_vars() 51 * 2 - From ASPM setting with low Mac Pwr, in rtl8723be_init_aspm_vars() 58 * backdoor ASPM setting such as EPHY setting. in rtl8723be_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 29 /*close ASPM for AMD defaultly */ in rtl8723e_init_aspm_vars() 33 * ASPM PS mode. in rtl8723e_init_aspm_vars() 34 * 0 - Disable ASPM, in rtl8723e_init_aspm_vars() 35 * 1 - Enable ASPM without Clock Req, in rtl8723e_init_aspm_vars() 36 * 2 - Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars() 37 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars() 38 * 4 - Always Enable ASPM without Clock Req. in rtl8723e_init_aspm_vars() 52 * 1 - From ASPM setting without low Mac Pwr, in rtl8723e_init_aspm_vars() 53 * 2 - From ASPM setting with low Mac Pwr, in rtl8723e_init_aspm_vars() 61 * backdoor ASPM setting such as EPHY setting. in rtl8723e_init_aspm_vars() [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | sw.c | 26 /*close ASPM for AMD defaultly */ in rtl8821ae_init_aspm_vars() 30 * ASPM PS mode. in rtl8821ae_init_aspm_vars() 31 * 0 - Disable ASPM, in rtl8821ae_init_aspm_vars() 32 * 1 - Enable ASPM without Clock Req, in rtl8821ae_init_aspm_vars() 33 * 2 - Enable ASPM with Clock Req, in rtl8821ae_init_aspm_vars() 34 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8821ae_init_aspm_vars() 35 * 4 - Always Enable ASPM without Clock Req. in rtl8821ae_init_aspm_vars() 49 * 1 - From ASPM setting without low Mac Pwr, in rtl8821ae_init_aspm_vars() 50 * 2 - From ASPM setting with low Mac Pwr, in rtl8821ae_init_aspm_vars() 58 * backdoor ASPM setting such as EPHY setting. in rtl8821ae_init_aspm_vars() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/pci/ |
D | nvidia,tegra194-pcie.txt | 116 - nvidia,aspm-cmrt-us: Common Mode Restore Time for proper operation of ASPM 118 - nvidia,aspm-pwr-on-t-us: Power On time for proper operation of ASPM to be 120 - nvidia,aspm-l0s-entrance-latency-us: ASPM L0s entrance latency to be 179 nvidia,aspm-cmrt-us = <60>; 180 nvidia,aspm-pwr-on-t-us = <20>; 181 nvidia,aspm-l0s-entrance-latency-us = <3>; 228 nvidia,aspm-cmrt-us = <60>; 229 nvidia,aspm-pwr-on-t-us = <20>; 230 nvidia,aspm-l0s-entrance-latency-us = <3>;
|
D | rockchip-pcie-host.txt | 56 - aspm-no-l0s: RC won't support ASPM L0s. This property is needed if
|
D | mediatek-pcie-cfg.yaml | 15 LTSSM, ASPM and so on.
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/ |
D | pci.c | 23 /* aspm already disabled */ in mt76_pci_disable_aspm() 27 dev_info(&pdev->dev, "disabling ASPM %s %s\n", in mt76_pci_disable_aspm() 39 /* both device and parent should have the same ASPM setting. in mt76_pci_disable_aspm() 40 * disable ASPM in downstream component first and then upstream. in mt76_pci_disable_aspm()
|
/Linux-v5.15/drivers/staging/rtl8723bs/include/ |
D | rtw_pwrctrl.h | 108 #define RT_RF_OFF_LEVL_ASPM BIT(0) /* PCI ASPM */ 114 #define RT_RF_PS_LEVEL_ALWAYS_ASPM BIT(6) /* Always enable ASPM and Clock Req in initialization. */ 116 #define RT_RF_LPS_LEVEL_ASPM BIT(31) /* LPS with ASPM */ 122 /* ASPM OSC Control bit, added by Roger, 2013.03.29. */ 123 #define RT_PCI_ASPM_OSC_IGNORE 0 /* PCI ASPM ignore OSC control in default */ 124 #define RT_PCI_ASPM_OSC_ENABLE BIT0 /* PCI ASPM controlled by OS according to ACPI Spec 5.0 */ 125 #define RT_PCI_ASPM_OSC_DISABLE BIT1 /* PCI ASPM controlled by driver or BIOS, i.e., force enable…
|
/Linux-v5.15/drivers/net/wwan/iosm/ |
D | iosm_ipc_pcie.h | 195 * ipc_pcie_check_aspm_enabled - Check if ASPM L1 is already enabled 197 * @parent: True if checking ASPM L1 for parent else false 199 * Returns: true if ASPM is already enabled else false 204 * ipc_pcie_config_aspm - Configure ASPM L1
|
D | iosm_ipc_pcie.c | 155 dev_dbg(ipc_pcie->dev, "ASPM L1: 0x%04X 0x%03X", pdev->device, value); in ipc_pcie_check_aspm_enabled() 193 dev_dbg(ipc_pcie->dev, "ASPM L1 not supported: 0x%04X", in ipc_pcie_check_aspm_supported() 204 /* check if both root port and child supports ASPM L1 */ in ipc_pcie_config_aspm() 212 dev_dbg(ipc_pcie->dev, "ASPM parent: %s device: %s", in ipc_pcie_config_aspm()
|
/Linux-v5.15/arch/arm64/boot/dts/nvidia/ |
D | tegra194.dtsi | 1831 nvidia,aspm-cmrt-us = <60>; 1832 nvidia,aspm-pwr-on-t-us = <20>; 1833 nvidia,aspm-l0s-entrance-latency-us = <3>; 1885 nvidia,aspm-cmrt-us = <60>; 1886 nvidia,aspm-pwr-on-t-us = <20>; 1887 nvidia,aspm-l0s-entrance-latency-us = <3>; 1939 nvidia,aspm-cmrt-us = <60>; 1940 nvidia,aspm-pwr-on-t-us = <20>; 1941 nvidia,aspm-l0s-entrance-latency-us = <3>; 1993 nvidia,aspm-cmrt-us = <60>; [all …]
|
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/ |
D | pci.c | 72 /*Update PCI ASPM setting */ in _rtl_pci_update_default_setting() 76 /*No ASPM */ in _rtl_pci_update_default_setting() 80 /*ASPM dynamically enabled/disable. */ in _rtl_pci_update_default_setting() 85 /*ASPM with Clock Req dynamically enabled/disable. */ in _rtl_pci_update_default_setting() 91 /* Always enable ASPM and Clock Req in _rtl_pci_update_default_setting() 100 /* Always enable ASPM without Clock Req in _rtl_pci_update_default_setting() 129 /*Set HW definition to determine if it supports ASPM. */ in _rtl_pci_update_default_setting() 132 /*Not support ASPM. */ in _rtl_pci_update_default_setting() 136 /*Support ASPM. */ in _rtl_pci_update_default_setting() 141 /*ASPM value set by chipset. */ in _rtl_pci_update_default_setting() [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath9k/ |
D | pci.c | 827 u16 aspm; in ath_pci_aspm_init() local 839 /* Bluetooth coexistence requires disabling ASPM. */ in ath_pci_aspm_init() 845 * have the same ASPM settings. in ath_pci_aspm_init() 850 ath_info(common, "Disabling ASPM since BTCOEX is enabled\n"); in ath_pci_aspm_init() 870 ret = pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &aspm); in ath_pci_aspm_init() 871 if (!ret && (aspm & (PCI_EXP_LNKCTL_ASPM_L0S | PCI_EXP_LNKCTL_ASPM_L1))) { in ath_pci_aspm_init() 875 ath_info(common, "ASPM enabled: 0x%x\n", aspm); in ath_pci_aspm_init()
|
/Linux-v5.15/drivers/staging/r8188eu/include/ |
D | rtw_pwrctrl.h | 119 #define RT_RF_OFF_LEVL_ASPM BIT(0) /* PCI ASPM */ 125 #define RT_RF_PS_LEVEL_ALWAYS_ASPM BIT(6) /* Always enable ASPM and Clock 129 #define RT_RF_LPS_LEVEL_ASPM BIT(31) /* LPS with ASPM */
|