Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vhci.h File Reference
#include <linux/device.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/sysfs.h>
#include <linux/types.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/wait.h>

Go to the source code of this file.

Data Structures

struct  vhci_device
 
struct  vhci_priv
 
struct  vhci_unlink
 
struct  vhci_hcd
 

Macros

#define VHCI_NPORTS   8
 
#define hardware   (&the_controller->pdev.dev)
 

Functions

void rh_port_connect (int rhport, enum usb_device_speed speed)
 
void rh_port_disconnect (int rhport)
 
struct urbpickup_urb_and_free_priv (struct vhci_device *vdev, __u32 seqnum)
 
int vhci_rx_loop (void *data)
 
int vhci_tx_loop (void *data)
 

Variables

struct vhci_device __attribute__
 
struct vhci_hcdthe_controller
 
struct attribute_group dev_attr_group
 

Macro Definition Documentation

#define hardware   (&the_controller->pdev.dev)

Definition at line 98 of file vhci.h.

#define VHCI_NPORTS   8

Definition at line 75 of file vhci.h.

Function Documentation

struct urb* pickup_urb_and_free_priv ( struct vhci_device vdev,
__u32  seqnum 
)
read

Definition at line 27 of file vhci_rx.c.

void rh_port_connect ( int  rhport,
enum usb_device_speed  speed 
)

Definition at line 121 of file vhci_hcd.c.

void rh_port_disconnect ( int  rhport)

Definition at line 152 of file vhci_hcd.c.

int vhci_rx_loop ( void data)

Definition at line 256 of file vhci_rx.c.

int vhci_tx_loop ( void data)

Definition at line 205 of file vhci_tx.c.

Variable Documentation

struct attribute_group dev_attr_group

Definition at line 242 of file vhci_sysfs.c.

struct vhci_hcd* the_controller

Definition at line 58 of file vhci_hcd.c.