Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rts51x_transport.h File Reference
#include <linux/kernel.h>
#include "rts51x.h"
#include "rts51x_chip.h"

Go to the source code of this file.

Macros

#define URB_NO_SETUP_DMA_MAP   0
 

Functions

unsigned int rts51x_access_sglist (unsigned char *buffer, unsigned int buflen, void *sglist, void **sgptr, unsigned int *offset, enum xfer_buf_dir dir)
 
void rts51x_set_xfer_buf (unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb)
 
void rts51x_get_xfer_buf (unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb)
 
int rts51x_ctrl_transfer (struct rts51x_chip *chip, unsigned int pipe, u8 request, u8 requesttype, u16 value, u16 index, void *data, u16 size, int timeout)
 
int rts51x_transfer_data (struct rts51x_chip *chip, unsigned int pipe, void *buf, unsigned int len, int use_sg, unsigned int *act_len, int timeout)
 
int rts51x_transfer_data_partial (struct rts51x_chip *chip, unsigned int pipe, void *buf, void **ptr, unsigned int *offset, unsigned int len, int use_sg, unsigned int *act_len, int timeout)
 
int rts51x_get_epc_status (struct rts51x_chip *chip, u16 *status)
 
void rts51x_invoke_transport (struct scsi_cmnd *srb, struct rts51x_chip *chip)
 

Macro Definition Documentation

#define URB_NO_SETUP_DMA_MAP   0

Definition at line 36 of file rts51x_transport.h.

Function Documentation

unsigned int rts51x_access_sglist ( unsigned char buffer,
unsigned int  buflen,
void sglist,
void **  sgptr,
unsigned int offset,
enum xfer_buf_dir  dir 
)

Definition at line 52 of file rts51x_transport.c.

int rts51x_ctrl_transfer ( struct rts51x_chip chip,
unsigned int  pipe,
u8  request,
u8  requesttype,
u16  value,
u16  index,
void data,
u16  size,
int  timeout 
)

Definition at line 337 of file rts51x_transport.c.

int rts51x_get_epc_status ( struct rts51x_chip chip,
u16 status 
)

Definition at line 622 of file rts51x_transport.c.

void rts51x_get_xfer_buf ( unsigned char buffer,
unsigned int  buflen,
struct scsi_cmnd srb 
)

Definition at line 148 of file rts51x_transport.c.

void rts51x_invoke_transport ( struct scsi_cmnd srb,
struct rts51x_chip chip 
)

Definition at line 654 of file rts51x_transport.c.

void rts51x_set_xfer_buf ( unsigned char buffer,
unsigned int  buflen,
struct scsi_cmnd srb 
)

Definition at line 135 of file rts51x_transport.c.

int rts51x_transfer_data ( struct rts51x_chip chip,
unsigned int  pipe,
void buf,
unsigned int  len,
int  use_sg,
unsigned int act_len,
int  timeout 
)

Definition at line 551 of file rts51x_transport.c.

int rts51x_transfer_data_partial ( struct rts51x_chip chip,
unsigned int  pipe,
void buf,
void **  ptr,
unsigned int offset,
unsigned int  len,
int  use_sg,
unsigned int act_len,
int  timeout 
)

Definition at line 574 of file rts51x_transport.c.