buffer Struct Reference
[Generic Buffers]

A generic data buffer. More...

#include <buffer.h>

Collaboration diagram for buffer:
Collaboration graph
[legend]

Data Fields

void * dma_desc
dma_addr_t addr
size_t len
struct slist_node node

Detailed Description

A generic data buffer.

This buffer represents a physically and virtually contiguous memory area used for data storage.

Definition at line 61 of file buffer.h.


Field Documentation

Address of the data area

Definition at line 65 of file buffer.h.

Referenced by buffer_init_rx(), buffer_init_rx_mapped(), buffer_init_tx(), and buffer_init_tx_mapped().

DMA descriptor associated with this buffer, if any.

Definition at line 63 of file buffer.h.

Referenced by buffer_alloc().

size_t buffer::len

Length of the data area in bytes.

Definition at line 67 of file buffer.h.

Referenced by buffer_init_rx(), buffer_init_rx_mapped(), buffer_init_tx(), buffer_init_tx_mapped(), and buffer_resize().

List node for use by the owner of the buffer

Definition at line 69 of file buffer.h.

Referenced by blk_req_add_buffer().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 15:18:25 2010 for display-training by  doxygen 1.6.3