sd.h 517 B

12345678910111213141516171819
  1. #ifndef _MMC_CORE_SD_H
  2. #define _MMC_CORE_SD_H
  3. #include <linux/types.h>
  4. extern struct device_type sd_type;
  5. struct mmc_host;
  6. struct mmc_card;
  7. int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
  8. int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
  9. void mmc_decode_cid(struct mmc_card *card);
  10. int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
  11. bool reinit);
  12. unsigned mmc_sd_get_max_clock(struct mmc_card *card);
  13. int mmc_sd_switch_hs(struct mmc_card *card);
  14. #endif