Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
c67x00-hcd.h File Reference
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include "c67x00.h"

Go to the source code of this file.

Data Structures

struct  c67x00_hcd
 

Macros

#define TOTAL_FRAME_BW   12000
 
#define DEFAULT_EOT   2250
 
#define MAX_FRAME_BW_STD   (TOTAL_FRAME_BW - DEFAULT_EOT)
 
#define MAX_FRAME_BW_ISO   2400
 
#define MAX_PERIODIC_BW(full_bw)   full_bw
 
#define c67x00_hcd_dev(x)   (c67x00_hcd_to_hcd(x)->self.controller)
 

Functions

int c67x00_hcd_probe (struct c67x00_sie *sie)
 
void c67x00_hcd_remove (struct c67x00_sie *sie)
 
int c67x00_urb_enqueue (struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
 
int c67x00_urb_dequeue (struct usb_hcd *hcd, struct urb *urb, int status)
 
void c67x00_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep)
 
void c67x00_hcd_msg_received (struct c67x00_sie *sie, u16 msg)
 
void c67x00_sched_kick (struct c67x00_hcd *c67x00)
 
int c67x00_sched_start_scheduler (struct c67x00_hcd *c67x00)
 
void c67x00_sched_stop_scheduler (struct c67x00_hcd *c67x00)
 

Macro Definition Documentation

#define c67x00_hcd_dev (   x)    (c67x00_hcd_to_hcd(x)->self.controller)

Definition at line 131 of file c67x00-hcd.h.

#define DEFAULT_EOT   2250

Definition at line 55 of file c67x00-hcd.h.

#define MAX_FRAME_BW_ISO   2400

Definition at line 58 of file c67x00-hcd.h.

#define MAX_FRAME_BW_STD   (TOTAL_FRAME_BW - DEFAULT_EOT)

Definition at line 57 of file c67x00-hcd.h.

#define MAX_PERIODIC_BW (   full_bw)    full_bw

Definition at line 65 of file c67x00-hcd.h.

#define TOTAL_FRAME_BW   12000

Definition at line 54 of file c67x00-hcd.h.

Function Documentation

void c67x00_endpoint_disable ( struct usb_hcd *  hcd,
struct usb_host_endpoint *  ep 
)

Definition at line 329 of file c67x00-sched.c.

void c67x00_hcd_msg_received ( struct c67x00_sie sie,
u16  msg 
)
int c67x00_hcd_probe ( struct c67x00_sie sie)

Definition at line 343 of file c67x00-hcd.c.

void c67x00_hcd_remove ( struct c67x00_sie sie)

Definition at line 403 of file c67x00-hcd.c.

void c67x00_sched_kick ( struct c67x00_hcd c67x00)

Definition at line 1156 of file c67x00-sched.c.

int c67x00_sched_start_scheduler ( struct c67x00_hcd c67x00)

Definition at line 1161 of file c67x00-sched.c.

void c67x00_sched_stop_scheduler ( struct c67x00_hcd c67x00)

Definition at line 1168 of file c67x00-sched.c.

int c67x00_urb_dequeue ( struct usb_hcd *  hcd,
struct urb urb,
int  status 
)

Definition at line 465 of file c67x00-sched.c.

int c67x00_urb_enqueue ( struct usb_hcd *  hcd,
struct urb urb,
gfp_t  mem_flags 
)

Definition at line 366 of file c67x00-sched.c.