Lines Matching refs:aligned_buf
394 uint32_t *aligned_buf = RT_NULL; in hpm_sdmmc_request() local
472 aligned_buf = (uint32_t *) SDXC_CACHELINE_ALIGN_UP(raw_alloc_buf); in hpm_sdmmc_request()
473 RT_ASSERT(aligned_buf != RT_NULL); in hpm_sdmmc_request()
474 memcpy(aligned_buf, data->buf, xfer_len); in hpm_sdmmc_request()
475 memset(aligned_buf + write_size, 0, write_size - xfer_len); in hpm_sdmmc_request()
476 …ata = (uint32_t const *) core_local_mem_to_sys_address(BOARD_RUNNING_CORE, (uint32_t) aligned_buf); in hpm_sdmmc_request()
504 aligned_buf = (uint32_t *) SDXC_CACHELINE_ALIGN_UP(raw_alloc_buf); in hpm_sdmmc_request()
505 …a.rx_data = (uint32_t*) core_local_mem_to_sys_address(BOARD_RUNNING_CORE, (uint32_t) aligned_buf); in hpm_sdmmc_request()
571 if (aligned_buf != RT_NULL) in hpm_sdmmc_request()
575 l1c_dc_invalidate((uint32_t) aligned_buf, aligned_read_size); in hpm_sdmmc_request()
577 memcpy(data->buf, aligned_buf, read_size); in hpm_sdmmc_request()
594 aligned_buf = RT_NULL; in hpm_sdmmc_request()