代码搜索结果
找到约 10,000 项符合
DMA 的代码
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.h
#ifndef DMA_ADMIN_H
#define DMA_ADMIN_H
#define MAX_DMA_CHANNEL 4
//#define DMA_IS_USED 1
#define DMA_IS_HWTRIG 2
#define DMA_IS_SWTRIG 1
#define DMA_IS_FREE 0
// request source
#define R
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.c
/**********************************************************************
CAUTION: DMA operation is being done in cache-on state NOW.
So,some read value may be not same with real memory value
dma.apj
# ADT Project File, Format Version 1.00
# WARNING: DO NOT EDIT OR DELETE THIS FILE!
[APJ begin]
Active Config=_string(DEBUG)
[Project begin]
ProjectName=_string(dma)
Co
dma.h
#ifndef __DMA_H__
#define __DMA_H__
int Test_DMA(void);
void Test_ExtDMA(void);
/********************************************************************************
* DMA Control Register Def
dma.c
/********************************************************************************/
/* DMA Function Test */
/* Function : dma.c */
/* Description : DMA Test Routine */
/* Author :