Lines Matching defs:mmc
360 struct mmc *mmc; member
535 struct mmc { struct
539 const struct mmc_config *cfg; /* provided configuration */ argument
540 uint version;
541 void *priv;
542 uint has_init;
543 int high_capacity;
544 uint bus_width;
550 uint timing;
565 uint clock;
589 uint init_retry; /* re-init mmc when error occur */ argument
591 struct emmc_esr esr; /* emmc status register */ argument
603 char init_in_progress; /* 1 if we have done mmc_start_init() */ argument
611 struct mmc_hwpart_conf { argument
632 static inline bool mmc_card_hs(struct mmc *mmc) in mmc_card_hs()
638 static inline bool mmc_card_ddr(struct mmc *mmc) in mmc_card_ddr()
646 static inline bool mmc_card_hs200(struct mmc *mmc) in mmc_card_hs200()
651 static inline bool mmc_card_ddr52(struct mmc *mmc) in mmc_card_ddr52()
656 static inline bool mmc_card_hs400(struct mmc *mmc) in mmc_card_hs400()
661 static inline bool mmc_card_hs400es(struct mmc *mmc) in mmc_card_hs400es()
764 #define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI) argument
766 #define mmc_host_is_spi(mmc) 0 argument