Lines Matching refs:descriptor
371 …cy_stc_axidmac_descriptor_t * descriptor; /**< The AXIDMAC descriptor associated with the chan… member
447 … (AXI_DMAC_Type * base, uint32_t channel, cy_stc_axidmac_descriptor_t const * descriptor);
499 …cy_en_axidmac_status_t Cy_AXIDMAC_Descriptor_Init (cy_stc_axidmac_descriptor_t * descriptor, cy_s…
515 void Cy_AXIDMAC_Descriptor_DeInit(cy_stc_axidmac_descriptor_t * descriptor);
540 void Cy_AXIDMAC_Descriptor_SetNextDescriptor (cy_stc_axidmac_descriptor_t * descriptor, cy_stc_ax…
567 void Cy_AXIDMAC_Descriptor_SetDescriptorType (cy_stc_axidmac_descriptor_t * descriptor, cy_en_axi…
570 …_AXIDMAC_Descriptor_SetSrcAddress (cy_stc_axidmac_descriptor_t * descriptor, void const * sr…
571 …_AXIDMAC_Descriptor_SetDstAddress (cy_stc_axidmac_descriptor_t * descriptor, void const * ds…
572 … Cy_AXIDMAC_Descriptor_SetMloopDataCount(cy_stc_axidmac_descriptor_t * descriptor, uint32_t mCount…
594 void Cy_AXIDMAC_Descriptor_SetXloopDataCount (cy_stc_axidmac_descriptor_t * descriptor, uint32_t …
597 … Cy_AXIDMAC_Descriptor_SetYloopDataCount(cy_stc_axidmac_descriptor_t * descriptor, uint32_t yCount…
598 …_AXIDMAC_Descriptor_SetXloopSrcIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t srcXinc…
599 …_AXIDMAC_Descriptor_SetXloopDstIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t dstXinc…
600 …_AXIDMAC_Descriptor_SetYloopSrcIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t srcYinc…
601 …_AXIDMAC_Descriptor_SetYloopDstIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t dstYinc…
602 …_AXIDMAC_Descriptor_SetInterruptType (cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_t…
603 …_AXIDMAC_Descriptor_SetTriggerInType (cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_t…
604 … Cy_AXIDMAC_Descriptor_SetTriggerOutType(cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_t…
605 …_AXIDMAC_Descriptor_SetRetrigger (cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_r…
606 …_AXIDMAC_Descriptor_SetChannelState (cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_c…
631 …_t * Cy_AXIDMAC_Descriptor_GetNextDescriptor (cy_stc_axidmac_descriptor_t const * descriptor);
634 …tor_type_t Cy_AXIDMAC_Descriptor_GetDescriptorType(cy_stc_axidmac_descriptor_t const * descriptor);
635 … Cy_AXIDMAC_Descriptor_GetSrcAddress (cy_stc_axidmac_descriptor_t const * descriptor);
636 … Cy_AXIDMAC_Descriptor_GetDstAddress (cy_stc_axidmac_descriptor_t const * descriptor);
637 … Cy_AXIDMAC_Descriptor_GetMloopDataCount(cy_stc_axidmac_descriptor_t const * descriptor);
658 … Cy_AXIDMAC_Descriptor_GetXloopDataCount (cy_stc_axidmac_descriptor_t const * descriptor);
661 … Cy_AXIDMAC_Descriptor_GetYloopDataCount (cy_stc_axidmac_descriptor_t const * descriptor);
662 … Cy_AXIDMAC_Descriptor_GetXloopSrcIncrement(cy_stc_axidmac_descriptor_t const * descriptor);
663 … Cy_AXIDMAC_Descriptor_GetXloopDstIncrement(cy_stc_axidmac_descriptor_t const * descriptor);
664 … Cy_AXIDMAC_Descriptor_GetYloopSrcIncrement(cy_stc_axidmac_descriptor_t const * descriptor);
665 … Cy_AXIDMAC_Descriptor_GetYloopDstIncrement(cy_stc_axidmac_descriptor_t const * descriptor);
666 …pe_t Cy_AXIDMAC_Descriptor_GetInterruptType (cy_stc_axidmac_descriptor_t const * descriptor);
667 …pe_t Cy_AXIDMAC_Descriptor_GetTriggerInType (cy_stc_axidmac_descriptor_t const * descriptor);
668 …pe_t Cy_AXIDMAC_Descriptor_GetTriggerOutType (cy_stc_axidmac_descriptor_t const * descriptor);
669 …t Cy_AXIDMAC_Descriptor_GetRetrigger (cy_stc_axidmac_descriptor_t const * descriptor);
670 …ate_t Cy_AXIDMAC_Descriptor_GetChannelState (cy_stc_axidmac_descriptor_t const * descriptor);
841 __STATIC_INLINE void Cy_AXIDMAC_Descriptor_SetSrcAddress(cy_stc_axidmac_descriptor_t * descriptor, … in Cy_AXIDMAC_Descriptor_SetSrcAddress() argument
843 descriptor->src = (uint32_t) srcAddress; in Cy_AXIDMAC_Descriptor_SetSrcAddress()
863 …C_INLINE void * Cy_AXIDMAC_Descriptor_GetSrcAddress(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetSrcAddress() argument
865 return ((void *) descriptor->src); in Cy_AXIDMAC_Descriptor_GetSrcAddress()
885 __STATIC_INLINE void Cy_AXIDMAC_Descriptor_SetDstAddress(cy_stc_axidmac_descriptor_t * descriptor, … in Cy_AXIDMAC_Descriptor_SetDstAddress() argument
887 descriptor->dst = (uint32_t) dstAddress; in Cy_AXIDMAC_Descriptor_SetDstAddress()
907 …C_INLINE void * Cy_AXIDMAC_Descriptor_GetDstAddress(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetDstAddress() argument
909 return ((void *) descriptor->dst); in Cy_AXIDMAC_Descriptor_GetDstAddress()
929 …d Cy_AXIDMAC_Descriptor_SetInterruptType(cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_t… in Cy_AXIDMAC_Descriptor_SetInterruptType() argument
933 CY_REG32_CLR_SET(descriptor->ctl, AXI_DMAC_CH_DESCR_CTL_INTR_TYPE, interruptType); in Cy_AXIDMAC_Descriptor_SetInterruptType()
953 …igger_type_t Cy_AXIDMAC_Descriptor_GetInterruptType(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetInterruptType() argument
956 … return((cy_en_axidmac_trigger_type_t) _FLD2VAL(AXI_DMAC_CH_DESCR_CTL_INTR_TYPE, descriptor->ctl)); in Cy_AXIDMAC_Descriptor_GetInterruptType()
976 …d Cy_AXIDMAC_Descriptor_SetTriggerInType(cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_t… in Cy_AXIDMAC_Descriptor_SetTriggerInType() argument
980 CY_REG32_CLR_SET(descriptor->ctl, AXI_DMAC_CH_DESCR_CTL_TR_IN_TYPE, triggerInType); in Cy_AXIDMAC_Descriptor_SetTriggerInType()
1000 …igger_type_t Cy_AXIDMAC_Descriptor_GetTriggerInType(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetTriggerInType() argument
1003 …return((cy_en_axidmac_trigger_type_t) _FLD2VAL(AXI_DMAC_CH_DESCR_CTL_TR_IN_TYPE, descriptor->ctl)); in Cy_AXIDMAC_Descriptor_GetTriggerInType()
1023 … Cy_AXIDMAC_Descriptor_SetTriggerOutType(cy_stc_axidmac_descriptor_t * descriptor, cy_en_axidmac_t… in Cy_AXIDMAC_Descriptor_SetTriggerOutType() argument
1027 CY_REG32_CLR_SET(descriptor->ctl, AXI_DMAC_CH_DESCR_CTL_TR_OUT_TYPE, triggerOutType); in Cy_AXIDMAC_Descriptor_SetTriggerOutType()
1047 …gger_type_t Cy_AXIDMAC_Descriptor_GetTriggerOutType(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetTriggerOutType() argument
1050 …return((cy_en_axidmac_trigger_type_t) _FLD2VAL(AXI_DMAC_CH_DESCR_CTL_TR_OUT_TYPE, descriptor->ctl)… in Cy_AXIDMAC_Descriptor_GetTriggerOutType()
1072 __STATIC_INLINE void Cy_AXIDMAC_Descriptor_SetRetrigger(cy_stc_axidmac_descriptor_t * descriptor, c… in Cy_AXIDMAC_Descriptor_SetRetrigger() argument
1076 CY_REG32_CLR_SET(descriptor->ctl, AXI_DMAC_CH_DESCR_CTL_WAIT_FOR_DEACT, retrigger); in Cy_AXIDMAC_Descriptor_SetRetrigger()
1097 …dmac_retrigger_t Cy_AXIDMAC_Descriptor_GetRetrigger(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetRetrigger() argument
1100 …return((cy_en_axidmac_retrigger_t) _FLD2VAL(AXI_DMAC_CH_DESCR_CTL_WAIT_FOR_DEACT, descriptor->ctl)… in Cy_AXIDMAC_Descriptor_GetRetrigger()
1120 …ptor_type_t Cy_AXIDMAC_Descriptor_GetDescriptorType(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetDescriptorType() argument
1123 …return((cy_en_axidmac_descriptor_type_t) _FLD2VAL(AXI_DMAC_CH_DESCR_CTL_DESCR_TYPE, descriptor->ct… in Cy_AXIDMAC_Descriptor_GetDescriptorType()
1143 __STATIC_INLINE void Cy_AXIDMAC_Descriptor_SetChannelState(cy_stc_axidmac_descriptor_t * descriptor… in Cy_AXIDMAC_Descriptor_SetChannelState() argument
1147 CY_REG32_CLR_SET(descriptor->ctl, AXI_DMAC_CH_DESCR_CTL_CH_DISABLE, channelState); in Cy_AXIDMAC_Descriptor_SetChannelState()
1167 …annel_state_t Cy_AXIDMAC_Descriptor_GetChannelState(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetChannelState() argument
1170 …return((cy_en_axidmac_channel_state_t) _FLD2VAL(AXI_DMAC_CH_DESCR_CTL_CH_DISABLE, descriptor->ctl)… in Cy_AXIDMAC_Descriptor_GetChannelState()
1190 … Cy_AXIDMAC_Descriptor_SetMloopDataCount(cy_stc_axidmac_descriptor_t * descriptor, uint32_t mCount) in Cy_AXIDMAC_Descriptor_SetMloopDataCount() argument
1194 CY_REG32_CLR_SET(descriptor->mSize, AXI_DMAC_CH_DESCR_M_SIZE_M_COUNT, mCount - 1UL); in Cy_AXIDMAC_Descriptor_SetMloopDataCount()
1215 …NE uint32_t Cy_AXIDMAC_Descriptor_GetMloopDataCount(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetMloopDataCount() argument
1218 return (_FLD2VAL(AXI_DMAC_CH_DESCR_M_SIZE_M_COUNT, descriptor->mSize) + 1UL); in Cy_AXIDMAC_Descriptor_GetMloopDataCount()
1240 …_AXIDMAC_Descriptor_SetXloopSrcIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t srcXinc… in Cy_AXIDMAC_Descriptor_SetXloopSrcIncrement() argument
1242 CY_ASSERT_L1(CY_AXIDMAC_1D_MEMORY_COPY != Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_SetXloopSrcIncrement()
1244 CY_REG32_CLR_SET(descriptor->xIncr, AXI_DMAC_CH_DESCR_X_INCR_SRC_X, srcXincrement); in Cy_AXIDMAC_Descriptor_SetXloopSrcIncrement()
1265 … int16_t Cy_AXIDMAC_Descriptor_GetXloopSrcIncrement(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetXloopSrcIncrement() argument
1267 CY_ASSERT_L1(CY_AXIDMAC_1D_MEMORY_COPY != Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_GetXloopSrcIncrement()
1269 return ((int16_t) _FLD2VAL(AXI_DMAC_CH_DESCR_X_INCR_SRC_X, descriptor->xIncr)); in Cy_AXIDMAC_Descriptor_GetXloopSrcIncrement()
1291 …_AXIDMAC_Descriptor_SetXloopDstIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t dstXinc… in Cy_AXIDMAC_Descriptor_SetXloopDstIncrement() argument
1293 CY_ASSERT_L1(CY_AXIDMAC_1D_MEMORY_COPY != Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_SetXloopDstIncrement()
1295 CY_REG32_CLR_SET(descriptor->xIncr, AXI_DMAC_CH_DESCR_X_INCR_DST_X, dstXincrement); in Cy_AXIDMAC_Descriptor_SetXloopDstIncrement()
1317 … int16_t Cy_AXIDMAC_Descriptor_GetXloopDstIncrement(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetXloopDstIncrement() argument
1319 CY_ASSERT_L1(CY_AXIDMAC_1D_MEMORY_COPY != Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_GetXloopDstIncrement()
1321 return ((int16_t) _FLD2VAL(AXI_DMAC_CH_DESCR_X_INCR_DST_X, descriptor->xIncr)); in Cy_AXIDMAC_Descriptor_GetXloopDstIncrement()
1342 … Cy_AXIDMAC_Descriptor_SetYloopDataCount(cy_stc_axidmac_descriptor_t * descriptor, uint32_t yCount) in Cy_AXIDMAC_Descriptor_SetYloopDataCount() argument
1344 CY_ASSERT_L1(CY_AXIDMAC_3D_MEMORY_COPY == Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_SetYloopDataCount()
1347 CY_REG32_CLR_SET(descriptor->ySize, AXI_DMAC_CH_DESCR_Y_SIZE_Y_COUNT, yCount - 1UL); in Cy_AXIDMAC_Descriptor_SetYloopDataCount()
1368 …NE uint32_t Cy_AXIDMAC_Descriptor_GetYloopDataCount(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetYloopDataCount() argument
1370 CY_ASSERT_L1(CY_AXIDMAC_3D_MEMORY_COPY == Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_GetYloopDataCount()
1372 return (_FLD2VAL(AXI_DMAC_CH_DESCR_Y_SIZE_Y_COUNT, descriptor->ySize) + 1UL); in Cy_AXIDMAC_Descriptor_GetYloopDataCount()
1394 …_AXIDMAC_Descriptor_SetYloopSrcIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t srcYinc… in Cy_AXIDMAC_Descriptor_SetYloopSrcIncrement() argument
1396 CY_ASSERT_L1(CY_AXIDMAC_3D_MEMORY_COPY == Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_SetYloopSrcIncrement()
1398 CY_REG32_CLR_SET(descriptor->yIncr, AXI_DMAC_CH_DESCR_Y_INCR_SRC_Y, srcYincrement); in Cy_AXIDMAC_Descriptor_SetYloopSrcIncrement()
1419 … int16_t Cy_AXIDMAC_Descriptor_GetYloopSrcIncrement(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetYloopSrcIncrement() argument
1421 CY_ASSERT_L1(CY_AXIDMAC_3D_MEMORY_COPY == Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_GetYloopSrcIncrement()
1423 return ((int16_t) _FLD2VAL(AXI_DMAC_CH_DESCR_Y_INCR_SRC_Y, descriptor->yIncr)); in Cy_AXIDMAC_Descriptor_GetYloopSrcIncrement()
1445 …_AXIDMAC_Descriptor_SetYloopDstIncrement(cy_stc_axidmac_descriptor_t * descriptor, int16_t dstYinc… in Cy_AXIDMAC_Descriptor_SetYloopDstIncrement() argument
1447 CY_ASSERT_L1(CY_AXIDMAC_3D_MEMORY_COPY == Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_SetYloopDstIncrement()
1449 CY_REG32_CLR_SET(descriptor->yIncr, AXI_DMAC_CH_DESCR_Y_INCR_DST_Y, dstYincrement); in Cy_AXIDMAC_Descriptor_SetYloopDstIncrement()
1471 … int16_t Cy_AXIDMAC_Descriptor_GetYloopDstIncrement(cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Descriptor_GetYloopDstIncrement() argument
1473 CY_ASSERT_L1(CY_AXIDMAC_3D_MEMORY_COPY == Cy_AXIDMAC_Descriptor_GetDescriptorType(descriptor)); in Cy_AXIDMAC_Descriptor_GetYloopDstIncrement()
1475 return ((int16_t) _FLD2VAL(AXI_DMAC_CH_DESCR_Y_INCR_DST_Y, descriptor->yIncr)); in Cy_AXIDMAC_Descriptor_GetYloopDstIncrement()
1506 …tDescriptor(AXI_DMAC_Type * base, uint32_t channel, cy_stc_axidmac_descriptor_t const * descriptor) in Cy_AXIDMAC_Channel_SetDescriptor() argument
1510 AXIDMAC_CH_CURR(base, channel) = (uint32_t)descriptor; in Cy_AXIDMAC_Channel_SetDescriptor()