Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
ozeltbuf.h File Reference
#include "ozprotocol.h"

Go to the source code of this file.

Data Structures

struct  oz_elt_stream
 
struct  oz_elt_info
 
struct  oz_elt_buf
 

Macros

#define OZ_MAX_ELT_PAYLOAD   255
 
#define OZ_EI_F_MARKED   0x1
 

Typedefs

typedef void(* oz_elt_callback_t )(struct oz_pd *pd, long context)
 

Functions

int oz_elt_buf_init (struct oz_elt_buf *buf)
 
void oz_elt_buf_term (struct oz_elt_buf *buf)
 
struct oz_elt_infooz_elt_info_alloc (struct oz_elt_buf *buf)
 
void oz_elt_info_free (struct oz_elt_buf *buf, struct oz_elt_info *ei)
 
void oz_elt_info_free_chain (struct oz_elt_buf *buf, struct list_head *list)
 
int oz_elt_stream_create (struct oz_elt_buf *buf, u8 id, int max_buf_count)
 
int oz_elt_stream_delete (struct oz_elt_buf *buf, u8 id)
 
void oz_elt_stream_get (struct oz_elt_stream *st)
 
void oz_elt_stream_put (struct oz_elt_stream *st)
 
int oz_queue_elt_info (struct oz_elt_buf *buf, u8 isoc, u8 id, struct oz_elt_info *ei)
 
int oz_select_elts_for_tx (struct oz_elt_buf *buf, u8 isoc, unsigned *len, unsigned max_len, struct list_head *list)
 
int oz_are_elts_available (struct oz_elt_buf *buf)
 
void oz_trim_elt_pool (struct oz_elt_buf *buf)
 

Macro Definition Documentation

#define OZ_EI_F_MARKED   0x1

Definition at line 40 of file ozeltbuf.h.

#define OZ_MAX_ELT_PAYLOAD   255

Definition at line 26 of file ozeltbuf.h.

Typedef Documentation

typedef void(* oz_elt_callback_t)(struct oz_pd *pd, long context)

Definition at line 14 of file ozeltbuf.h.

Function Documentation

int oz_are_elts_available ( struct oz_elt_buf buf)

Definition at line 314 of file ozeltbuf.c.

int oz_elt_buf_init ( struct oz_elt_buf buf)

Definition at line 21 of file ozeltbuf.c.

void oz_elt_buf_term ( struct oz_elt_buf buf)

Definition at line 34 of file ozeltbuf.c.

struct oz_elt_info* oz_elt_info_alloc ( struct oz_elt_buf buf)
read

Definition at line 65 of file ozeltbuf.c.

void oz_elt_info_free ( struct oz_elt_buf buf,
struct oz_elt_info ei 
)

Definition at line 98 of file ozeltbuf.c.

void oz_elt_info_free_chain ( struct oz_elt_buf buf,
struct list_head list 
)

Definition at line 116 of file ozeltbuf.c.

int oz_elt_stream_create ( struct oz_elt_buf buf,
u8  id,
int  max_buf_count 
)

Definition at line 131 of file ozeltbuf.c.

int oz_elt_stream_delete ( struct oz_elt_buf buf,
u8  id 
)

Definition at line 151 of file ozeltbuf.c.

void oz_elt_stream_get ( struct oz_elt_stream st)

Definition at line 190 of file ozeltbuf.c.

void oz_elt_stream_put ( struct oz_elt_stream st)

Definition at line 196 of file ozeltbuf.c.

int oz_queue_elt_info ( struct oz_elt_buf buf,
u8  isoc,
u8  id,
struct oz_elt_info ei 
)

Definition at line 208 of file ozeltbuf.c.

int oz_select_elts_for_tx ( struct oz_elt_buf buf,
u8  isoc,
unsigned *  len,
unsigned  max_len,
struct list_head list 
)

Definition at line 268 of file ozeltbuf.c.

void oz_trim_elt_pool ( struct oz_elt_buf buf)

Definition at line 320 of file ozeltbuf.c.