Searched refs:host_is_spi (Results 1 – 6 of 6) sorted by relevance
62 if (!host_is_spi(card) && !(MMC_R1(app_cmd.response) & MMC_R1_APP_CMD)) { in sdmmc_send_app_cmd()77 if (host_is_spi(card)) { in sdmmc_send_cmd_go_idle_state()153 if (!host_is_spi(card)) { in sdmmc_send_cmd_send_op_cond()208 assert(host_is_spi(card) && "SEND_CID should only be used in SPI mode"); in sdmmc_send_cmd_send_cid()267 const bool is_spi = host_is_spi(card); in sdmmc_send_cmd_send_csd()340 assert(host_is_spi(card) && "CRC_ON_OFF can only be used in SPI mode"); in sdmmc_send_cmd_crc_on_off()428 while (!host_is_spi(card) && !(status & MMC_R1_READY_FOR_DATA)) { in sdmmc_write_sectors_dma()502 while (!host_is_spi(card) && !(status & MMC_R1_READY_FOR_DATA)) { in sdmmc_read_sectors_dma()
38 if (err == ESP_ERR_TIMEOUT && !host_is_spi(card)) { in sdmmc_init_ocr()48 if (host_is_spi(card)) { in sdmmc_init_ocr()70 if (!host_is_spi(card)) { in sdmmc_init_cid()146 assert(!host_is_spi(card)); in sdmmc_init_select_card()
34 } else if (host_is_spi(card) && err == ESP_ERR_NOT_SUPPORTED) { in sdmmc_init_sd_if_cond()104 while (!host_is_spi(card) && !(status & MMC_R1_READY_FOR_DATA)) { in sdmmc_init_sd_wait_data_ready()232 const bool is_spi = host_is_spi(card); in sdmmc_enable_hs_mode_and_check()287 assert(host_is_spi(card)); in sdmmc_init_spi_crc()
38 const bool is_spi = host_is_spi(card); in sdmmc_card_init()
123 static inline bool host_is_spi(const sdmmc_card_t* card) in host_is_spi() function
68 if (err == ESP_ERR_TIMEOUT || (host_is_spi(card) && err == ESP_ERR_NOT_SUPPORTED)) { in sdmmc_io_reset()