Lines Matching refs:sd_card

55 inline int mmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block,  in mmc_write_blocks()
61 inline int mmc_read_blocks(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, in mmc_read_blocks()
67 inline int mmc_ioctl(struct sd_card *card, uint8_t cmd, void *buf) in mmc_ioctl()
73 static int mmc_send_op_cond(struct sd_card *card, int ocr);
76 static int mmc_set_rca(struct sd_card *card);
79 static int mmc_read_csd(struct sd_card *card, struct sd_csd *card_csd);
83 static int mmc_read_ext_csd(struct sd_card *card, struct mmc_ext_csd *card_ext_csd);
87 static inline int mmc_set_max_freq(struct sd_card *card, struct sd_csd *card_csd);
90 static int mmc_set_bus_width(struct sd_card *card);
93 static int mmc_set_timing(struct sd_card *card, struct mmc_ext_csd *card_ext_csd);
96 static int mmc_set_cache(struct sd_card *card, struct mmc_ext_csd *card_ext_csd);
101 int mmc_card_init(struct sd_card *card) in mmc_card_init()
205 static int mmc_send_op_cond(struct sd_card *card, int ocr) in mmc_send_op_cond()
266 static int mmc_set_rca(struct sd_card *card) in mmc_set_rca()
290 static int mmc_read_csd(struct sd_card *card, struct sd_csd *card_csd) in mmc_read_csd()
349 static inline int mmc_set_max_freq(struct sd_card *card, struct sd_csd *card_csd) in mmc_set_max_freq()
378 static int mmc_set_bus_width(struct sd_card *card) in mmc_set_bus_width()
415 static int mmc_set_hs_timing(struct sd_card *card) in mmc_set_hs_timing()
444 static int mmc_set_power_class_HS200(struct sd_card *card, struct mmc_ext_csd *ext) in mmc_set_power_class_HS200()
458 static int mmc_set_timing(struct sd_card *card, struct mmc_ext_csd *ext) in mmc_set_timing()
569 static int mmc_read_ext_csd(struct sd_card *card, struct mmc_ext_csd *card_ext_csd) in mmc_read_ext_csd()
622 static int mmc_set_cache(struct sd_card *card, struct mmc_ext_csd *card_ext_csd) in mmc_set_cache()