Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/ath/ath6kl/
Dcore.c31 static unsigned int suspend_mode; variable
41 module_param(suspend_mode, uint, 0644);
169 if (suspend_mode && in ath6kl_core_init()
170 suspend_mode >= WLAN_POWER_STATE_CUT_PWR && in ath6kl_core_init()
171 suspend_mode <= WLAN_POWER_STATE_WOW) in ath6kl_core_init()
172 ar->suspend_mode = suspend_mode; in ath6kl_core_init()
174 ar->suspend_mode = 0; in ath6kl_core_init()
176 if (suspend_mode == WLAN_POWER_STATE_WOW && in ath6kl_core_init()
Dsdio.c869 if (ar->suspend_mode == WLAN_POWER_STATE_WOW || in ath6kl_sdio_suspend()
870 (!ar->suspend_mode && wow)) { in ath6kl_sdio_suspend()
890 if (ar->suspend_mode == WLAN_POWER_STATE_DEEP_SLEEP || in ath6kl_sdio_suspend()
891 !ar->suspend_mode || try_deepsleep) { in ath6kl_sdio_suspend()
Dcore.h806 u16 suspend_mode; member
/Linux-v5.15/arch/arm/mach-at91/
Dpm.c98 .suspend_mode = AT91_PM_ULP0,
275 soc_pm.data.mode = soc_pm.data.suspend_mode; in at91_pm_begin()
768 soc_pm.data.suspend_mode == pm_mode); in at91_is_pm_mode_active()
873 if (soc_pm.data.suspend_mode == AT91_PM_BACKUP) in at91_pm_modes_init()
874 soc_pm.data.suspend_mode = AT91_PM_ULP0; in at91_pm_modes_init()
878 maps[soc_pm.data.suspend_mode] & AT91_PM_IOMAP(SHDWC)) { in at91_pm_modes_init()
891 if (maps[soc_pm.data.suspend_mode] & AT91_PM_IOMAP(SHDWC)) in at91_pm_modes_init()
892 soc_pm.data.suspend_mode = mode; in at91_pm_modes_init()
900 maps[soc_pm.data.suspend_mode] & AT91_PM_IOMAP(SFRBU)) { in at91_pm_modes_init()
917 if (maps[soc_pm.data.suspend_mode] & AT91_PM_IOMAP(SFRBU)) in at91_pm_modes_init()
[all …]
Dpm.h39 unsigned int suspend_mode; member
/Linux-v5.15/drivers/soc/xilinx/
Dzynqmp_power.c47 static enum pm_suspend_mode suspend_mode = PM_SUSPEND_MODE_STD; variable
139 if (md == suspend_mode) in suspend_mode_show()
164 if (!ret && md != suspend_mode) { in suspend_mode_store()
167 suspend_mode = md; in suspend_mode_store()
173 static DEVICE_ATTR_RW(suspend_mode);
/Linux-v5.15/drivers/input/touchscreen/
Dwm97xx-core.c282 wm->suspend_mode = mode; in wm97xx_set_suspend_mode()
802 int suspend_mode; in wm97xx_suspend() local
805 suspend_mode = wm->suspend_mode; in wm97xx_suspend()
807 suspend_mode = 0; in wm97xx_suspend()
817 reg |= suspend_mode; in wm97xx_suspend()
823 (!input_device_enabled(wm->input_dev) || !suspend_mode)) { in wm97xx_suspend()
Dedt-ft5x06.c120 enum edt_pmode suspend_mode; member
1169 tsdata->suspend_mode = EDT_PMODE_POWEROFF; in edt_ft5x06_ts_probe()
1171 tsdata->suspend_mode = EDT_PMODE_HIBERNATE; in edt_ft5x06_ts_probe()
1173 tsdata->suspend_mode = EDT_PMODE_NOT_SUPPORTED; in edt_ft5x06_ts_probe()
1288 if (tsdata->suspend_mode == EDT_PMODE_NOT_SUPPORTED) in edt_ft5x06_ts_suspend()
1297 if (tsdata->suspend_mode == EDT_PMODE_HIBERNATE) in edt_ft5x06_ts_suspend()
1330 if (tsdata->suspend_mode == EDT_PMODE_NOT_SUPPORTED) in edt_ft5x06_ts_resume()
1333 if (tsdata->suspend_mode == EDT_PMODE_POWEROFF) { in edt_ft5x06_ts_resume()
Datmel_mxt_ts.c347 enum mxt_suspend_mode suspend_mode; member
3026 switch (data->suspend_mode) { in mxt_start()
3048 switch (data->suspend_mode) { in mxt_stop()
3177 data->suspend_mode = dmi_check_system(chromebook_T9_suspend_dmi) ? in mxt_probe()
/Linux-v5.15/drivers/soc/tegra/
Dpmc.c410 enum tegra_suspend_mode suspend_mode; member
439 .suspend_mode = TEGRA_SUSPEND_NOT_READY,
1762 return pmc->suspend_mode; in tegra_pmc_get_suspend_mode()
1770 pmc->suspend_mode = mode; in tegra_pmc_set_suspend_mode()
1815 pmc->suspend_mode = TEGRA_SUSPEND_NONE; in tegra_pmc_parse_dt()
1819 pmc->suspend_mode = TEGRA_SUSPEND_LP0; in tegra_pmc_parse_dt()
1823 pmc->suspend_mode = TEGRA_SUSPEND_LP1; in tegra_pmc_parse_dt()
1827 pmc->suspend_mode = TEGRA_SUSPEND_LP2; in tegra_pmc_parse_dt()
1831 pmc->suspend_mode = TEGRA_SUSPEND_NONE; in tegra_pmc_parse_dt()
1836 pmc->suspend_mode = tegra_pm_validate_suspend_mode(pmc->suspend_mode); in tegra_pmc_parse_dt()
[all …]
/Linux-v5.15/drivers/firmware/psci/
Dpsci.c159 unsigned long suspend_mode; in psci_set_osi_mode() local
162 suspend_mode = enable ? PSCI_1_0_SUSPEND_MODE_OSI : in psci_set_osi_mode()
165 err = invoke_psci_fn(PSCI_1_0_FN_SET_SUSPEND_MODE, suspend_mode, 0, 0); in psci_set_osi_mode()
/Linux-v5.15/drivers/input/misc/
Diqs269a.c300 unsigned int suspend_mode; member
770 iqs269->suspend_mode = val; in iqs269_parse_prop()
1707 if (!iqs269->suspend_mode) in iqs269_suspend()
1735 iqs269->suspend_mode << in iqs269_suspend()
1747 == (iqs269->suspend_mode << in iqs269_suspend()
1766 if (!iqs269->suspend_mode) in iqs269_resume()
Diqs626a.c456 unsigned int suspend_mode; member
1243 iqs626->suspend_mode = val; in iqs626_parse_prop()
1719 if (!iqs626->suspend_mode) in iqs626_suspend()
1747 iqs626->suspend_mode << in iqs626_suspend()
1759 == (iqs626->suspend_mode << in iqs626_suspend()
1778 if (!iqs626->suspend_mode) in iqs626_resume()
/Linux-v5.15/include/linux/
Dwm97xx.h291 u16 suspend_mode; /* PRP in suspend mode */ member
/Linux-v5.15/drivers/md/
Ddm-table.c2095 enum suspend_mode { enum
2101 static void suspend_targets(struct dm_table *t, enum suspend_mode mode) in suspend_targets()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_display_power.c6169 enum i915_drm_suspend_mode suspend_mode) in intel_power_domains_suspend() argument
6185 suspend_mode == I915_DRM_SUSPEND_IDLE && in intel_power_domains_suspend()