Lines Matching +full:mmc +full:- +full:card
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/drivers/mmc/core/core.h
40 void mmc_init_erase(struct mmc_card *card);
53 int mmc_select_drive_strength(struct mmc_card *card, unsigned int max_dtr,
89 void mmc_add_card_debugfs(struct mmc_card *card);
90 void mmc_remove_card_debugfs(struct mmc_card *card);
92 int mmc_execute_tuning(struct mmc_card *card);
93 int mmc_hs200_to_hs400(struct mmc_card *card);
94 int mmc_hs400_to_hs200(struct mmc_card *card);
109 int mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr,
111 int mmc_can_erase(struct mmc_card *card);
112 int mmc_can_trim(struct mmc_card *card);
113 int mmc_can_discard(struct mmc_card *card);
114 int mmc_can_sanitize(struct mmc_card *card);
115 int mmc_can_secure_erase_trim(struct mmc_card *card);
116 int mmc_erase_group_aligned(struct mmc_card *card, unsigned int from,
118 unsigned int mmc_calc_max_discard(struct mmc_card *card);
120 int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen);
125 void mmc_get_card(struct mmc_card *card, struct mmc_ctx *ctx);
126 void mmc_put_card(struct mmc_card *card, struct mmc_ctx *ctx);
129 * mmc_claim_host - exclusively claim a host
130 * @host: mmc host to claim
144 * mmc_pre_req - Prepare for a new request
145 * @host: MMC host to prepare command
146 * @mrq: MMC request to prepare for
154 if (host->ops->pre_req) in mmc_pre_req()
155 host->ops->pre_req(host, mrq); in mmc_pre_req()
159 * mmc_post_req - Post process a completed request
160 * @host: MMC host to post process command
161 * @mrq: MMC request to post process for
170 if (host->ops->post_req) in mmc_post_req()
171 host->ops->post_req(host, mrq, err); in mmc_post_req()