代码搜索结果
找到约 10,000 项符合
DMA 的代码
dma.h
/*
** Kenobi2 version 1.3
**
** ** This code has been made to check/learn the 1161 functionalities **
** ** Release 25-Feb-2002 **
dma.c
/*****************************************
NAME: dma.c
DESC: DMA memory2memory test
HISTORY:
2001.03.31:purnnamu: draft ver 0.0
*****************************************/
#include
dma.err
"dma.c", line 125: Warning: C2892E: signed constant overflow: '
dma.h
#ifndef __DMA_H__
#define __DMA_H__
void Test_DMA(void);
#endif /*__DMA_H__*/
dma.c
static int malloc_buffer()
{
if ((csi_data_buf = (U32 *) __get_free_pages(GFP_KERNEL, 7))) // 128 pages = 128x4K = 512K
{
dma_buf_phy_addr = virt_to_phys((void *) csi_data_buf);
dprintcsi2c("Buf
dma.txt
WHAT IS D.M.A.?
Consider the problem of moving a large amount of data to or from an I/O
device. This requirment is commonly encountered in the operation of many
peripheral devices (disk drives,