Linux Audio

Check our new training course

Loading...
v4.6
 
 1#ifndef _MMC_CORE_SD_H
 2#define _MMC_CORE_SD_H
 3
 4#include <linux/mmc/card.h>
 5
 6extern struct device_type sd_type;
 
 
 
 7
 8int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
 9int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
 
 
10void mmc_decode_cid(struct mmc_card *card);
11int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
12	bool reinit);
13unsigned mmc_sd_get_max_clock(struct mmc_card *card);
14int mmc_sd_switch_hs(struct mmc_card *card);
15
16#endif
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _MMC_CORE_SD_H
 3#define _MMC_CORE_SD_H
 4
 5#include <linux/types.h>
 6
 7extern const struct device_type sd_type;
 8
 9struct mmc_host;
10struct mmc_card;
11
12int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
13int mmc_sd_get_csd(struct mmc_card *card, bool is_sduc);
14int mmc_decode_scr(struct mmc_card *card);
15int mmc_sd_get_ro(struct mmc_host *host);
16void mmc_decode_cid(struct mmc_card *card);
17int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
18	bool reinit);
19unsigned mmc_sd_get_max_clock(struct mmc_card *card);
20int mmc_sd_switch_hs(struct mmc_card *card);
21
22#endif