Static Public Member Functions | Public Attributes

DmaDescriptor Struct Reference

Generic DMA definitions. More...

#include <dma.h>

List of all members.

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

Detailed Description

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.


Member Function Documentation

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]

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines