Commit | Line | Data |
---|---|---|
2874c5fd | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
da7fbe58 | 2 | /* |
70f10482 | 3 | * linux/drivers/mmc/core/sd_ops.h |
da7fbe58 PO |
4 | * |
5 | * Copyright 2006-2007 Pierre Ossman | |
da7fbe58 PO |
6 | */ |
7 | ||
8 | #ifndef _MMC_SD_OPS_H | |
9 | #define _MMC_SD_OPS_H | |
10 | ||
066185d6 UH |
11 | #include <linux/types.h> |
12 | ||
13 | struct mmc_card; | |
14 | struct mmc_host; | |
15 | ||
da7fbe58 PO |
16 | int mmc_app_set_bus_width(struct mmc_card *card, int width); |
17 | int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr); | |
18 | int mmc_send_if_cond(struct mmc_host *host, u32 ocr); | |
ead49373 | 19 | int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr); |
da7fbe58 | 20 | int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca); |
06c9ccb7 | 21 | int mmc_app_send_scr(struct mmc_card *card); |
dfe86cba | 22 | int mmc_app_sd_status(struct mmc_card *card, void *ssr); |
55244c56 | 23 | int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card); |
da7fbe58 PO |
24 | |
25 | #endif | |
26 |