Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ozusbsvc1.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 <linux/input.h>
#include <asm/unaligned.h>
#include "ozconfig.h"
#include "ozprotocol.h"
#include "ozeltbuf.h"
#include "ozpd.h"
#include "ozproto.h"
#include "ozusbif.h"
#include "ozhcd.h"
#include "oztrace.h"
#include "ozusbsvc.h"
#include "ozevent.h"

Go to the source code of this file.

Macros

#define MAX_ISOC_FIXED_DATA   (253-sizeof(struct oz_isoc_fixed))
 

Functions

int oz_usb_get_desc_req (void *hpd, u8 req_id, u8 req_type, u8 desc_type, u8 index, u16 windex, int offset, int len)
 
int oz_usb_control_req (void *hpd, u8 req_id, struct usb_ctrlrequest *setup, u8 *data, int data_len)
 
int oz_usb_send_isoc (void *hpd, u8 ep_num, struct urb *urb)
 
void oz_usb_handle_ep_data (struct oz_usb_ctx *usb_ctx, struct oz_usb_hdr *usb_hdr, int len)
 
void oz_usb_rx (struct oz_pd *pd, struct oz_elt *elt)
 
void oz_usb_farewell (struct oz_pd *pd, u8 ep_num, u8 *data, u8 len)
 

Macro Definition Documentation

#define MAX_ISOC_FIXED_DATA   (253-sizeof(struct oz_isoc_fixed))

Definition at line 28 of file ozusbsvc1.c.

Function Documentation

int oz_usb_control_req ( void hpd,
u8  req_id,
struct usb_ctrlrequest setup,
u8 data,
int  data_len 
)

Definition at line 186 of file ozusbsvc1.c.

void oz_usb_farewell ( struct oz_pd pd,
u8  ep_num,
u8 data,
u8  len 
)

Definition at line 422 of file ozusbsvc1.c.

int oz_usb_get_desc_req ( void hpd,
u8  req_id,
u8  req_type,
u8  desc_type,
u8  index,
u16  windex,
int  offset,
int  len 
)

Definition at line 57 of file ozusbsvc1.c.

void oz_usb_handle_ep_data ( struct oz_usb_ctx usb_ctx,
struct oz_usb_hdr usb_hdr,
int  len 
)

Definition at line 308 of file ozusbsvc1.c.

void oz_usb_rx ( struct oz_pd pd,
struct oz_elt elt 
)

Definition at line 352 of file ozusbsvc1.c.

int oz_usb_send_isoc ( void hpd,
u8  ep_num,
struct urb urb 
)

Definition at line 237 of file ozusbsvc1.c.