Lines Matching full:mmc
12 #include <mmc.h>
14 extern int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
16 extern int mmc_send_status(struct mmc *mmc, int timeout);
17 extern int mmc_set_blocklen(struct mmc *mmc, int len);
75 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd);
76 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret);
77 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd);
79 static inline void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send() argument
83 static inline void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, in mmmc_trace_after_send() argument
88 static inline void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state() argument
94 * mmc_get_next_devnum() - Get the next available MMC device number
101 * mmc_do_preinit() - Get an MMC device ready for use
106 * mmc_list_init() - Set up the list of MMC devices
111 * mmc_list_add() - Add a new MMC device to the list of devices
113 * @mmc: Device to add
115 void mmc_list_add(struct mmc *mmc);
118 * mmc_switch_part() - Switch to a new MMC hardware partition
120 * @mmc: MMC device
124 int mmc_switch_part(struct mmc *mmc, unsigned int part_num);
127 * mmc_switch() - Issue and MMC switch mode command
129 * @mmc: MMC device
135 int mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value);