0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _MMC_SD_OPS_H
0009 #define _MMC_SD_OPS_H
0010
0011 #include <linux/types.h>
0012
0013 struct mmc_card;
0014 struct mmc_host;
0015
0016 int mmc_app_set_bus_width(struct mmc_card *card, int width);
0017 int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
0018 int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
0019 int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
0020 int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
0021 int mmc_app_send_scr(struct mmc_card *card);
0022 int mmc_sd_switch(struct mmc_card *card, int mode, int group,
0023 u8 value, u8 *resp);
0024 int mmc_app_sd_status(struct mmc_card *card, void *ssr);
0025 int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
0026
0027 #endif
0028