代码搜索结果
找到约 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{
volatile U32 DI
dma.js
//-- DMA Probe Module
//-- Copyright 2008 Datamaster.com.cn, All Rights Reserved.
//-- V2.100 Build20080327
//Manual Setting
var _dm_host="http://service.iwebtracker.cn";
var _dm_gif="/_mt.gif"
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
/* $Id: dma.c,v 1.7 1994/12/28 03:35:33 root Exp root $
* linux/kernel/dma.c: A DMA channel allocator. Inspired by linux/kernel/irq.c.
*
* Written by Hennus Bergman, 1992.
*
* 1994/12/26: Changes
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
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