代码搜索结果
找到约 10,000 项符合
DMA 的代码
dma.c
#include "def.h"
#include "option.h"
#include "2440addr.h"
#include "2440lib.h"
#include "2440slib.h"
#include "dma.h"
#define DMA_CHECK_ATTR 1
typedef struct{ //can't use __packed???
dma.h
#ifndef __DMA_H__
#define __DMA_H__
void Test_Zdma0(void);
void Test_Zdma1(void);
//void Test_Zdma0Xdreq(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.c
#undef __DEBUG_VERSION
#include "def.h"
#include "2410addr.h"
#include "2410lib.h"
#include "2410slib.h"
#include "DMAAdmin.h"
#define DMA_CHECK_ATTR 1
typedef struct{ //can't use __pa
dma.c
/*****************************************
NAME: dma.c
DESC: DMA memory2memory test
HISTORY:
2001.03.31:purnnamu: draft ver 0.0
*****************************************/
#include