You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
523 B
17 lines
523 B
#ifndef _MMC_CORE_SD_H
|
|
#define _MMC_CORE_SD_H
|
|
|
|
#include <linux/mmc/card.h>
|
|
|
|
extern struct device_type sd_type;
|
|
|
|
int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid);
|
|
int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
|
|
void mmc_decode_cid(struct mmc_card *card);
|
|
int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
|
|
bool reinit);
|
|
unsigned mmc_sd_get_max_clock(struct mmc_card *card);
|
|
int mmc_sd_switch_hs(struct mmc_card *card);
|
|
void mmc_sd_go_highspeed(struct mmc_card *card);
|
|
|
|
#endif
|
|
|