代码搜索结果
找到约 10,000 项符合
DMA 的代码
dma.c
/*****************************************
NAME: dma.c
DESC: DMA memory2memory test
HISTORY:
2003.05.15:Leon YH KIM: draft ver 0.0
*****************************************/
#include
dma.h
#ifndef __DMA_H__
#define __DMA_H__
void Test_DMA(void);
#endif /*__DMA_H__*/
dma.h
int setup_dma(int chan, int32 physaddr, uint16 length,int mode);
uint16 dma_cnt(int chan);
int dma_disable(int chan);
int dma_enable(int chan);
void *dma_malloc(int32 *,unsigned short);
int dis_d
dma.c
/* PC DMA support functions
*/
#include
#include
#include "global.h"
#include "dma.h"
#include "nospc.h"
/* I/O port addresses for DMA page registers on the PC/AT */
static
dma范例.txt
/*
* 声明:本范例源于书籍‘NiosII软件架构解析’
* 作者:蔡伟纲
* 博客地址: http://NiosII.cublog.cn
*
* 一、功能: <mark>DMA</mark>(Memory to Memory)驱动演示代码.
* 二、运行前提: 本范例需要硬件开发板的支持,
* 要求NiosII系统包含名为”<mark>dma</mark>”的<mark>DMA</mark>模块,
* 且<mark>DMA</mark>的长度寄存 ...
dma.h
/* $Id: dma.h,v 1.7 1992/12/14 00:29:34 root Exp root $
* linux/include/asm/dma.h: Defines for using and allocating dma channels.
* Written by Hennus Bergman, 1992.
* High DMA channel support &
dma.h
/* $Id: dma.h,v 1.7 1992/12/14 00:29:34 root Exp root $
* linux/include/asm/dma.h: Defines for using and allocating dma channels.
* Written by Hennus Bergman, 1992.
* High DMA channel support &