Merge tag 'pwm/for-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[linux-block.git] / drivers / mmc / core / sd.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
71578a1e
MM
2#ifndef _MMC_CORE_SD_H
3#define _MMC_CORE_SD_H
4
066185d6 5#include <linux/types.h>
71578a1e
MM
6
7extern struct device_type sd_type;
8
066185d6
UH
9struct mmc_host;
10struct mmc_card;
11
d6d50a15 12int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
bd7342fe 13int mmc_sd_get_csd(struct mmc_card *card);
71578a1e
MM
14void mmc_decode_cid(struct mmc_card *card);
15int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
16 bool reinit);
17unsigned mmc_sd_get_max_clock(struct mmc_card *card);
18int mmc_sd_switch_hs(struct mmc_card *card);
71578a1e
MM
19
20#endif