Home | History | Annotate | Download | only in mmc

Lines Matching refs:state

69  unsigned int state;
85 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT)
86 #define mmc_card_dead(c) ((c)->state & MMC_STATE_DEAD)
87 #define mmc_card_bad(c) ((c)->state & MMC_STATE_BAD)
89 #define mmc_card_sd(c) ((c)->state & MMC_STATE_SDCARD)
90 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY)
91 #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT)
92 #define mmc_card_set_dead(c) ((c)->state |= MMC_STATE_DEAD)
94 #define mmc_card_set_bad(c) ((c)->state |= MMC_STATE_BAD)
95 #define mmc_card_set_sd(c) ((c)->state |= MMC_STATE_SDCARD)
96 #define mmc_card_set_readonly(c) ((c)->state |= MMC_STATE_READONLY)