Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/support/platform/include/dma/
Ddmac_core.h78 uint8_t transType; // 0: mem to mem; 1: periph to mem; 2:mem to periph member
86 return (msg->transType == TRASFER_TYPE_M2P) ? msg->destAddr : in DmacMsgGetPeriphAddr()
87 (msg->transType == TRASFER_TYPE_P2M) ? msg->srcAddr : PERIPH_ADDR_INVALID; in DmacMsgGetPeriphAddr()
115 int transType; member
/drivers/hdf_core/framework/support/platform/src/dma/
Ddmac_core.c177 if (chanInfo->transType == TRASFER_TYPE_M2M) { in DmacCallbackHandle()
264 chanInfo->transType = msg->transType; in DmacRequestChannel()
273 …chan, chanInfo->transType, chanInfo->srcWidth, chanInfo->destWidth, chanInfo->config, chanInfo->ll… in DmacRequestChannel()
350 dstaddr += (chanInfo->transType == TRASFER_TYPE_P2M && dstDummy == 0) ? plli->count : 0; in DmacFillLli()
351 srcaddr += (chanInfo->transType == TRASFER_TYPE_M2P && srcDummy == 0) ? plli->count : 0; in DmacFillLli()
498 if (msg->transType == TRASFER_TYPE_P2M) { in DmaCntlrTransfer()
503 } else if (msg->transType == TRASFER_TYPE_M2P) { in DmaCntlrTransfer()
508 } else if (msg->transType == TRASFER_TYPE_M2M) { in DmaCntlrTransfer()
511 HDF_LOGE("DmaCntlrTransfer: invalid transType %d!", msg->transType); in DmaCntlrTransfer()