fsg_common 258 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common; fsg_common 322 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common; fsg_common 336 drivers/usb/gadget/function/f_mass_storage.c static inline int __fsg_is_set(struct fsg_common *common, fsg_common 355 drivers/usb/gadget/function/f_mass_storage.c static int exception_in_progress(struct fsg_common *common) fsg_common 361 drivers/usb/gadget/function/f_mass_storage.c static void set_bulk_out_req_length(struct fsg_common *common, fsg_common 395 drivers/usb/gadget/function/f_mass_storage.c static void __raise_exception(struct fsg_common *common, enum fsg_state new_state, fsg_common 417 drivers/usb/gadget/function/f_mass_storage.c static void raise_exception(struct fsg_common *common, enum fsg_state new_state) fsg_common 424 drivers/usb/gadget/function/f_mass_storage.c static int ep0_queue(struct fsg_common *common) fsg_common 445 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = ep->driver_data; fsg_common 461 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = ep->driver_data; fsg_common 476 drivers/usb/gadget/function/f_mass_storage.c static int _fsg_common_get_max_lun(struct fsg_common *common) fsg_common 575 drivers/usb/gadget/function/f_mass_storage.c static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 585 drivers/usb/gadget/function/f_mass_storage.c static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 595 drivers/usb/gadget/function/f_mass_storage.c static int sleep_thread(struct fsg_common *common, bool can_freeze, fsg_common 619 drivers/usb/gadget/function/f_mass_storage.c static int do_read(struct fsg_common *common) fsg_common 747 drivers/usb/gadget/function/f_mass_storage.c static int do_write(struct fsg_common *common) fsg_common 933 drivers/usb/gadget/function/f_mass_storage.c static int do_synchronize_cache(struct fsg_common *common) fsg_common 959 drivers/usb/gadget/function/f_mass_storage.c static int do_verify(struct fsg_common *common) fsg_common 1060 drivers/usb/gadget/function/f_mass_storage.c static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1090 drivers/usb/gadget/function/f_mass_storage.c static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1143 drivers/usb/gadget/function/f_mass_storage.c static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1162 drivers/usb/gadget/function/f_mass_storage.c static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1184 drivers/usb/gadget/function/f_mass_storage.c static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1211 drivers/usb/gadget/function/f_mass_storage.c static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1297 drivers/usb/gadget/function/f_mass_storage.c static int do_start_stop(struct fsg_common *common) fsg_common 1347 drivers/usb/gadget/function/f_mass_storage.c static int do_prevent_allow(struct fsg_common *common) fsg_common 1371 drivers/usb/gadget/function/f_mass_storage.c static int do_read_format_capacities(struct fsg_common *common, fsg_common 1388 drivers/usb/gadget/function/f_mass_storage.c static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) fsg_common 1446 drivers/usb/gadget/function/f_mass_storage.c static int throw_away_data(struct fsg_common *common) fsg_common 1495 drivers/usb/gadget/function/f_mass_storage.c static int finish_reply(struct fsg_common *common) fsg_common 1597 drivers/usb/gadget/function/f_mass_storage.c static void send_status(struct fsg_common *common) fsg_common 1657 drivers/usb/gadget/function/f_mass_storage.c static int check_command(struct fsg_common *common, int cmnd_size, fsg_common 1786 drivers/usb/gadget/function/f_mass_storage.c static int check_command_size_in_blocks(struct fsg_common *common, fsg_common 1796 drivers/usb/gadget/function/f_mass_storage.c static int do_scsi_command(struct fsg_common *common) fsg_common 2080 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = fsg->common; fsg_common 2148 drivers/usb/gadget/function/f_mass_storage.c static int get_next_command(struct fsg_common *common) fsg_common 2185 drivers/usb/gadget/function/f_mass_storage.c static int alloc_request(struct fsg_common *common, struct usb_ep *ep, fsg_common 2196 drivers/usb/gadget/function/f_mass_storage.c static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) fsg_common 2310 drivers/usb/gadget/function/f_mass_storage.c static void handle_exception(struct fsg_common *common) fsg_common 2447 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = common_; fsg_common 2567 drivers/usb/gadget/function/f_mass_storage.c static struct fsg_common *fsg_common_setup(struct fsg_common *common) fsg_common 2588 drivers/usb/gadget/function/f_mass_storage.c void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs) fsg_common 2606 drivers/usb/gadget/function/f_mass_storage.c int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n) fsg_common 2655 drivers/usb/gadget/function/f_mass_storage.c static void _fsg_common_remove_luns(struct fsg_common *common, int n) fsg_common 2666 drivers/usb/gadget/function/f_mass_storage.c void fsg_common_remove_luns(struct fsg_common *common) fsg_common 2672 drivers/usb/gadget/function/f_mass_storage.c void fsg_common_free_buffers(struct fsg_common *common) fsg_common 2679 drivers/usb/gadget/function/f_mass_storage.c int fsg_common_set_cdev(struct fsg_common *common, fsg_common 2738 drivers/usb/gadget/function/f_mass_storage.c int fsg_common_create_lun(struct fsg_common *common, struct fsg_lun_config *cfg, fsg_common 2825 drivers/usb/gadget/function/f_mass_storage.c int fsg_common_create_luns(struct fsg_common *common, struct fsg_config *cfg) fsg_common 2849 drivers/usb/gadget/function/f_mass_storage.c void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn, fsg_common 2866 drivers/usb/gadget/function/f_mass_storage.c static void fsg_common_release(struct fsg_common *common) fsg_common 2897 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = fsg->common; fsg_common 2997 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = fsg->common; fsg_common 3413 drivers/usb/gadget/function/f_mass_storage.c struct fsg_common *common = opts->common; fsg_common 61 drivers/usb/gadget/function/f_mass_storage.h struct fsg_common; fsg_common 71 drivers/usb/gadget/function/f_mass_storage.h struct fsg_common *common; fsg_common 118 drivers/usb/gadget/function/f_mass_storage.h void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs); fsg_common 120 drivers/usb/gadget/function/f_mass_storage.h int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n); fsg_common 122 drivers/usb/gadget/function/f_mass_storage.h void fsg_common_free_buffers(struct fsg_common *common); fsg_common 124 drivers/usb/gadget/function/f_mass_storage.h int fsg_common_set_cdev(struct fsg_common *common, fsg_common 129 drivers/usb/gadget/function/f_mass_storage.h void fsg_common_remove_luns(struct fsg_common *common); fsg_common 131 drivers/usb/gadget/function/f_mass_storage.h int fsg_common_create_lun(struct fsg_common *common, struct fsg_lun_config *cfg, fsg_common 135 drivers/usb/gadget/function/f_mass_storage.h int fsg_common_create_luns(struct fsg_common *common, struct fsg_config *cfg); fsg_common 137 drivers/usb/gadget/function/f_mass_storage.h void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,