Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / mmc / core / sd.h
blob301dc34b8b637a168e2b2b7c0e4d3b776dfa371f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _MMC_CORE_SD_H
3 #define _MMC_CORE_SD_H
5 #include <linux/types.h>
7 extern const struct device_type sd_type;
9 struct mmc_host;
10 struct mmc_card;
12 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
13 int mmc_sd_get_csd(struct mmc_card *card, bool is_sduc);
14 int mmc_decode_scr(struct mmc_card *card);
15 int mmc_sd_get_ro(struct mmc_host *host);
16 void mmc_decode_cid(struct mmc_card *card);
17 int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
18 bool reinit);
19 unsigned mmc_sd_get_max_clock(struct mmc_card *card);
20 int mmc_sd_switch_hs(struct mmc_card *card);
22 #endif