Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
fifo.h File Reference
#include <linux/interrupt.h>
#include <linux/sh_dma.h>
#include <linux/workqueue.h>
#include <asm/dma.h>
#include "pipe.h"

Go to the source code of this file.

Data Structures

struct  usbhs_fifo
 
struct  usbhs_fifo_info
 
struct  usbhs_pkt
 
struct  usbhs_pkt_handle
 

Macros

#define DMA_ADDR_INVALID   (~(dma_addr_t)0)
 

Functions

int usbhs_fifo_probe (struct usbhs_priv *priv)
 
void usbhs_fifo_remove (struct usbhs_priv *priv)
 
void usbhs_fifo_init (struct usbhs_priv *priv)
 
void usbhs_fifo_quit (struct usbhs_priv *priv)
 
void usbhs_pkt_init (struct usbhs_pkt *pkt)
 
void usbhs_pkt_push (struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, void(*done)(struct usbhs_priv *priv, struct usbhs_pkt *pkt), void *buf, int len, int zero, int sequence)
 
struct usbhs_pktusbhs_pkt_pop (struct usbhs_pipe *pipe, struct usbhs_pkt *pkt)
 
void usbhs_pkt_start (struct usbhs_pipe *pipe)
 

Variables

struct usbhs_pkt_handle usbhs_fifo_pio_push_handler
 
struct usbhs_pkt_handle usbhs_fifo_pio_pop_handler
 
struct usbhs_pkt_handle usbhs_ctrl_stage_end_handler
 
struct usbhs_pkt_handle usbhs_fifo_dma_push_handler
 
struct usbhs_pkt_handle usbhs_fifo_dma_pop_handler
 
struct usbhs_pkt_handle usbhs_dcp_status_stage_in_handler
 
struct usbhs_pkt_handle usbhs_dcp_status_stage_out_handler
 
struct usbhs_pkt_handle usbhs_dcp_data_stage_in_handler
 
struct usbhs_pkt_handle usbhs_dcp_data_stage_out_handler
 

Macro Definition Documentation

#define DMA_ADDR_INVALID   (~(dma_addr_t)0)

Definition at line 26 of file fifo.h.

Function Documentation

void usbhs_fifo_init ( struct usbhs_priv priv)

Definition at line 1111 of file fifo.c.

int usbhs_fifo_probe ( struct usbhs_priv priv)

Definition at line 1152 of file fifo.c.

void usbhs_fifo_quit ( struct usbhs_priv priv)

Definition at line 1139 of file fifo.c.

void usbhs_fifo_remove ( struct usbhs_priv priv)

Definition at line 1184 of file fifo.c.

void usbhs_pkt_init ( struct usbhs_pkt pkt)

Definition at line 33 of file fifo.c.

struct usbhs_pkt* usbhs_pkt_pop ( struct usbhs_pipe pipe,
struct usbhs_pkt pkt 
)
read

Definition at line 112 of file fifo.c.

void usbhs_pkt_push ( struct usbhs_pipe pipe,
struct usbhs_pkt pkt,
void(*)(struct usbhs_priv *priv, struct usbhs_pkt *pkt)  done,
void buf,
int  len,
int  zero,
int  sequence 
)

Definition at line 57 of file fifo.c.

void usbhs_pkt_start ( struct usbhs_pipe pipe)

Definition at line 187 of file fifo.c.

Variable Documentation

struct usbhs_pkt_handle usbhs_ctrl_stage_end_handler

Definition at line 705 of file fifo.c.

struct usbhs_pkt_handle usbhs_dcp_data_stage_in_handler

Definition at line 468 of file fifo.c.

struct usbhs_pkt_handle usbhs_dcp_data_stage_out_handler

Definition at line 429 of file fifo.c.

struct usbhs_pkt_handle usbhs_dcp_status_stage_in_handler

Definition at line 402 of file fifo.c.

struct usbhs_pkt_handle usbhs_dcp_status_stage_out_handler

Definition at line 407 of file fifo.c.

struct usbhs_pkt_handle usbhs_fifo_dma_pop_handler

Definition at line 972 of file fifo.c.

struct usbhs_pkt_handle usbhs_fifo_dma_push_handler

Definition at line 873 of file fifo.c.

struct usbhs_pkt_handle usbhs_fifo_pio_pop_handler

Definition at line 688 of file fifo.c.

struct usbhs_pkt_handle usbhs_fifo_pio_push_handler

Definition at line 576 of file fifo.c.