xref: /openbmc/linux/drivers/mmc/core/sd_ops.h (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
12874c5fdSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2da7fbe58SPierre Ossman /*
370f10482SPierre Ossman  *  linux/drivers/mmc/core/sd_ops.h
4da7fbe58SPierre Ossman  *
5da7fbe58SPierre Ossman  *  Copyright 2006-2007 Pierre Ossman
6da7fbe58SPierre Ossman  */
7da7fbe58SPierre Ossman 
8da7fbe58SPierre Ossman #ifndef _MMC_SD_OPS_H
9da7fbe58SPierre Ossman #define _MMC_SD_OPS_H
10da7fbe58SPierre Ossman 
11066185d6SUlf Hansson #include <linux/types.h>
12066185d6SUlf Hansson 
13066185d6SUlf Hansson struct mmc_card;
14066185d6SUlf Hansson struct mmc_host;
15066185d6SUlf Hansson 
16da7fbe58SPierre Ossman int mmc_app_set_bus_width(struct mmc_card *card, int width);
17da7fbe58SPierre Ossman int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
18da7fbe58SPierre Ossman int mmc_send_if_cond(struct mmc_host *host, u32 ocr);
19*ead49373SUlf Hansson int mmc_send_if_cond_pcie(struct mmc_host *host, u32 ocr);
20da7fbe58SPierre Ossman int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca);
2106c9ccb7SWinkler, Tomas int mmc_app_send_scr(struct mmc_card *card);
22dfe86cbaSAdrian Hunter int mmc_app_sd_status(struct mmc_card *card, void *ssr);
2355244c56SUlf Hansson int mmc_app_cmd(struct mmc_host *host, struct mmc_card *card);
24da7fbe58SPierre Ossman 
25da7fbe58SPierre Ossman #endif
26da7fbe58SPierre Ossman 
27