Symbol: fsg_common
drivers/usb/gadget/function/f_mass_storage.c
1054
static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1084
static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1137
static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1160
static int do_read_capacity_16(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1182
static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1204
static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1278
static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1364
static int do_start_stop(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
1414
static int do_prevent_allow(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
1438
static int do_read_format_capacities(struct fsg_common *common,
drivers/usb/gadget/function/f_mass_storage.c
1455
static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
1513
static int throw_away_data(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
1562
static int finish_reply(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
1664
static void send_status(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
1724
static int check_command(struct fsg_common *common, int cmnd_size,
drivers/usb/gadget/function/f_mass_storage.c
1853
static int check_command_size_in_blocks(struct fsg_common *common,
drivers/usb/gadget/function/f_mass_storage.c
1870
static int do_scsi_command(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
2194
struct fsg_common *common = fsg->common;
drivers/usb/gadget/function/f_mass_storage.c
2262
static int get_next_command(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
2299
static int alloc_request(struct fsg_common *common, struct usb_ep *ep,
drivers/usb/gadget/function/f_mass_storage.c
2310
static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg)
drivers/usb/gadget/function/f_mass_storage.c
232
struct fsg_common;
drivers/usb/gadget/function/f_mass_storage.c
2434
static void handle_exception(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
2571
struct fsg_common *common = common_;
drivers/usb/gadget/function/f_mass_storage.c
2707
static struct fsg_common *fsg_common_setup(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
2728
void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs)
drivers/usb/gadget/function/f_mass_storage.c
2746
int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n)
drivers/usb/gadget/function/f_mass_storage.c
2795
static void _fsg_common_remove_luns(struct fsg_common *common, int n)
drivers/usb/gadget/function/f_mass_storage.c
2806
void fsg_common_remove_luns(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
2812
void fsg_common_free_buffers(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
2819
int fsg_common_set_cdev(struct fsg_common *common,
drivers/usb/gadget/function/f_mass_storage.c
2879
int fsg_common_create_lun(struct fsg_common *common, struct fsg_lun_config *cfg,
drivers/usb/gadget/function/f_mass_storage.c
296
struct fsg_common *common;
drivers/usb/gadget/function/f_mass_storage.c
2962
int fsg_common_create_luns(struct fsg_common *common, struct fsg_config *cfg)
drivers/usb/gadget/function/f_mass_storage.c
2986
void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
drivers/usb/gadget/function/f_mass_storage.c
3003
static void fsg_common_release(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
3034
struct fsg_common *common = fsg->common;
drivers/usb/gadget/function/f_mass_storage.c
310
static inline int __fsg_is_set(struct fsg_common *common,
drivers/usb/gadget/function/f_mass_storage.c
3133
struct fsg_common *common = fsg->common;
drivers/usb/gadget/function/f_mass_storage.c
327
static int exception_in_progress(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
333
static void set_bulk_out_req_length(struct fsg_common *common,
drivers/usb/gadget/function/f_mass_storage.c
3562
struct fsg_common *common = opts->common;
drivers/usb/gadget/function/f_mass_storage.c
367
static void __raise_exception(struct fsg_common *common, enum fsg_state new_state,
drivers/usb/gadget/function/f_mass_storage.c
389
static void raise_exception(struct fsg_common *common, enum fsg_state new_state)
drivers/usb/gadget/function/f_mass_storage.c
396
static int ep0_queue(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
417
struct fsg_common *common = ep->driver_data;
drivers/usb/gadget/function/f_mass_storage.c
433
struct fsg_common *common = ep->driver_data;
drivers/usb/gadget/function/f_mass_storage.c
448
static int _fsg_common_get_max_lun(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
547
static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
565
static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh)
drivers/usb/gadget/function/f_mass_storage.c
583
static int sleep_thread(struct fsg_common *common, bool can_freeze,
drivers/usb/gadget/function/f_mass_storage.c
607
static int do_read(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
738
static int do_write(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
927
static int do_synchronize_cache(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.c
953
static int do_verify(struct fsg_common *common)
drivers/usb/gadget/function/f_mass_storage.h
118
void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs);
drivers/usb/gadget/function/f_mass_storage.h
120
int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n);
drivers/usb/gadget/function/f_mass_storage.h
122
void fsg_common_free_buffers(struct fsg_common *common);
drivers/usb/gadget/function/f_mass_storage.h
124
int fsg_common_set_cdev(struct fsg_common *common,
drivers/usb/gadget/function/f_mass_storage.h
129
void fsg_common_remove_luns(struct fsg_common *common);
drivers/usb/gadget/function/f_mass_storage.h
131
int fsg_common_create_lun(struct fsg_common *common, struct fsg_lun_config *cfg,
drivers/usb/gadget/function/f_mass_storage.h
135
int fsg_common_create_luns(struct fsg_common *common, struct fsg_config *cfg);
drivers/usb/gadget/function/f_mass_storage.h
137
void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
drivers/usb/gadget/function/f_mass_storage.h
61
struct fsg_common;
drivers/usb/gadget/function/f_mass_storage.h
71
struct fsg_common *common;