Home
last modified time | relevance | path

Searched refs:sd_data (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sdhc/
Dsam_hsmci.c480 struct sdhc_data *sd_data) in sam_hsmci_request_inner() argument
493 (uint32_t)sd_data, cmd->response_type & SDHC_NATIVE_RESPONSE_MASK); in sam_hsmci_request_inner()
500 if (sd_data) { in sam_hsmci_request_inner()
538 if ((sd_data->block_size & 0x3) == 0 && (((uint32_t)sd_data->data) & 0x3) == 0) { in sam_hsmci_request_inner()
539 size = (sd_data->block_size + 3) >> 2; in sam_hsmci_request_inner()
543 size = sd_data->block_size; in sam_hsmci_request_inner()
549 HSMCI_BLKR_BLKLEN(sd_data->block_size) | HSMCI_BLKR_BCNT(sd_data->blocks); in sam_hsmci_request_inner()
551 transfer_count = size * sd_data->blocks; in sam_hsmci_request_inner()
560 hsmci->HSMCI_TPR = (uint32_t)sd_data->data; in sam_hsmci_request_inner()
563 hsmci->HSMCI_RPR = (uint32_t)sd_data->data; in sam_hsmci_request_inner()
[all …]