Searched refs:cmdinfo (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/components/driver/ |
D | sdspi_transaction.c | 97 esp_err_t sdspi_host_do_transaction(int slot, sdmmc_command_t *cmdinfo) in sdspi_host_do_transaction() argument 102 make_hw_cmd(cmdinfo->opcode, cmdinfo->arg, cmdinfo->timeout_ms, &hw_cmd); in sdspi_host_do_transaction() 106 if (SCF_CMD(cmdinfo->flags) == SCF_CMD_ADTC) { in sdspi_host_do_transaction() 108 } else if (SCF_CMD(cmdinfo->flags) == (SCF_CMD_ADTC | SCF_CMD_READ)) { in sdspi_host_do_transaction() 113 if (cmdinfo->datalen > SDSPI_MAX_DATA_LEN) { in sdspi_host_do_transaction() 122 if (!s_app_cmd && cmdinfo->opcode == SD_SEND_IF_COND) { in sdspi_host_do_transaction() 124 } else if (!s_app_cmd && cmdinfo->opcode == MMC_SEND_STATUS) { in sdspi_host_do_transaction() 126 } else if (!s_app_cmd && cmdinfo->opcode == SD_READ_OCR) { in sdspi_host_do_transaction() 128 } else if (s_app_cmd && cmdinfo->opcode == SD_APP_SD_STATUS) { in sdspi_host_do_transaction() 130 } else if (!s_app_cmd && cmdinfo->opcode == MMC_GO_IDLE_STATE && in sdspi_host_do_transaction() [all …]
|
D | sdmmc_transaction.c | 108 esp_err_t sdmmc_host_do_transaction(int slot, sdmmc_command_t* cmdinfo) in sdmmc_host_do_transaction() argument 118 sdmmc_hw_cmd_t hw_cmd = make_hw_cmd(cmdinfo); in sdmmc_host_do_transaction() 119 if (cmdinfo->data) { in sdmmc_host_do_transaction() 121 if (cmdinfo->datalen >= 4 && cmdinfo->datalen % 4 != 0) { in sdmmc_host_do_transaction() 123 __func__, cmdinfo->datalen); in sdmmc_host_do_transaction() 127 if ((intptr_t) cmdinfo->data % 4 != 0 || in sdmmc_host_do_transaction() 128 !esp_ptr_dma_capable(cmdinfo->data)) { in sdmmc_host_do_transaction() 129 ESP_LOGD(TAG, "%s: buffer %p can not be used for DMA", __func__, cmdinfo->data); in sdmmc_host_do_transaction() 138 s_cur_transfer.ptr = (uint8_t*) cmdinfo->data; in sdmmc_host_do_transaction() 139 s_cur_transfer.size_remaining = cmdinfo->datalen; in sdmmc_host_do_transaction() [all …]
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | sdspi_host.h | 137 esp_err_t sdspi_host_do_transaction(sdspi_dev_handle_t handle, sdmmc_command_t *cmdinfo);
|
D | sdmmc_host.h | 229 esp_err_t sdmmc_host_do_transaction(int slot, sdmmc_command_t* cmdinfo);
|
D | sdmmc_types.h | 153 …esp_err_t (*do_transaction)(int slot, sdmmc_command_t* cmdinfo); /*!< host function to do a tra…
|