Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fsg_dev Struct Reference

Data Fields

struct usb_function function
 
struct usb_gadgetgadget
 
struct fsg_commoncommon
 
u16 interface_number
 
unsigned int bulk_in_enabled:1
 
unsigned int bulk_out_enabled:1
 
unsigned long atomic_bitflags
 
struct usb_epbulk_in
 
struct usb_epbulk_out
 
spinlock_t lock
 
struct rw_semaphore filesem
 
struct kref ref
 
struct usb_epep0
 
struct usb_requestep0req
 
unsigned int ep0_req_tag
 
const charep0req_name
 
struct usb_requestintreq
 
int intreq_busy
 
struct fsg_buffhdintr_buffhd
 
unsigned int bulk_out_maxpacket
 
enum fsg_state state
 
unsigned int exception_req_tag
 
u8 config
 
u8 new_config
 
unsigned int running: 1
 
unsigned int intr_in_enabled: 1
 
unsigned int phase_error: 1
 
unsigned int short_packet_received: 1
 
unsigned int bad_lun_okay: 1
 
struct usb_epintr_in
 
struct fsg_buffhdnext_buffhd_to_fill
 
struct fsg_buffhdnext_buffhd_to_drain
 
int thread_wakeup_needed
 
struct completion thread_notifier
 
struct task_structthread_task
 
int cmnd_size
 
u8 cmnd [MAX_COMMAND_SIZE]
 
enum data_direction data_dir
 
u32 data_size
 
u32 data_size_from_cmnd
 
u32 tag
 
unsigned int lun
 
u32 residue
 
u32 usb_amount_left
 
int cbbuf_cmnd_size
 
u8 cbbuf_cmnd [MAX_COMMAND_SIZE]
 
unsigned int nluns
 
struct fsg_lunluns
 
struct fsg_luncurlun
 
struct fsg_buffhd buffhds []
 

Detailed Description

Definition at line 357 of file f_mass_storage.c.

Field Documentation

unsigned long atomic_bitflags

Definition at line 367 of file f_mass_storage.c.

unsigned int bad_lun_okay

Definition at line 437 of file file_storage.c.

struct fsg_buffhd buffhds[]

Definition at line 477 of file file_storage.c.

struct usb_ep * bulk_in

Definition at line 370 of file f_mass_storage.c.

unsigned int bulk_in_enabled

Definition at line 364 of file f_mass_storage.c.

struct usb_ep * bulk_out

Definition at line 371 of file f_mass_storage.c.

unsigned int bulk_out_enabled

Definition at line 365 of file f_mass_storage.c.

unsigned int bulk_out_maxpacket

Definition at line 425 of file file_storage.c.

u8 cbbuf_cmnd[MAX_COMMAND_SIZE]

Definition at line 471 of file file_storage.c.

int cbbuf_cmnd_size

Definition at line 470 of file file_storage.c.

Definition at line 456 of file file_storage.c.

int cmnd_size

Definition at line 455 of file file_storage.c.

struct fsg_common * common

Definition at line 360 of file f_mass_storage.c.

Definition at line 429 of file file_storage.c.

struct fsg_lun* curlun

Definition at line 475 of file file_storage.c.

enum data_direction data_dir

Definition at line 457 of file file_storage.c.

Definition at line 458 of file file_storage.c.

u32 data_size_from_cmnd

Definition at line 459 of file file_storage.c.

struct usb_ep* ep0

Definition at line 416 of file file_storage.c.

unsigned int ep0_req_tag

Definition at line 418 of file file_storage.c.

Definition at line 417 of file file_storage.c.

const char* ep0req_name

Definition at line 419 of file file_storage.c.

unsigned int exception_req_tag

Definition at line 427 of file file_storage.c.

Definition at line 411 of file file_storage.c.

struct usb_function function

Definition at line 358 of file f_mass_storage.c.

struct usb_gadget * gadget

Definition at line 359 of file f_mass_storage.c.

u16 interface_number

Definition at line 362 of file f_mass_storage.c.

struct fsg_buffhd* intr_buffhd

Definition at line 423 of file file_storage.c.

struct usb_ep* intr_in

Definition at line 446 of file file_storage.c.

unsigned int intr_in_enabled

Definition at line 434 of file file_storage.c.

Definition at line 421 of file file_storage.c.

int intreq_busy

Definition at line 422 of file file_storage.c.

spinlock_t lock

Definition at line 407 of file file_storage.c.

unsigned int lun

Definition at line 461 of file file_storage.c.

struct fsg_lun* luns

Definition at line 474 of file file_storage.c.

u8 new_config

Definition at line 429 of file file_storage.c.

struct fsg_buffhd* next_buffhd_to_drain

Definition at line 449 of file file_storage.c.

struct fsg_buffhd* next_buffhd_to_fill

Definition at line 448 of file file_storage.c.

unsigned int nluns

Definition at line 473 of file file_storage.c.

unsigned int phase_error

Definition at line 435 of file file_storage.c.

struct kref ref

Definition at line 414 of file file_storage.c.

u32 residue

Definition at line 462 of file file_storage.c.

unsigned int running

Definition at line 431 of file file_storage.c.

unsigned int short_packet_received

Definition at line 436 of file file_storage.c.

Definition at line 426 of file file_storage.c.

Definition at line 460 of file file_storage.c.

struct completion thread_notifier

Definition at line 452 of file file_storage.c.

struct task_struct* thread_task

Definition at line 453 of file file_storage.c.

int thread_wakeup_needed

Definition at line 451 of file file_storage.c.

u32 usb_amount_left

Definition at line 463 of file file_storage.c.


The documentation for this struct was generated from the following files: