Lines Matching refs:fsg_common
319 struct fsg_common;
328 int (*thread_exits)(struct fsg_common *common);
333 int (*pre_eject)(struct fsg_common *common,
337 int (*post_eject)(struct fsg_common *common,
343 struct fsg_common {
433 struct fsg_common *common;
448 static inline int __fsg_is_set(struct fsg_common *common,
469 static int exception_in_progress(struct fsg_common *common)
475 static void set_bulk_out_req_length(struct fsg_common *common,
509 static void wakeup_thread(struct fsg_common *common)
518 static void raise_exception(struct fsg_common *common, enum fsg_state new_state)
539 static int ep0_queue(struct fsg_common *common)
560 struct fsg_common *common = ep->driver_data;
580 struct fsg_common *common = ep->driver_data;
701 static int sleep_thread(struct fsg_common *common)
725 static int do_read(struct fsg_common *common)
854 static int do_write(struct fsg_common *common)
1047 static int do_synchronize_cache(struct fsg_common *common)
1073 static int do_verify(struct fsg_common *common)
1171 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh)
1197 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh)
1245 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh)
1265 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh)
1288 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh)
1316 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh)
1397 static int do_start_stop(struct fsg_common *common)
1459 static int do_prevent_allow(struct fsg_common *common)
1484 static int do_read_format_capacities(struct fsg_common *common,
1502 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh)
1591 static int throw_away_data(struct fsg_common *common)
1647 static int finish_reply(struct fsg_common *common)
1735 static int send_status(struct fsg_common *common)
1796 static int check_command(struct fsg_common *common, int cmnd_size,
1908 static int do_scsi_command(struct fsg_common *common)
2183 struct fsg_common *common = fsg->common;
2243 static int get_next_command(struct fsg_common *common)
2284 static int enable_endpoint(struct fsg_common *common, struct usb_ep *ep,
2296 static int alloc_request(struct fsg_common *common, struct usb_ep *ep,
2307 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg)
2416 static void handle_exception(struct fsg_common *common)
2556 struct fsg_common *common = common_;
2651 static inline void fsg_common_get(struct fsg_common *common)
2656 static inline void fsg_common_put(struct fsg_common *common)
2662 static struct fsg_common *fsg_common_init(struct fsg_common *common,
2870 struct fsg_common *common = container_of(ref, struct fsg_common, ref);
2915 struct fsg_common *common = fsg->common;
2995 struct fsg_common *common)
3030 struct fsg_common *common)
3113 static inline struct fsg_common *
3114 fsg_common_from_params(struct fsg_common *common,
3118 static inline struct fsg_common *
3119 fsg_common_from_params(struct fsg_common *common,