Lines Matching full:mmc
13 #include <mmc.h>
15 extern int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
18 int mmc_send_cmd_prepare(struct mmc *mmc, struct mmc_cmd *cmd,
21 extern int mmc_send_status(struct mmc *mmc, int timeout);
22 extern int mmc_set_blocklen(struct mmc *mmc, int len);
88 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd);
89 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret);
90 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd);
92 static inline void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send() argument
96 static inline void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, in mmmc_trace_after_send() argument
101 static inline void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state() argument
107 * mmc_get_next_devnum() - Get the next available MMC device number
114 * mmc_do_preinit() - Get an MMC device ready for use
119 * mmc_list_init() - Set up the list of MMC devices
124 * mmc_list_add() - Add a new MMC device to the list of devices
126 * @mmc: Device to add
128 void mmc_list_add(struct mmc *mmc);
131 * mmc_switch_part() - Switch to a new MMC hardware partition
133 * @mmc: MMC device
137 int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
140 * mmc_switch() - Issue and MMC switch mode command
142 * @mmc: MMC device
148 int mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value);