Linux Kernel
3.7.1
|
#include <linux/blkdev.h>
Go to the source code of this file.
Macros | |
#define | USB_STOR_XFER_GOOD 0 /* good transfer */ |
#define | USB_STOR_XFER_SHORT 1 /* transferred less than expected */ |
#define | USB_STOR_XFER_STALLED 2 /* endpoint stalled */ |
#define | USB_STOR_XFER_LONG 3 /* device tried to send too much */ |
#define | USB_STOR_XFER_ERROR 4 /* transfer died in the middle */ |
#define | USB_STOR_TRANSPORT_GOOD 0 /* Transport good, command good */ |
#define | USB_STOR_TRANSPORT_FAILED 1 /* Transport good, command failed */ |
#define | USB_STOR_TRANSPORT_NO_SENSE 2 /* Command failed, no auto-sense */ |
#define | USB_STOR_TRANSPORT_ERROR 3 /* Transport bad (i.e. device dead) */ |
#define | US_CBI_ADSC 0 |
#define US_CBI_ADSC 0 |
Definition at line 75 of file transport.h.
Definition at line 61 of file transport.h.
#define USB_STOR_TRANSPORT_FAILED 1 /* Transport good, command failed */ |
Definition at line 59 of file transport.h.
#define USB_STOR_TRANSPORT_GOOD 0 /* Transport good, command good */ |
Definition at line 58 of file transport.h.
Definition at line 60 of file transport.h.
Definition at line 52 of file transport.h.
#define USB_STOR_XFER_GOOD 0 /* good transfer */ |
Definition at line 48 of file transport.h.
Definition at line 51 of file transport.h.
#define USB_STOR_XFER_SHORT 1 /* transferred less than expected */ |
Definition at line 49 of file transport.h.
#define USB_STOR_XFER_STALLED 2 /* endpoint stalled */ |
Definition at line 50 of file transport.h.
Definition at line 554 of file transport.c.
Definition at line 789 of file transport.c.
Definition at line 252 of file transport.c.
int usb_stor_bulk_transfer_buf | ( | struct us_data * | us, |
unsigned int | pipe, | ||
void * | buf, | ||
unsigned int | length, | ||
unsigned int * | act_len | ||
) |
Definition at line 183 of file transport.c.
int usb_stor_bulk_transfer_sg | ( | struct us_data * | us, |
unsigned int | pipe, | ||
void * | buf, | ||
unsigned int | length, | ||
int | use_sg, | ||
int * | residual | ||
) |
Definition at line 267 of file transport.c.
Definition at line 580 of file transport.c.
Definition at line 1300 of file transport.c.
Definition at line 917 of file transport.c.
Definition at line 114 of file transport.c.
int usb_stor_control_msg | ( | struct us_data * | us, |
unsigned int | pipe, | ||
u8 | request, | ||
u8 | requesttype, | ||
u16 | value, | ||
u16 | index, | ||
void * | data, | ||
u16 | size, | ||
int | timeout | ||
) |
Definition at line 84 of file transport.c.
int usb_stor_ctrl_transfer | ( | struct us_data * | us, |
unsigned int | pipe, | ||
u8 | request, | ||
u8 | requesttype, | ||
u16 | value, | ||
u16 | index, | ||
void * | data, | ||
u16 | size | ||
) |
Definition at line 328 of file transport.c.
Definition at line 300 of file transport.c.
Definition at line 800 of file transport.c.
Definition at line 536 of file transport.c.