代码搜索结果
找到约 10,000 项符合
DMA 的代码
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.asm
.section program;
#define MDMAS0_CONFIG 0xffc00f48
#define MDMAD0_CONFIG 0xffc00f08
#define MDMAS0_IRQ_STATUS 0xffc00f68
#define MDMAD0_IRQ_STATUS 0xffc00f28
#define MDMAS0_START_
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.h
/**************************************************************************************
*
* Project Name : S3C6400 Validation
*
* Copyright 2006 by Samsung Electronics, Inc.
* All rights reserve
dma.c
/**************************************************************************************
*
* Project Name : S3C6400 Validation
*
* Copyright 2006 by Samsung Electronics, Inc.
* All rights reserve
dma.h
#ifndef __DMA_H__
#define __DMA_H__
void Test_DMA(void);
#endif /*__DMA_H__*/
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