Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
devconnect.c File Reference
#include <linux/jiffies.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/export.h>
#include "wusbhc.h"

Go to the source code of this file.


void wusbhc_handle_dn (struct wusbhc *wusbhc, u8 srcaddr, struct wusb_dn_hdr *dn_hdr, size_t size)
 EXPORT_SYMBOL_GPL (wusbhc_handle_dn)
void __wusbhc_dev_disable (struct wusbhc *wusbhc, u8 port_idx)
int wusb_usb_ncb (struct notifier_block *nb, unsigned long val, void *priv)
struct wusb_dev__wusb_dev_get_by_usb_dev (struct wusbhc *wusbhc, struct usb_device *usb_dev)
 EXPORT_SYMBOL_GPL (__wusb_dev_get_by_usb_dev)
void wusb_dev_destroy (struct kref *_wusb_dev)
 EXPORT_SYMBOL_GPL (wusb_dev_destroy)
int wusbhc_devconnect_create (struct wusbhc *wusbhc)
void wusbhc_devconnect_destroy (struct wusbhc *wusbhc)
int wusbhc_devconnect_start (struct wusbhc *wusbhc)
void wusbhc_devconnect_stop (struct wusbhc *wusbhc)
int wusb_set_dev_addr (struct wusbhc *wusbhc, struct wusb_dev *wusb_dev, u8 addr)

Function Documentation

struct wusb_dev* __wusb_dev_get_by_usb_dev ( struct wusbhc wusbhc,
struct usb_device *  usb_dev 

Definition at line 996 of file devconnect.c.

void __wusbhc_dev_disable ( struct wusbhc wusbhc,
u8  port_idx 

Definition at line 673 of file devconnect.c.

EXPORT_SYMBOL_GPL ( wusbhc_handle_dn  )
EXPORT_SYMBOL_GPL ( __wusb_dev_get_by_usb_dev  )
EXPORT_SYMBOL_GPL ( wusb_dev_destroy  )
void wusb_dev_destroy ( struct kref _wusb_dev)

Definition at line 1011 of file devconnect.c.

int wusb_set_dev_addr ( struct wusbhc wusbhc,
struct wusb_dev wusb_dev,
u8  addr 

Definition at line 1117 of file devconnect.c.

int wusb_usb_ncb ( struct notifier_block nb,
unsigned long  val,
void priv 

Definition at line 970 of file devconnect.c.

int wusbhc_devconnect_create ( struct wusbhc wusbhc)

Definition at line 1026 of file devconnect.c.

void wusbhc_devconnect_destroy ( struct wusbhc wusbhc)

Definition at line 1042 of file devconnect.c.

int wusbhc_devconnect_start ( struct wusbhc wusbhc)

Definition at line 1056 of file devconnect.c.

void wusbhc_devconnect_stop ( struct wusbhc wusbhc)

Definition at line 1094 of file devconnect.c.

void wusbhc_handle_dn ( struct wusbhc wusbhc,
u8  srcaddr,
struct wusb_dn_hdr dn_hdr,
size_t  size 

Definition at line 610 of file devconnect.c.