Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wusbhc.c File Reference
#include <linux/device.h>
#include <linux/module.h>
#include "wusbhc.h"

Go to the source code of this file.

Macros

#define CLUSTER_IDS   32
 

Functions

int wusbhc_create (struct wusbhc *wusbhc)
 
 EXPORT_SYMBOL_GPL (wusbhc_create)
 
int wusbhc_b_create (struct wusbhc *wusbhc)
 
 EXPORT_SYMBOL_GPL (wusbhc_b_create)
 
void wusbhc_b_destroy (struct wusbhc *wusbhc)
 
 EXPORT_SYMBOL_GPL (wusbhc_b_destroy)
 
void wusbhc_destroy (struct wusbhc *wusbhc)
 
 EXPORT_SYMBOL_GPL (wusbhc_destroy)
 
 EXPORT_SYMBOL_GPL (wusbd)
 
u8 wusb_cluster_id_get (void)
 
 EXPORT_SYMBOL_GPL (wusb_cluster_id_get)
 
void wusb_cluster_id_put (u8 id)
 
 EXPORT_SYMBOL_GPL (wusb_cluster_id_put)
 
void wusbhc_giveback_urb (struct wusbhc *wusbhc, struct urb *urb, int status)
 
 EXPORT_SYMBOL_GPL (wusbhc_giveback_urb)
 
void wusbhc_reset_all (struct wusbhc *wusbhc)
 
 EXPORT_SYMBOL_GPL (wusbhc_reset_all)
 
 module_init (wusbcore_init)
 
 module_exit (wusbcore_exit)
 
 MODULE_AUTHOR ("Inaky Perez-Gonzalez <[email protected]>")
 
 MODULE_DESCRIPTION ("Wireless USB core")
 
 MODULE_LICENSE ("GPL")
 

Variables

struct workqueue_structwusbd
 

Macro Definition Documentation

#define CLUSTER_IDS   32

Definition at line 305 of file wusbhc.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wusbhc_create  )
EXPORT_SYMBOL_GPL ( wusbhc_b_create  )
EXPORT_SYMBOL_GPL ( wusbhc_b_destroy  )
EXPORT_SYMBOL_GPL ( wusbhc_destroy  )
EXPORT_SYMBOL_GPL ( wusbd  )
EXPORT_SYMBOL_GPL ( wusb_cluster_id_get  )
EXPORT_SYMBOL_GPL ( wusb_cluster_id_put  )
EXPORT_SYMBOL_GPL ( wusbhc_giveback_urb  )
EXPORT_SYMBOL_GPL ( wusbhc_reset_all  )
MODULE_AUTHOR ( "Inaky Perez-Gonzalez <[email protected]>"  )
MODULE_DESCRIPTION ( "Wireless USB core )
module_exit ( wusbcore_exit  )
module_init ( wusbcore_init  )
MODULE_LICENSE ( "GPL"  )
u8 wusb_cluster_id_get ( void  )

Definition at line 318 of file wusbhc.c.

void wusb_cluster_id_put ( u8  id)

Definition at line 341 of file wusbhc.c.

int wusbhc_b_create ( struct wusbhc wusbhc)

Definition at line 253 of file wusbhc.c.

void wusbhc_b_destroy ( struct wusbhc wusbhc)

Definition at line 276 of file wusbhc.c.

int wusbhc_create ( struct wusbhc wusbhc)

Definition at line 205 of file wusbhc.c.

void wusbhc_destroy ( struct wusbhc wusbhc)

Definition at line 283 of file wusbhc.c.

void wusbhc_giveback_urb ( struct wusbhc wusbhc,
struct urb urb,
int  status 
)

wusbhc_giveback_urb - return an URB to the USB core : the host controller the URB is from. : the URB. : the URB's status.

Return an URB to the USB core doing some additional WUSB specific processing.

  • After a successful transfer, update the trust timeout timestamp for the WUSB device.
  • [WUSB] sections 4.13 and 7.5.1 specifies the stop retrasmittion condition for the WCONNECTACK_IE is that the host has observed the associated device responding to a control transfer.

Definition at line 368 of file wusbhc.c.

void wusbhc_reset_all ( struct wusbhc wusbhc)

wusbhc_reset_all - reset the HC hardware : the host controller to reset.

Request a full hardware reset of the chip. This will also reset the radio controller and any other PALs.

Definition at line 394 of file wusbhc.c.

Variable Documentation

Definition at line 292 of file wusbhc.c.