Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rtsx_scsi.c File Reference
#include <linux/blkdev.h>
#include <linux/kthread.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include "rtsx.h"
#include "rtsx_transport.h"
#include "rtsx_sys.h"
#include "rtsx_card.h"
#include "rtsx_chip.h"
#include "rtsx_scsi.h"
#include "sd.h"
#include "ms.h"
#include "spi.h"

Go to the source code of this file.

Functions

void scsi_show_command (struct scsi_cmnd *srb)
 
void set_sense_type (struct rtsx_chip *chip, unsigned int lun, int sense_type)
 
void set_sense_data (struct rtsx_chip *chip, unsigned int lun, u8 err_code, u8 sense_key, u32 info, u8 asc, u8 ascq, u8 sns_key_info0, u16 sns_key_info1)
 
int rtsx_scsi_handler (struct scsi_cmnd *srb, struct rtsx_chip *chip)
 

Function Documentation

int rtsx_scsi_handler ( struct scsi_cmnd srb,
struct rtsx_chip chip 
)

Definition at line 3016 of file rtsx_scsi.c.

void scsi_show_command ( struct scsi_cmnd srb)

Definition at line 38 of file rtsx_scsi.c.

void set_sense_data ( struct rtsx_chip chip,
unsigned int  lun,
u8  err_code,
u8  sense_key,
u32  info,
u8  asc,
u8  ascq,
u8  sns_key_info0,
u16  sns_key_info1 
)

Definition at line 224 of file rtsx_scsi.c.

void set_sense_type ( struct rtsx_chip chip,
unsigned int  lun,
int  sense_type 
)

Definition at line 149 of file rtsx_scsi.c.