1
2
3
4
5
6
7
8
9
10
11
12#ifndef _MMC_SD_OPS_H
13#define _MMC_SD_OPS_H
14
15#include <linux/types.h>
16
17struct mmc_card;
18struct mmc_host;
19struct mmc_command;
20
21int mmc_app_set_bus_width(struct mmc_card *card, int width);
22int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
23int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
24int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
25int mmc_app_send_scr(struct mmc_card *card);
26int mmc_sd_switch(struct mmc_card *card, int mode, int group,
27 u8 value, u8 *resp);
28int mmc_app_sd_status(struct mmc_card *card, void *ssr);
29int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
30int mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card,
31 struct mmc_command *cmd, int retries);
32
33#endif
34
35