代码搜索结果
找到约 10,000 项符合
DMA 的代码
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.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_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 "config.h"
#include "board.h"
#include "2410addr.h"
#include "dma.h"
#define DMA_CHECK_ATTR 1
typedef struct{ //can't use __packed???
volatile U32 DISRC;
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
// dma.h -- inheritance and dynamic memory allocation
#ifndef DMA_H_
#define DMA_H_
#include
// Base Class Using DMA
class baseDMA
{
private:
char * label;
int rating;
dma.cpp
// dma.cpp --dma class methods
#include "dma.h"
#include
// baseDMA methods
baseDMA::baseDMA(const char * l, int r)
{
label = new char[std::strlen(l) + 1];
std::strcpy(lab
dma.h
// dma.h -- inheritance and dynamic memory allocation
#ifndef DMA_H_
#define DMA_H_
#include
// Base Class Using DMA
class baseDMA
{
private:
char * label;
int rating;
dma.cpp
// dma.cpp --dma class methods
#include "dma.h"
#include
// baseDMA methods
baseDMA::baseDMA(const char * l, int r)
{
label = new char[std::strlen(l) + 1];
std::strcpy(lab