Pierre Ossman | da7fbe5 | 2006-12-24 22:46:55 +0100 | [diff] [blame] | 1 | /* |
Pierre Ossman | 70f1048 | 2007-07-11 20:04:50 +0200 | [diff] [blame] | 2 | * linux/drivers/mmc/core/sd_ops.h |
Pierre Ossman | da7fbe5 | 2006-12-24 22:46:55 +0100 | [diff] [blame] | 3 | * |
| 4 | * Copyright 2006-2007 Pierre Ossman |
| 5 | * |
| 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. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _MMC_SD_OPS_H |
| 13 | #define _MMC_SD_OPS_H |
| 14 | |
Pierre Ossman | da7fbe5 | 2006-12-24 22:46:55 +0100 | [diff] [blame] | 15 | int mmc_app_set_bus_width(struct mmc_card *card, int width); |
| 16 | int mmc_send_app_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr); |
| 17 | int mmc_send_if_cond(struct mmc_host *host, u32 ocr); |
| 18 | int mmc_send_relative_addr(struct mmc_host *host, unsigned int *rca); |
| 19 | int mmc_app_send_scr(struct mmc_card *card, u32 *scr); |
| 20 | int mmc_sd_switch(struct mmc_card *card, int mode, int group, |
| 21 | u8 value, u8 *resp); |
Adrian Hunter | dfe86cb | 2010-08-11 14:17:46 -0700 | [diff] [blame] | 22 | int mmc_app_sd_status(struct mmc_card *card, void *ssr); |
Pierre Ossman | da7fbe5 | 2006-12-24 22:46:55 +0100 | [diff] [blame] | 23 | |
| 24 | #endif |
| 25 | |