![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * linux/include/linux/mmc/pm.h 0004 * 0005 * Author: Nicolas Pitre 0006 * Copyright: (C) 2009 Marvell Technology Group Ltd. 0007 */ 0008 0009 #ifndef LINUX_MMC_PM_H 0010 #define LINUX_MMC_PM_H 0011 0012 /* 0013 * These flags are used to describe power management features that 0014 * some cards (typically SDIO cards) might wish to benefit from when 0015 * the host system is being suspended. There are several layers of 0016 * abstractions involved, from the host controller driver, to the MMC core 0017 * code, to the SDIO core code, to finally get to the actual SDIO function 0018 * driver. This file is therefore used for common definitions shared across 0019 * all those layers. 0020 */ 0021 0022 typedef unsigned int mmc_pm_flag_t; 0023 0024 #define MMC_PM_KEEP_POWER (1 << 0) /* preserve card power during suspend */ 0025 #define MMC_PM_WAKE_SDIO_IRQ (1 << 1) /* wake up host system on SDIO IRQ assertion */ 0026 0027 #endif /* LINUX_MMC_PM_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |