|
Linux Kernel
3.7.1
|
#include <linux/blkdev.h>#include <linux/kthread.h>#include <linux/sched.h>#include <linux/slab.h>#include <linux/vmalloc.h>#include <linux/export.h>#include <scsi/scsi.h>#include <scsi/scsi_eh.h>#include <scsi/scsi_device.h>#include "debug.h"#include "rts51x.h"#include "rts51x_chip.h"#include "rts51x_scsi.h"#include "rts51x_card.h"#include "rts51x_transport.h"#include "sd_cprm.h"#include "ms_mg.h"#include "trace.h"Go to the source code of this file.
Macros | |
| #define | SPRINTF(args...) do { if (pos < buffer+length) pos += sprintf(pos, ## args); } while (0) |
Functions | |
| void | scsi_show_command (struct scsi_cmnd *srb) |
| void | set_sense_type (struct rts51x_chip *chip, unsigned int lun, int sense_type) |
| void | set_sense_data (struct rts51x_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 | rts51x_scsi_handler (struct scsi_cmnd *srb, struct rts51x_chip *chip) |
| int | slave_alloc (struct scsi_device *sdev) |
| int | slave_configure (struct scsi_device *sdev) |
| int | proc_info (struct Scsi_Host *host, char *buffer, char **start, off_t offset, int length, int inout) |
| int | queuecommand_lck (struct scsi_cmnd *srb, void(*done)(struct scsi_cmnd *)) |
| int | command_abort (struct scsi_cmnd *srb) |
| int | device_reset (struct scsi_cmnd *srb) |
| int | bus_reset (struct scsi_cmnd *srb) |
Variables | |
| unsigned char | formatter_inquiry_str [20] |
| struct scsi_host_template | rts51x_host_template |
Definition at line 1971 of file rts51x_scsi.c.
Definition at line 2085 of file rts51x_scsi.c.
Definition at line 2039 of file rts51x_scsi.c.
Definition at line 2075 of file rts51x_scsi.c.
| int proc_info | ( | struct Scsi_Host * | host, |
| char * | buffer, | ||
| char ** | start, | ||
| off_t | offset, | ||
| int | length, | ||
| int | inout | ||
| ) |
Definition at line 1974 of file rts51x_scsi.c.
Definition at line 2007 of file rts51x_scsi.c.
| int rts51x_scsi_handler | ( | struct scsi_cmnd * | srb, |
| struct rts51x_chip * | chip | ||
| ) |
Definition at line 1817 of file rts51x_scsi.c.
Definition at line 47 of file rts51x_scsi.c.
| void set_sense_data | ( | struct rts51x_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 401 of file rts51x_scsi.c.
| void set_sense_type | ( | struct rts51x_chip * | chip, |
| unsigned int | lun, | ||
| int | sense_type | ||
| ) |
Definition at line 336 of file rts51x_scsi.c.
| int slave_alloc | ( | struct scsi_device * | sdev | ) |
Definition at line 1922 of file rts51x_scsi.c.
| int slave_configure | ( | struct scsi_device * | sdev | ) |
Definition at line 1933 of file rts51x_scsi.c.
| unsigned char formatter_inquiry_str[20] |
Definition at line 444 of file rts51x_scsi.c.
| struct scsi_host_template rts51x_host_template |
Definition at line 2099 of file rts51x_scsi.c.
1.8.2