Searched refs:card_csd (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/subsys/sd/ |
D | mmc.c | 79 static int mmc_read_csd(struct sd_card *card, struct sd_csd *card_csd); 87 static inline int mmc_set_max_freq(struct sd_card *card, struct sd_csd *card_csd); 106 struct sd_csd card_csd = {0}; in mmc_card_init() local 158 ret = mmc_read_csd(card, &card_csd); in mmc_card_init() 167 ret = mmc_set_max_freq(card, &card_csd); in mmc_card_init() 290 static int mmc_read_csd(struct sd_card *card, struct sd_csd *card_csd) in mmc_read_csd() argument 306 mmc_decode_csd(card_csd, cmd.response); in mmc_read_csd() 307 if (card_csd->csd_structure < 2) { 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() argument 352 enum mmc_csd_freq frequency_code = (card_csd->xfer_rate & 0x7); in mmc_set_max_freq() [all …]
|
D | sd_ops.c | 253 struct sd_csd card_csd = {0}; in sdmmc_read_csd() local 266 sdmmc_decode_csd(&card_csd, csd, &card->block_count, &card->block_size); in sdmmc_read_csd()
|