Searched refs:cmdinfo (Results 1 – 1 of 1) sorted by relevance
622 struct sdmmc_command *cmdinfo) in sdmmc_host_do_transaction() argument637 sdmmc_hw_cmd_t hw_cmd = make_hw_cmd(cmdinfo); in sdmmc_host_do_transaction()639 if (cmdinfo->data) { in sdmmc_host_do_transaction()641 if ((cmdinfo->datalen >= 4) && (cmdinfo->datalen % 4) != 0) { in sdmmc_host_do_transaction()642 LOG_DBG("%s: invalid size: total=%d", __func__, cmdinfo->datalen); in sdmmc_host_do_transaction()647 if ((((intptr_t)cmdinfo->data % 4) != 0) || !esp_ptr_dma_capable(cmdinfo->data)) { in sdmmc_host_do_transaction()648 LOG_DBG("%s: buffer %p can not be used for DMA", __func__, cmdinfo->data); in sdmmc_host_do_transaction()660 data->s_cur_transfer.ptr = (uint8_t *)cmdinfo->data; in sdmmc_host_do_transaction()661 data->s_cur_transfer.size_remaining = cmdinfo->datalen; in sdmmc_host_do_transaction()664 (cmdinfo->datalen + SDMMC_DMA_MAX_BUF_LEN - 1) / SDMMC_DMA_MAX_BUF_LEN; in sdmmc_host_do_transaction()[all …]