• Home
  • Raw
  • Download

Lines Matching refs:fsg_common

317 struct fsg_common;
328 int (*thread_exits)(struct fsg_common *common);
335 int (*pre_eject)(struct fsg_common *common,
341 int (*post_eject)(struct fsg_common *common,
346 struct fsg_common { struct
438 struct fsg_common *common;
452 static inline int __fsg_is_set(struct fsg_common *common, in __fsg_is_set()
471 static int exception_in_progress(struct fsg_common *common) in exception_in_progress()
477 static void set_bulk_out_req_length(struct fsg_common *common, in set_bulk_out_req_length()
512 static void wakeup_thread(struct fsg_common *common) in wakeup_thread()
521 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception()
544 static int ep0_queue(struct fsg_common *common) in ep0_queue()
565 struct fsg_common *common = ep->driver_data; in bulk_in_complete()
585 struct fsg_common *common = ep->driver_data; in bulk_out_complete()
698 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer()
707 static bool start_out_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_out_transfer()
716 static int sleep_thread(struct fsg_common *common) in sleep_thread()
741 static int do_read(struct fsg_common *common) in do_read()
872 static int do_write(struct fsg_common *common) in do_write()
1062 static int do_synchronize_cache(struct fsg_common *common) in do_synchronize_cache()
1088 static int do_verify(struct fsg_common *common) in do_verify()
1190 static int do_inquiry(struct fsg_common *common, struct fsg_buffhd *bh) in do_inquiry()
1215 static int do_request_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_request_sense()
1268 static int do_read_capacity(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_capacity()
1287 static int do_read_header(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_header()
1309 static int do_read_toc(struct fsg_common *common, struct fsg_buffhd *bh) in do_read_toc()
1336 static int do_mode_sense(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_sense()
1422 static int do_start_stop(struct fsg_common *common) in do_start_stop()
1485 static int do_prevent_allow(struct fsg_common *common) in do_prevent_allow()
1509 static int do_read_format_capacities(struct fsg_common *common, in do_read_format_capacities()
1526 static int do_mode_select(struct fsg_common *common, struct fsg_buffhd *bh) in do_mode_select()
1584 static int throw_away_data(struct fsg_common *common) in throw_away_data()
1638 static int finish_reply(struct fsg_common *common) in finish_reply()
1740 static int send_status(struct fsg_common *common) in send_status()
1802 static int check_command(struct fsg_common *common, int cmnd_size, in check_command()
1931 static int check_command_size_in_blocks(struct fsg_common *common, in check_command_size_in_blocks()
1941 static int do_scsi_command(struct fsg_common *common) in do_scsi_command()
2226 struct fsg_common *common = fsg->common; in received_cbw()
2293 static int get_next_command(struct fsg_common *common) in get_next_command()
2334 static int alloc_request(struct fsg_common *common, struct usb_ep *ep, in alloc_request()
2345 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface()
2457 static void handle_exception(struct fsg_common *common) in handle_exception()
2607 struct fsg_common *common = common_; in fsg_main_thread()
2707 static inline void fsg_common_get(struct fsg_common *common) in fsg_common_get()
2712 static inline void fsg_common_put(struct fsg_common *common) in fsg_common_put()
2717 static struct fsg_common *fsg_common_init(struct fsg_common *common, in fsg_common_init()
2935 struct fsg_common *common = container_of(ref, struct fsg_common, ref); in fsg_common_release()
2978 struct fsg_common *common = fsg->common; in fsg_unbind()
3081 struct fsg_common *common) in fsg_bind_config()
3117 struct fsg_common *common) in fsg_add()
3201 static inline struct fsg_common *
3202 fsg_common_from_params(struct fsg_common *common,
3206 static inline struct fsg_common *
3207 fsg_common_from_params(struct fsg_common *common, in fsg_common_from_params()