Generic DMA definitions. More...
#include <dma.h>
Static Public Member Functions | |
| static unsigned long | sum_length (unsigned char dmacount, DmaDescriptor *dma) |
| static bool | copy_inout (char *buffer, unsigned len, unsigned long offset, unsigned char dmacount, DmaDescriptor *dma, bool copyout, unsigned long physoffset, unsigned long physsize) |
| Copy data from an internal buffer to an DMA buffer. | |
Public Attributes | |
| unsigned long | byteoffset |
| unsigned | bytecount |
Generic DMA definitions.
Copyright (C) 2008, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.
| static bool DmaDescriptor::copy_inout | ( | char * | buffer, | |
| unsigned | len, | |||
| unsigned long | offset, | |||
| unsigned char | dmacount, | |||
| DmaDescriptor * | dma, | |||
| bool | copyout, | |||
| unsigned long | physoffset, | |||
| unsigned long | physsize | |||
| ) | [inline, static] |
Copy data from an internal buffer to an DMA buffer.
| static unsigned long DmaDescriptor::sum_length | ( | unsigned char | dmacount, | |
| DmaDescriptor * | dma | |||
| ) | [inline, static] |
| unsigned DmaDescriptor::bytecount |
| unsigned long DmaDescriptor::byteoffset |
1.7.1