Lines Matching refs:sd_card
64 static int sdmmc_app_command(struct sd_card *card, int relative_card_address) in sdmmc_app_command()
70 static int sdmmc_spi_send_ocr(struct sd_card *card, uint32_t arg) in sdmmc_spi_send_ocr()
96 static int sdmmc_send_ocr(struct sd_card *card, int ocr) in sdmmc_send_ocr()
153 static int sdmmc_read_scr(struct sd_card *card) in sdmmc_read_scr()
206 static int sdmmc_set_blocklen(struct sd_card *card, uint32_t block_len) in sdmmc_set_blocklen()
222 static int sdmmc_set_bus_width(struct sd_card *card, enum sdhc_bus_width width) in sdmmc_set_bus_width()
277 static int sdmmc_switch(struct sd_card *card, enum sd_switch_arg mode, in sdmmc_switch()
298 static int sdmmc_read_switch(struct sd_card *card) in sdmmc_read_switch()
337 static inline void sdmmc_select_bus_speed(struct sd_card *card) in sdmmc_select_bus_speed()
363 static int sdmmc_select_driver_type(struct sd_card *card) in sdmmc_select_driver_type()
384 static int sdmmc_set_current_limit(struct sd_card *card) in sdmmc_set_current_limit()
425 static int sdmmc_set_bus_speed(struct sd_card *card) in sdmmc_set_bus_speed()
484 static int sdmmc_init_uhs(struct sd_card *card) in sdmmc_init_uhs()
527 static int sdmmc_init_hs(struct sd_card *card) in sdmmc_init_hs()
558 int sdmmc_card_init(struct sd_card *card) in sdmmc_card_init()
733 int sdmmc_ioctl(struct sd_card *card, uint8_t cmd, void *buf) in sdmmc_ioctl()
738 int sdmmc_read_blocks(struct sd_card *card, uint8_t *rbuf, in sdmmc_read_blocks()
744 int sdmmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, in sdmmc_write_blocks()