Lines Matching refs:data_buf
373 static int stm32_sdmmc_read_blocks(HandleTypeDef *hsd, uint8_t *data_buf, in stm32_sdmmc_read_blocks() argument
379 return HAL_MMC_ReadBlocks_DMA(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_read_blocks()
381 return HAL_SD_ReadBlocks_DMA(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_read_blocks()
387 return HAL_MMC_ReadBlocks_IT(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_read_blocks()
389 return HAL_SD_ReadBlocks_IT(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_read_blocks()
395 static int stm32_sdmmc_access_read(struct disk_info *disk, uint8_t *data_buf, in stm32_sdmmc_access_read() argument
404 err = stm32_sdmmc_read_blocks(&priv->hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_access_read()
428 uint8_t *data_buf, in stm32_sdmmc_write_blocks() argument
434 return HAL_MMC_WriteBlocks_DMA(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_write_blocks()
436 return HAL_SD_WriteBlocks_DMA(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_write_blocks()
442 return HAL_MMC_WriteBlocks_IT(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_write_blocks()
444 return HAL_SD_WriteBlocks_IT(hsd, data_buf, start_sector, num_sector); in stm32_sdmmc_write_blocks()
451 const uint8_t *data_buf, in stm32_sdmmc_access_write() argument
460 err = stm32_sdmmc_write_blocks(&priv->hsd, (uint8_t *)data_buf, start_sector, num_sector); in stm32_sdmmc_access_write()