Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
smscsi.c File Reference
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_device.h>
#include "usb.h"
#include "scsiglue.h"
#include "transport.h"
#include "smil.h"

Go to the source code of this file.

Functions

int SM_SCSI_Test_Unit_Ready (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSI_Inquiry (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSI_Mode_Sense (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSI_Start_Stop (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSI_Read_Capacity (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSI_Read (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSI_Write (struct us_data *us, struct scsi_cmnd *srb)
 
int SM_SCSIIrp (struct us_data *us, struct scsi_cmnd *srb)
 

Variables

PBYTE SMHostAddr
 
DWORD ErrXDCode
 

Function Documentation

int SM_SCSI_Inquiry ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 73 of file smscsi.c.

int SM_SCSI_Mode_Sense ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 83 of file smscsi.c.

int SM_SCSI_Read ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 130 of file smscsi.c.

int SM_SCSI_Read_Capacity ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 98 of file smscsi.c.

int SM_SCSI_Start_Stop ( struct us_data us,
struct scsi_cmnd srb 
)
int SM_SCSI_Test_Unit_Ready ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 60 of file smscsi.c.

int SM_SCSI_Write ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 160 of file smscsi.c.

int SM_SCSIIrp ( struct us_data us,
struct scsi_cmnd srb 
)

Definition at line 26 of file smscsi.c.

Variable Documentation

DWORD ErrXDCode

Definition at line 48 of file smilmain.c.

PBYTE SMHostAddr