Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
protocol.h File Reference

Go to the source code of this file.

Enumerations

enum  xfer_buf_dir {
  TO_XFER_BUF, FROM_XFER_BUF, TO_XFER_BUF, FROM_XFER_BUF,
  TO_XFER_BUF, FROM_XFER_BUF, TO_XFER_BUF, FROM_XFER_BUF
}
 

Functions

void usb_stor_pad12_command (struct scsi_cmnd *, struct us_data *)
 
void usb_stor_ufi_command (struct scsi_cmnd *, struct us_data *)
 
void usb_stor_transparent_scsi_command (struct scsi_cmnd *, struct us_data *)
 
unsigned int usb_stor_access_xfer_buf (unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **, unsigned int *offset, enum xfer_buf_dir dir)
 
void usb_stor_set_xfer_buf (unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb)
 

Enumeration Type Documentation

Enumerator:
TO_XFER_BUF 
FROM_XFER_BUF 
TO_XFER_BUF 
FROM_XFER_BUF 
TO_XFER_BUF 
FROM_XFER_BUF 
TO_XFER_BUF 
FROM_XFER_BUF 

Definition at line 49 of file protocol.h.

Function Documentation

unsigned int usb_stor_access_xfer_buf ( unsigned char buffer,
unsigned int  buflen,
struct scsi_cmnd srb,
struct scatterlist **  ,
unsigned int offset,
enum xfer_buf_dir  dir 
)

Definition at line 134 of file protocol.c.

void usb_stor_pad12_command ( struct scsi_cmnd ,
struct us_data  
)

Definition at line 60 of file protocol.c.

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

Definition at line 208 of file protocol.c.

void usb_stor_transparent_scsi_command ( struct scsi_cmnd ,
struct us_data  
)

Definition at line 118 of file protocol.c.

void usb_stor_ufi_command ( struct scsi_cmnd ,
struct us_data  
)

Definition at line 76 of file protocol.c.