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

Data Fields

struct usb_gadgetgadget
 
struct usb_composite_devcdev
 
struct fsg_devfsg
 
struct fsg_devnew_fsg
 
wait_queue_head_t fsg_wait
 
struct rw_semaphore filesem
 
spinlock_t lock
 
struct usb_epep0
 
struct usb_requestep0req
 
unsigned int ep0_req_tag
 
struct fsg_buffhdnext_buffhd_to_fill
 
struct fsg_buffhdnext_buffhd_to_drain
 
struct fsg_buffhdbuffhds
 
int cmnd_size
 
u8 cmnd [MAX_COMMAND_SIZE]
 
unsigned int nluns
 
unsigned int lun
 
struct fsg_lunluns
 
struct fsg_luncurlun
 
unsigned int bulk_out_maxpacket
 
enum fsg_state state
 
unsigned int exception_req_tag
 
enum data_direction data_dir
 
u32 data_size
 
u32 data_size_from_cmnd
 
u32 tag
 
u32 residue
 
u32 usb_amount_left
 
unsigned int can_stall:1
 
unsigned int free_storage_on_release:1
 
unsigned int phase_error:1
 
unsigned int short_packet_received:1
 
unsigned int bad_lun_okay:1
 
unsigned int running:1
 
int thread_wakeup_needed
 
struct completion thread_notifier
 
struct task_structthread_task
 
struct fsg_operationsops
 
voidprivate_data
 
char inquiry_string [8+16+4+1]
 
struct kref ref
 

Detailed Description

Definition at line 271 of file f_mass_storage.c.

Field Documentation

unsigned int bad_lun_okay

Definition at line 314 of file f_mass_storage.c.

struct fsg_buffhd * buffhds

Definition at line 289 of file f_mass_storage.c.

unsigned int bulk_out_maxpacket

Definition at line 299 of file f_mass_storage.c.

unsigned int can_stall

Definition at line 310 of file f_mass_storage.c.

Definition at line 273 of file f_mass_storage.c.

u8 cmnd

Definition at line 292 of file f_mass_storage.c.

int cmnd_size

Definition at line 291 of file f_mass_storage.c.

struct fsg_lun * curlun

Definition at line 297 of file f_mass_storage.c.

enum data_direction data_dir

Definition at line 303 of file f_mass_storage.c.

Definition at line 304 of file f_mass_storage.c.

u32 data_size_from_cmnd

Definition at line 305 of file f_mass_storage.c.

struct usb_ep * ep0

Definition at line 283 of file f_mass_storage.c.

unsigned int ep0_req_tag

Definition at line 285 of file f_mass_storage.c.

struct usb_request * ep0req

Definition at line 284 of file f_mass_storage.c.

unsigned int exception_req_tag

Definition at line 301 of file f_mass_storage.c.

Definition at line 278 of file f_mass_storage.c.

unsigned int free_storage_on_release

Definition at line 311 of file f_mass_storage.c.

struct fsg_dev * fsg

Definition at line 274 of file f_mass_storage.c.

Definition at line 275 of file f_mass_storage.c.

struct usb_gadget * gadget

Definition at line 272 of file f_mass_storage.c.

char inquiry_string

Definition at line 330 of file f_mass_storage.c.

spinlock_t lock

Definition at line 281 of file f_mass_storage.c.

unsigned int lun

Definition at line 295 of file f_mass_storage.c.

struct fsg_lun * luns

Definition at line 296 of file f_mass_storage.c.

struct fsg_dev * new_fsg

Definition at line 274 of file f_mass_storage.c.

struct fsg_buffhd * next_buffhd_to_drain

Definition at line 288 of file f_mass_storage.c.

struct fsg_buffhd * next_buffhd_to_fill

Definition at line 287 of file f_mass_storage.c.

unsigned int nluns

Definition at line 294 of file f_mass_storage.c.

Definition at line 322 of file f_mass_storage.c.

unsigned int phase_error

Definition at line 312 of file f_mass_storage.c.

void * private_data

Definition at line 324 of file f_mass_storage.c.

struct kref ref

Definition at line 332 of file f_mass_storage.c.

u32 residue

Definition at line 307 of file f_mass_storage.c.

unsigned int running

Definition at line 315 of file f_mass_storage.c.

unsigned int short_packet_received

Definition at line 313 of file f_mass_storage.c.

Definition at line 300 of file f_mass_storage.c.

Definition at line 306 of file f_mass_storage.c.

struct completion thread_notifier

Definition at line 318 of file f_mass_storage.c.

struct task_struct * thread_task

Definition at line 319 of file f_mass_storage.c.

int thread_wakeup_needed

Definition at line 317 of file f_mass_storage.c.

u32 usb_amount_left

Definition at line 308 of file f_mass_storage.c.


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