Home
last modified time | relevance | path

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

/device/soc/hisilicon/common/platform/mmc/himci_v200/
Dhimci.c493 uint32_t sgPhyAddr, sgLength, i; in HimciDataSync() local
498 sgPhyAddr = HIMCI_SG_DMA_ADDRESS(&host->sg[i]); in HimciDataSync()
499 HimciDmaCacheInv((void *)(uintptr_t)sgPhyAddr, sgLength); in HimciDataSync()
684 uint32_t sgPhyAddr, sgLength, i; in HimciSetupData() local
697 sgPhyAddr = HIMCI_SG_DMA_ADDRESS(&host->sg[i]); in HimciSetupData()
698 if ((sgPhyAddr & (CACHE_ALIGNED_SIZE - 1)) != 0) { in HimciSetupData()
699 HDF_LOGE("host%u:sg_phyaddr:0x%x sg_length:0x%x.", host->id, sgPhyAddr, sgLength); in HimciSetupData()
703 HimciDmaCacheClean((void *)(uintptr_t)sgPhyAddr, sgLength); in HimciSetupData()
705 HimciDmaCacheInv((void *)(uintptr_t)sgPhyAddr, sgLength); in HimciSetupData()
709 des[desCnt].dmaDesBufAddr = sgPhyAddr; in HimciSetupData()
[all …]
/device/soc/hisilicon/common/platform/mmc/sdhci/
Dsdhci.c530 uint32_t sgPhyAddr, sgLength, i; in SdhciDataSync() local
535 sgPhyAddr = SDHCI_SG_DMA_ADDRESS(&host->sg[i]); in SdhciDataSync()
536 SdhciDmaCacheInv((void *)(uintptr_t)sgPhyAddr, sgLength); in SdhciDataSync()