亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xdma_channel.c

?? u-boot1.3.0的原碼,從配了網絡驅動和FLASH的驅動,并該用ESC竟如
?? C
?? 第 1 頁 / 共 2 頁
字號:
* InstancePtr contains a pointer to the DMA channel to operate on.** Control contains the value to be written to the control register of the DMA* channel. One or more of the following values may be contained the register.* Each of the values are unique bit masks such that they may be ORed together* to enable multiple bits or inverted and ANDed to disable multiple bits.**	XDC_DMACR_SOURCE_INCR_MASK	Increment the source address*	XDC_DMACR_DEST_INCR_MASK	Increment the destination address*	XDC_DMACR_SOURCE_LOCAL_MASK Local source address*	XDC_DMACR_DEST_LOCAL_MASK	Local destination address*	XDC_DMACR_SG_ENABLE_MASK	Scatter gather enable*	XDC_DMACR_GEN_BD_INTR_MASK	Individual buffer descriptor interrupt*	XDC_DMACR_LAST_BD_MASK		Last buffer descriptor in a packet** RETURN VALUE:** None.** NOTES:** None.*******************************************************************************/voidXDmaChannel_SetControl(XDmaChannel * InstancePtr, u32 Control){	/* assert to verify input arguments except the control which can't be	 * asserted since all values are valid	 */	XASSERT_VOID(InstancePtr != NULL);	XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* set the DMA control register to the specified value */	XIo_Out32(InstancePtr->RegBaseAddress + XDC_DMAC_REG_OFFSET, Control);}/******************************************************************************** FUNCTION:** XDmaChannel_GetStatus** DESCRIPTION:** This function gets the status register contents of the DMA channel.** ARGUMENTS:** InstancePtr contains a pointer to the DMA channel to operate on.** RETURN VALUE:** The status register contents of the DMA channel. One or more of the* following values may be contained the register. Each of the values are* unique bit masks.**	XDC_DMASR_BUSY_MASK			The DMA channel is busy*	XDC_DMASR_BUS_ERROR_MASK	A bus error occurred*	XDC_DMASR_BUS_TIMEOUT_MASK	A bus timeout occurred*	XDC_DMASR_LAST_BD_MASK		The last buffer descriptor of a packet** NOTES:** None.*******************************************************************************/u32XDmaChannel_GetStatus(XDmaChannel * InstancePtr){	/* assert to verify input arguments */	XASSERT_NONVOID(InstancePtr != NULL);	XASSERT_NONVOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* return the contents of the DMA status register */	return XIo_In32(InstancePtr->RegBaseAddress + XDC_DMAS_REG_OFFSET);}/******************************************************************************** FUNCTION:** XDmaChannel_SetIntrStatus** DESCRIPTION:** This function sets the interrupt status register of the specified DMA channel.* Setting any bit of the interrupt status register will clear the bit to* indicate the interrupt processing has been completed. The definitions of each* bit in the register match the definition of the bits in the interrupt enable* register.** ARGUMENTS:** InstancePtr contains a pointer to the DMA channel to operate on.** Status contains the value to be written to the status register of the DMA* channel.  One or more of the following values may be contained the register.* Each of the values are unique bit masks such that they may be ORed together* to enable multiple bits or inverted and ANDed to disable multiple bits.**	XDC_IXR_DMA_DONE_MASK		The dma operation is done*	XDC_IXR_DMA_ERROR_MASK	    The dma operation had an error*	XDC_IXR_PKT_DONE_MASK	    A packet is complete*	XDC_IXR_PKT_THRESHOLD_MASK 	The packet count threshold reached*	XDC_IXR_PKT_WAIT_BOUND_MASK The packet wait bound reached*	XDC_IXR_SG_DISABLE_ACK_MASK The scatter gather disable completed*	XDC_IXR_BD_MASK				A buffer descriptor is done** RETURN VALUE:** None.** NOTES:** None.*******************************************************************************/voidXDmaChannel_SetIntrStatus(XDmaChannel * InstancePtr, u32 Status){	/* assert to verify input arguments except the status which can't be	 * asserted since all values are valid	 */	XASSERT_VOID(InstancePtr != NULL);	XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* set the interrupt status register with the specified value such that	 * all bits which are set in the register are cleared effectively clearing	 * any active interrupts	 */	XIo_Out32(InstancePtr->RegBaseAddress + XDC_IS_REG_OFFSET, Status);}/******************************************************************************** FUNCTION:** XDmaChannel_GetIntrStatus** DESCRIPTION:** This function gets the interrupt status register of the specified DMA channel.* The interrupt status register indicates which interrupts are active* for the DMA channel.  If an interrupt is active, the status register must be* set (written) with the bit set for each interrupt which has been processed* in order to clear the interrupts.  The definitions of each bit in the register* match the definition of the bits in the interrupt enable register.** ARGUMENTS:** InstancePtr contains a pointer to the DMA channel to operate on.** RETURN VALUE:** The interrupt status register contents of the specified DMA channel.* One or more of the following values may be contained the register.* Each of the values are unique bit masks.**	XDC_IXR_DMA_DONE_MASK		The dma operation is done*	XDC_IXR_DMA_ERROR_MASK	    The dma operation had an error*	XDC_IXR_PKT_DONE_MASK	    A packet is complete*	XDC_IXR_PKT_THRESHOLD_MASK 	The packet count threshold reached*	XDC_IXR_PKT_WAIT_BOUND_MASK The packet wait bound reached*	XDC_IXR_SG_DISABLE_ACK_MASK The scatter gather disable completed*	XDC_IXR_SG_END_MASK			Current descriptor was the end of the list*	XDC_IXR_BD_MASK				A buffer descriptor is done** NOTES:** None.*******************************************************************************/u32XDmaChannel_GetIntrStatus(XDmaChannel * InstancePtr){	/* assert to verify input arguments */	XASSERT_NONVOID(InstancePtr != NULL);	XASSERT_NONVOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* return the contents of the interrupt status register */	return XIo_In32(InstancePtr->RegBaseAddress + XDC_IS_REG_OFFSET);}/******************************************************************************** FUNCTION:** XDmaChannel_SetIntrEnable** DESCRIPTION:** This function sets the interrupt enable register of the specified DMA* channel.  The interrupt enable register contains bits which enable* individual interrupts for the DMA channel.  The definitions of each bit* in the register match the definition of the bits in the interrupt status* register.** ARGUMENTS:** InstancePtr contains a pointer to the DMA channel to operate on.** Enable contains the interrupt enable register contents to be written* in the DMA channel. One or more of the following values may be contained* the register. Each of the values are unique bit masks such that they may be* ORed together to enable multiple bits or inverted and ANDed to disable* multiple bits.**	XDC_IXR_DMA_DONE_MASK		The dma operation is done*	XDC_IXR_DMA_ERROR_MASK	    The dma operation had an error*	XDC_IXR_PKT_DONE_MASK	    A packet is complete*	XDC_IXR_PKT_THRESHOLD_MASK 	The packet count threshold reached*	XDC_IXR_PKT_WAIT_BOUND_MASK The packet wait bound reached*	XDC_IXR_SG_DISABLE_ACK_MASK The scatter gather disable completed*	XDC_IXR_SG_END_MASK			Current descriptor was the end of the list*	XDC_IXR_BD_MASK				A buffer descriptor is done** RETURN VALUE:** None.** NOTES:** None.*******************************************************************************/voidXDmaChannel_SetIntrEnable(XDmaChannel * InstancePtr, u32 Enable){	/* assert to verify input arguments except the enable which can't be	 * asserted since all values are valid	 */	XASSERT_VOID(InstancePtr != NULL);	XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* set the interrupt enable register to the specified value */	XIo_Out32(InstancePtr->RegBaseAddress + XDC_IE_REG_OFFSET, Enable);}/******************************************************************************** FUNCTION:** XDmaChannel_GetIntrEnable** DESCRIPTION:** This function gets the interrupt enable of the DMA channel.  The* interrupt enable contains flags which enable individual interrupts for the* DMA channel. The definitions of each bit in the register match the definition* of the bits in the interrupt status register.** ARGUMENTS:** InstancePtr contains a pointer to the DMA channel to operate on.** RETURN VALUE:** The interrupt enable of the DMA channel.  One or more of the following values* may be contained the register. Each of the values are unique bit masks.**	XDC_IXR_DMA_DONE_MASK		The dma operation is done*	XDC_IXR_DMA_ERROR_MASK	    The dma operation had an error*	XDC_IXR_PKT_DONE_MASK	    A packet is complete*	XDC_IXR_PKT_THRESHOLD_MASK 	The packet count threshold reached*	XDC_IXR_PKT_WAIT_BOUND_MASK The packet wait bound reached*	XDC_IXR_SG_DISABLE_ACK_MASK The scatter gather disable completed*	XDC_IXR_BD_MASK				A buffer descriptor is done** NOTES:** None.*******************************************************************************/u32XDmaChannel_GetIntrEnable(XDmaChannel * InstancePtr){	/* assert to verify input arguments */	XASSERT_NONVOID(InstancePtr != NULL);	XASSERT_NONVOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* return the contents of the interrupt enable register */	return XIo_In32(InstancePtr->RegBaseAddress + XDC_IE_REG_OFFSET);}/******************************************************************************** FUNCTION:** XDmaChannel_Transfer** DESCRIPTION:** This function starts the DMA channel transferring data from a memory source* to a memory destination. This function only starts the operation and returns* before the operation may be complete.  If the interrupt is enabled, an* interrupt will be generated when the operation is complete, otherwise it is* necessary to poll the channel status to determine when it's complete.  It is* the responsibility of the caller to determine when the operation is complete* by handling the generated interrupt or polling the status.  It is also the* responsibility of the caller to ensure that the DMA channel is not busy with* another transfer before calling this function.** ARGUMENTS:** InstancePtr contains a pointer to the DMA channel to operate on.** SourcePtr contains a pointer to the source memory where the data is to* be tranferred from and must be 32 bit aligned.** DestinationPtr contains a pointer to the destination memory where the data* is to be transferred and must be 32 bit aligned.** ByteCount contains the number of bytes to transfer during the DMA operation.** RETURN VALUE:** None.** NOTES:** The DMA h/w will not currently allow a non-local memory transfer to non-local* memory (memory copy), but only allows a non-local memory to or from the device* memory (typically a FIFO).** It is the responsibility of the caller to ensure that the cache is* flushed and invalidated both before and after the DMA operation completes* if the memory pointed to is cached. The caller must also ensure that the* pointers contain a physical address rather than a virtual address* if address translation is being used.*******************************************************************************/voidXDmaChannel_Transfer(XDmaChannel * InstancePtr,		     u32 * SourcePtr, u32 * DestinationPtr, u32 ByteCount){	/* assert to verify input arguments and the alignment of any arguments	 * which have expected alignments	 */	XASSERT_VOID(InstancePtr != NULL);	XASSERT_VOID(SourcePtr != NULL);	XASSERT_VOID(((u32) SourcePtr & 3) == 0);	XASSERT_VOID(DestinationPtr != NULL);	XASSERT_VOID(((u32) DestinationPtr & 3) == 0);	XASSERT_VOID(ByteCount != 0);	XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);	/* setup the source and destination address registers for the transfer */	XIo_Out32(InstancePtr->RegBaseAddress + XDC_SA_REG_OFFSET,		  (u32) SourcePtr);	XIo_Out32(InstancePtr->RegBaseAddress + XDC_DA_REG_OFFSET,		  (u32) DestinationPtr);	/* start the DMA transfer to copy from the source buffer to the	 * destination buffer by writing the length to the length register	 */	XIo_Out32(InstancePtr->RegBaseAddress + XDC_LEN_REG_OFFSET, ByteCount);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美—级在线免费片| 欧美视频一区二| 色久综合一二码| 日韩一级二级三级精品视频| 国产精品久久久久久久久久久免费看 | 中文字幕精品综合| 亚洲bt欧美bt精品777| 顶级嫩模精品视频在线看| 在线成人午夜影院| 亚洲老司机在线| 成人精品视频网站| 欧美va天堂va视频va在线| 亚洲一区二区在线免费看| 国产成人av一区二区三区在线 | 日韩电影在线观看网站| 国产黄色成人av| 精品久久久久香蕉网| 午夜伊人狠狠久久| 在线观看视频91| 亚洲人成网站精品片在线观看| 黑人巨大精品欧美黑白配亚洲| 欧美日韩精品一区二区| 一区二区三区毛片| 色综合欧美在线视频区| 亚洲人成亚洲人成在线观看图片| 国产成人精品aa毛片| www欧美成人18+| 极品少妇一区二区三区精品视频| 欧美一二三区在线观看| 免费在线一区观看| 91精品免费观看| 日韩av网站在线观看| 日韩一区二区三区四区 | 久久不见久久见中文字幕免费| 欧美日韩中文另类| 日韩精品一区第一页| 91麻豆精品国产91久久久久久| 一区二区三区美女视频| 欧美日韩久久久| 日韩在线卡一卡二| 欧美一区二区高清| 欧美a级一区二区| 精品国产露脸精彩对白| 国产精品亚洲一区二区三区在线| 久久久午夜精品| 99在线精品一区二区三区| 中文字幕av一区二区三区免费看| caoporn国产精品| 亚洲精品欧美激情| 91 com成人网| 久久99国产精品久久| 欧美激情一区二区三区四区| 99re热这里只有精品视频| 亚洲一区二区中文在线| 欧美成人a∨高清免费观看| 国内精品在线播放| 成人免费在线视频观看| 欧美日韩精品福利| 国产一区欧美一区| 亚洲另类一区二区| 日韩一区二区免费在线观看| 国产传媒欧美日韩成人| 亚洲精品视频在线观看免费| 欧美日韩免费观看一区三区| 久久国产剧场电影| 亚洲欧洲制服丝袜| 精品国产一区二区三区不卡| 成人av网站在线观看| 婷婷久久综合九色综合伊人色| 26uuuu精品一区二区| 日本高清不卡视频| 久久疯狂做爰流白浆xx| 亚洲人xxxx| 欧美一级免费观看| 不卡高清视频专区| 另类人妖一区二区av| 一区二区三区在线免费| 精品国产乱码久久久久久老虎| 99精品视频一区二区| 久久超级碰视频| 亚洲高清久久久| 国产欧美日韩另类一区| 欧美伦理电影网| 粉嫩嫩av羞羞动漫久久久| 日韩一区精品字幕| 亚洲日本一区二区三区| 久久综合色天天久久综合图片| 91麻豆成人久久精品二区三区| 麻豆精品在线观看| 亚洲天堂精品在线观看| 国产日韩v精品一区二区| 欧美乱熟臀69xxxxxx| 色综合天天视频在线观看| 国产精品自拍三区| 亚洲成人中文在线| 亚洲国产你懂的| 国产精品网站一区| 欧美大片在线观看一区二区| 欧美日韩中字一区| 色噜噜夜夜夜综合网| 成人激情黄色小说| 国产乱国产乱300精品| 免费成人你懂的| 日本欧美大码aⅴ在线播放| 亚洲女人小视频在线观看| 国产精品美女www爽爽爽| 久久精品网站免费观看| 欧美不卡一区二区三区| 日韩一级高清毛片| 日韩欧美中文一区| 91精品免费观看| 日韩限制级电影在线观看| 欧美日韩大陆一区二区| 欧美日韩国产一级| 91麻豆精品国产91久久久更新时间| 在线观看精品一区| 欧美色精品天天在线观看视频| 欧美三级三级三级| 欧美综合天天夜夜久久| 97se亚洲国产综合自在线| 91麻豆蜜桃一区二区三区| 色呦呦日韩精品| 色综合视频在线观看| 在线观看精品一区| 在线不卡中文字幕播放| 91精品国产欧美一区二区18 | 91女厕偷拍女厕偷拍高清| gogo大胆日本视频一区| 色婷婷激情一区二区三区| 日本精品视频一区二区三区| 欧美亚洲国产bt| 91麻豆精品国产| 精品国产乱码久久久久久图片 | 久久综合九色综合欧美就去吻| 欧美成人精品1314www| 国产亚洲欧洲一区高清在线观看| 中文字幕在线免费不卡| 亚洲精品中文字幕乱码三区 | 91精品在线麻豆| 欧美大肚乱孕交hd孕妇| 国产欧美一区视频| 一区二区三区欧美久久| 青青草91视频| 国产精品一区二区你懂的| 色综合久久88色综合天天6| 欧美午夜宅男影院| 欧美videos中文字幕| 国产精品三级av在线播放| 亚洲欧美区自拍先锋| 日韩av午夜在线观看| 成人精品gif动图一区| 欧美日韩一区二区三区四区五区| 欧美成va人片在线观看| 亚洲欧美怡红院| 欧美a一区二区| 99久久夜色精品国产网站| 在线播放91灌醉迷j高跟美女 | 亚洲激情校园春色| 日韩电影网1区2区| 成人免费毛片aaaaa**| 欧美日韩国产天堂| 国产精品动漫网站| 日韩经典一区二区| 91网页版在线| 久久久久国产一区二区三区四区| 一区二区欧美国产| 精品一区中文字幕| 在线观看一区二区视频| 久久久久久亚洲综合影院红桃| 午夜精品国产更新| 99久久夜色精品国产网站| 91.com在线观看| 亚洲宅男天堂在线观看无病毒| 国产精品正在播放| 欧美一级欧美三级| 亚洲成人免费看| 91国偷自产一区二区使用方法| 国产日韩三级在线| 六月丁香婷婷久久| 欧美日韩免费不卡视频一区二区三区| 国产午夜亚洲精品午夜鲁丝片 | 久久婷婷色综合| 日本欧美加勒比视频| 在线观看日韩国产| 国产精品久久久久久久久久免费看| 激情图区综合网| 91精品国产综合久久久久久| 亚洲欧美激情视频在线观看一区二区三区 | 色综合久久88色综合天天免费| 国产人成亚洲第一网站在线播放| 麻豆成人91精品二区三区| 欧美日韩一区二区电影| 亚洲美女视频一区| 波多野结衣中文字幕一区| 国产日产欧美一区二区三区| 国产在线国偷精品产拍免费yy| 日韩小视频在线观看专区| 日韩国产一二三区| 91精品国产综合久久久久久 | 一级中文字幕一区二区|