Lines Matching refs:pConfig
110 dmacHw_CONFIG_t *pConfig, /* [ IN ] Configuration settings */
156 if (pConfig->transferMode == dmacHw_TRANSFER_MODE_PERIODIC) {
168 if (pConfig->transferMode ==
451 dmacHw_CONFIG_t *pConfig /* [ IN ] Configuration settings */
468 dmacHw_SRC_PERI_INTF(pConfig->
470 dmacHw_DST_PERI_INTF(pConfig->dstPeripheralPort);
473 pConfig->channelPriority);
475 if (pConfig->dstStatusRegisterAddress != 0) {
480 pConfig->dstStatusRegisterAddress);
483 if (pConfig->srcStatusRegisterAddress != 0) {
488 pConfig->srcStatusRegisterAddress);
499 if (pConfig->blockTransferInterrupt == dmacHw_INTERRUPT_ENABLE) {
505 if (pConfig->completeTransferInterrupt == dmacHw_INTERRUPT_ENABLE) {
511 if (pConfig->errorInterrupt == dmacHw_INTERRUPT_ENABLE) {
517 if (pConfig->srcGatherWidth) {
519 dmacHw_GetTrWidthInBytes(pConfig->srcMaxTransactionWidth);
521 ((pConfig->srcGatherWidth % srcTrSize)
522 && (pConfig->srcGatherJump % srcTrSize))) {
524 ((pConfig->srcGatherWidth /
525 srcTrSize) << 20) | (pConfig->srcGatherJump /
532 if (pConfig->dstScatterWidth) {
534 dmacHw_GetTrWidthInBytes(pConfig->dstMaxTransactionWidth);
536 ((pConfig->dstScatterWidth % dstTrSize)
537 && (pConfig->dstScatterJump % dstTrSize))) {
539 ((pConfig->dstScatterWidth /
540 dstTrSize) << 20) | (pConfig->dstScatterJump /
592 int dmacHw_setDataDescriptor(dmacHw_CONFIG_t *pConfig, /* [ IN ] Configuration settings */
612 dstTrSize = dmacHw_GetTrWidthInBytes(pConfig->dstMaxTransactionWidth);
613 srcTrSize = dmacHw_GetTrWidthInBytes(pConfig->srcMaxTransactionWidth);
622 if ((pConfig->srcGatherWidth % srcTrSize)
623 || (pConfig->dstScatterWidth % dstTrSize)) {
635 dstTrWidth = pConfig->dstMaxTransactionWidth;
642 srcTrWidth = pConfig->srcMaxTransactionWidth;
649 if (pConfig->maxDataPerBlock
650 && ((pConfig->maxDataPerBlock / srcTrSize) <
652 maxBlockSize = pConfig->maxDataPerBlock / srcTrSize;
692 if (pConfig->srcGatherWidth) {
696 if (pConfig->dstScatterWidth) {
720 switch (pConfig->transferType) {
757 if (pConfig->flowControler == dmacHw_FLOW_CONTROL_DMA) {
758 pProg->ctl.lo |= pConfig->transferType |
759 pConfig->srcUpdate |
760 pConfig->dstUpdate |
763 pConfig->srcMaxBurstWidth |
764 pConfig->dstMaxBurstWidth |
765 pConfig->srcMasterInterface |
766 pConfig->dstMasterInterface | dmacHw_REG_CTL_INT_EN;
769 switch (pConfig->transferType) {
780 pConfig->srcUpdate |
781 pConfig->dstUpdate |
784 pConfig->srcMaxBurstWidth |
785 pConfig->dstMaxBurstWidth |
786 pConfig->srcMasterInterface |
787 pConfig->dstMasterInterface | dmacHw_REG_CTL_INT_EN;
798 switch (pConfig->transferType) {
800 if (pConfig->dstScatterWidth) {
805 pConfig->dstScatterWidth) *
806 pConfig->dstScatterJump);
814 if (pConfig->srcGatherWidth) {
819 pConfig->srcGatherWidth) *
820 pConfig->srcGatherJump);
828 if (pConfig->dstScatterWidth) {
833 pConfig->dstScatterWidth) *
834 pConfig->dstScatterJump);
841 if (pConfig->srcGatherWidth) {
846 pConfig->srcGatherWidth) *
847 pConfig->srcGatherJump);
878 if (!dmacHw_DST_IS_MEMORY(pConfig->transferType)) {