Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
iio_sw_ring_buffer Struct Reference

Data Fields

struct iio_buffer buf
 
unsigned chardata
 
unsigned charread_p
 
unsigned charwrite_p
 
unsigned charhalf_p
 
int update_needed
 

Detailed Description

struct iio_sw_ring_buffer - software ring buffer : generic ring buffer elements : the ring buffer memory : read pointer (oldest available) : write pointer : half buffer length behind write_p (event generation) : flag to indicate change in size requested

Note that the first element of all ring buffers must be a struct iio_buffer.

Definition at line 32 of file ring_sw.c.

Field Documentation

struct iio_buffer buf

Definition at line 33 of file ring_sw.c.

unsigned char* data

Definition at line 34 of file ring_sw.c.

unsigned char* half_p

Definition at line 38 of file ring_sw.c.

unsigned char* read_p

Definition at line 35 of file ring_sw.c.

int update_needed

Definition at line 39 of file ring_sw.c.

unsigned char* write_p

Definition at line 36 of file ring_sw.c.


The documentation for this struct was generated from the following file: