]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/mmc/core/sd.h
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / drivers / mmc / core / sd.h
CommitLineData
71578a1e
MM
1#ifndef _MMC_CORE_SD_H
2#define _MMC_CORE_SD_H
3
066185d6 4#include <linux/types.h>
71578a1e
MM
5
6extern struct device_type sd_type;
7
066185d6
UH
8struct mmc_host;
9struct mmc_card;
10
d6d50a15 11int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
71578a1e
MM
12int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
13void mmc_decode_cid(struct mmc_card *card);
14int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
15 bool reinit);
16unsigned mmc_sd_get_max_clock(struct mmc_card *card);
17int mmc_sd_switch_hs(struct mmc_card *card);
71578a1e
MM
18
19#endif