2 * linux/drivers/mmc/core/sd_ops.h
4 * Copyright 2006-2007 Pierre Ossman
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or (at
9 * your option) any later version.
15 #include <linux/types.h>
21 int mmc_app_set_bus_width(struct mmc_card
*card
, int width
);
22 int mmc_send_app_op_cond(struct mmc_host
*host
, u32 ocr
, u32
*rocr
);
23 int mmc_send_if_cond(struct mmc_host
*host
, u32 ocr
);
24 int mmc_send_relative_addr(struct mmc_host
*host
, unsigned int *rca
);
25 int mmc_app_send_scr(struct mmc_card
*card
, u32
*scr
);
26 int mmc_sd_switch(struct mmc_card
*card
, int mode
, int group
,
28 int mmc_app_sd_status(struct mmc_card
*card
, void *ssr
);
29 int mmc_app_cmd(struct mmc_host
*host
, struct mmc_card
*card
);
30 int mmc_wait_for_app_cmd(struct mmc_host
*host
, struct mmc_card
*card
,
31 struct mmc_command
*cmd
, int retries
);