Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ozpd.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/sched.h>
#include <linux/netdevice.h>
#include <linux/errno.h>
#include "ozconfig.h"
#include "ozprotocol.h"
#include "ozeltbuf.h"
#include "ozpd.h"
#include "ozproto.h"
#include "oztrace.h"
#include "ozevent.h"
#include "ozcdev.h"
#include "ozusbsvc.h"
#include <asm/unaligned.h>
#include <linux/uaccess.h>
#include <net/psnap.h>

Go to the source code of this file.

Macros

#define OZ_MAX_TX_POOL_SIZE   6
 

Functions

void oz_pd_set_state (struct oz_pd *pd, unsigned state)
 
void oz_pd_get (struct oz_pd *pd)
 
void oz_pd_put (struct oz_pd *pd)
 
struct oz_pdoz_pd_alloc (u8 *mac_addr)
 
void oz_pd_destroy (struct oz_pd *pd)
 
int oz_services_start (struct oz_pd *pd, u16 apps, int resume)
 
void oz_services_stop (struct oz_pd *pd, u16 apps, int pause)
 
void oz_pd_heartbeat (struct oz_pd *pd, u16 apps)
 
void oz_pd_stop (struct oz_pd *pd)
 
int oz_pd_sleep (struct oz_pd *pd)
 
void oz_set_more_bit (struct sk_buff *skb)
 
void oz_set_last_pkt_nb (struct oz_pd *pd, struct sk_buff *skb)
 
int oz_prepare_frame (struct oz_pd *pd, int empty)
 
void oz_send_queued_frames (struct oz_pd *pd, int backlog)
 
void oz_retire_tx_frames (struct oz_pd *pd, u8 lpn)
 
int oz_isoc_stream_create (struct oz_pd *pd, u8 ep_num)
 
int oz_isoc_stream_delete (struct oz_pd *pd, u8 ep_num)
 
int oz_send_isoc_unit (struct oz_pd *pd, u8 ep_num, u8 *data, int len)
 
void oz_apps_init (void)
 
void oz_apps_term (void)
 
void oz_handle_app_elt (struct oz_pd *pd, u8 app_id, struct oz_elt *elt)
 
void oz_pd_indicate_farewells (struct oz_pd *pd)
 

Macro Definition Documentation

#define OZ_MAX_TX_POOL_SIZE   6

Definition at line 26 of file ozpd.c.

Function Documentation

void oz_apps_init ( void  )

Definition at line 895 of file ozpd.c.

void oz_apps_term ( void  )

Definition at line 905 of file ozpd.c.

void oz_handle_app_elt ( struct oz_pd pd,
u8  app_id,
struct oz_elt elt 
)

Definition at line 916 of file ozpd.c.

int oz_isoc_stream_create ( struct oz_pd pd,
u8  ep_num 
)

Definition at line 727 of file ozpd.c.

int oz_isoc_stream_delete ( struct oz_pd pd,
u8  ep_num 
)

Definition at line 755 of file ozpd.c.

struct oz_pd* oz_pd_alloc ( u8 mac_addr)
read

Definition at line 160 of file ozpd.c.

void oz_pd_destroy ( struct oz_pd pd)

Definition at line 188 of file ozpd.c.

void oz_pd_get ( struct oz_pd pd)

Definition at line 145 of file ozpd.c.

void oz_pd_heartbeat ( struct oz_pd pd,
u16  apps 
)

Definition at line 282 of file ozpd.c.

void oz_pd_indicate_farewells ( struct oz_pd pd)

Definition at line 927 of file ozpd.c.

void oz_pd_put ( struct oz_pd pd)

Definition at line 152 of file ozpd.c.

void oz_pd_set_state ( struct oz_pd pd,
unsigned  state 
)

Definition at line 121 of file ozpd.c.

int oz_pd_sleep ( struct oz_pd pd)

Definition at line 326 of file ozpd.c.

void oz_pd_stop ( struct oz_pd pd)

Definition at line 303 of file ozpd.c.

int oz_prepare_frame ( struct oz_pd pd,
int  empty 
)

Definition at line 427 of file ozpd.c.

void oz_retire_tx_frames ( struct oz_pd pd,
u8  lpn 
)

Definition at line 671 of file ozpd.c.

int oz_send_isoc_unit ( struct oz_pd pd,
u8  ep_num,
u8 data,
int  len 
)

Definition at line 779 of file ozpd.c.

void oz_send_queued_frames ( struct oz_pd pd,
int  backlog 
)

Definition at line 584 of file ozpd.c.

int oz_services_start ( struct oz_pd pd,
u16  apps,
int  resume 
)

Definition at line 236 of file ozpd.c.

void oz_services_stop ( struct oz_pd pd,
u16  apps,
int  pause 
)

Definition at line 261 of file ozpd.c.

void oz_set_last_pkt_nb ( struct oz_pd pd,
struct sk_buff skb 
)

Definition at line 419 of file ozpd.c.

void oz_set_more_bit ( struct sk_buff skb)

Definition at line 411 of file ozpd.c.