Home | History | Annotate | Download | only in mmc

Lines Matching refs:state

59 	unsigned int		state;		/* (our) card state */
73 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT)
74 #define mmc_card_dead(c) ((c)->state & MMC_STATE_DEAD)
75 #define mmc_card_bad(c) ((c)->state & MMC_STATE_BAD)
76 #define mmc_card_sd(c) ((c)->state & MMC_STATE_SDCARD)
77 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY)
79 #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT)
80 #define mmc_card_set_dead(c) ((c)->state |= MMC_STATE_DEAD)
81 #define mmc_card_set_bad(c) ((c)->state |= MMC_STATE_BAD)
82 #define mmc_card_set_sd(c) ((c)->state |= MMC_STATE_SDCARD)
83 #define mmc_card_set_readonly(c) ((c)->state |= MMC_STATE_READONLY)