代码搜索结果
找到约 10,000 项符合
DMA 的代码
dma.c
#include "../../inc/def.h"
#include "../../inc/config.h"
#include "../../inc/board.h"
#include "../../inc/utils.h"
#include "../2410addr.h"
#include "dma.h"
#define DMA_CHECK_ATTR 1
typedef
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
/*
* DMA access *
* v0.1: TDS *
* - basic routines *
* v0.2: TDS (26.05.2004) *
* - removed floppy hack *
* v0.3: Doug Gale *
* - Disables interrupts while progra
dma.h
/*
GazOS Operating System
Copyright (C) 1999 Gareth Owen
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public Lic
dma.h
/* $Id: dma.h,v 1.7 1992/12/14 00:29:34 root Exp root $
* linux/include/asm/dma.h: Defines for using and allocating dma channels.
* Written by Hennus Bergman, 1992.
* High DMA channel support & inf
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
/*****************************************************************************
* dma.h: Header file for NXP LPC23xx/24xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
*
dma.c
/*****************************************************************************
* dma.c: DMA module file for NXP LPC23xx/24xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor