H A D | file_storage.c | 174 * fsg->state; it won't try to stop the thread if the state is already 188 * (fsg->next_buffhd_to_fill) that points to the next buffer head to use. 496 static int exception_in_progress(struct fsg_dev *fsg) argument 498 return (fsg->state > FSG_STATE_IDLE); 502 static void set_bulk_out_req_length(struct fsg_dev *fsg, argument 508 rem = length % fsg->bulk_out_maxpacket; 510 length += fsg->bulk_out_maxpacket - rem; 520 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) argument 524 if (ep == fsg->bulk_in) 526 else if (ep == fsg 590 populate_bos(struct fsg_dev *fsg, u8 *buf) argument 640 wakeup_thread(struct fsg_dev *fsg) argument 649 raise_exception(struct fsg_dev *fsg, enum fsg_state new_state) argument 677 struct fsg_dev *fsg = get_gadget_data(gadget); local 684 ep0_queue(struct fsg_dev *fsg) argument 700 struct fsg_dev *fsg = ep->driver_data; local 722 struct fsg_dev *fsg = ep->driver_data; local 742 struct fsg_dev *fsg = ep->driver_data; local 766 struct fsg_dev *fsg = ep->driver_data; local 795 received_cbi_adsc(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 837 received_cbi_adsc(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 842 class_setup_req(struct fsg_dev *fsg, const struct usb_ctrlrequest *ctrl) argument 925 standard_setup_req(struct fsg_dev *fsg, const struct usb_ctrlrequest *ctrl) argument 1062 struct fsg_dev *fsg = get_gadget_data(gadget); local 1097 start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, struct usb_request *req, int *pbusy, enum fsg_buffer_state *state) argument 1129 sleep_thread(struct fsg_dev *fsg) argument 1153 do_read(struct fsg_dev *fsg) argument 1276 do_write(struct fsg_dev *fsg) argument 1457 do_synchronize_cache(struct fsg_dev *fsg) argument 1483 do_verify(struct fsg_dev *fsg) argument 1580 do_inquiry(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1612 do_request_sense(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1666 do_read_capacity(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1686 do_read_header(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1709 do_read_toc(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1737 do_mode_sense(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1818 do_start_stop(struct fsg_dev *fsg) argument 1868 do_prevent_allow(struct fsg_dev *fsg) argument 1891 do_read_format_capacities(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1909 do_mode_select(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 1921 halt_bulk_in_endpoint(struct fsg_dev *fsg) argument 1943 wedge_bulk_in_endpoint(struct fsg_dev *fsg) argument 1966 throw_away_data(struct fsg_dev *fsg) argument 2017 finish_reply(struct fsg_dev *fsg) argument 2123 send_status(struct fsg_dev *fsg) argument 2209 check_command(struct fsg_dev *fsg, int cmnd_size, enum data_direction data_dir, unsigned int mask, int needs_medium, const char *name) argument 2353 check_command_size_in_blocks(struct fsg_dev *fsg, int cmnd_size, enum data_direction data_dir, unsigned int mask, int needs_medium, const char *name) argument 2363 do_scsi_command(struct fsg_dev *fsg) argument 2609 received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument 2672 get_next_command(struct fsg_dev *fsg) argument 2745 enable_endpoint(struct fsg_dev *fsg, struct usb_ep *ep, const struct usb_endpoint_descriptor *d) argument 2758 alloc_request(struct fsg_dev *fsg, struct usb_ep *ep, struct usb_request **preq) argument 2773 do_set_interface(struct fsg_dev *fsg, int altsetting) argument 2881 do_set_config(struct fsg_dev *fsg, u8 new_config) argument 2908 handle_exception(struct fsg_dev *fsg) argument 3071 struct fsg_dev *fsg = fsg_; local 3152 struct fsg_dev *fsg = container_of(ref, struct fsg_dev, ref); local 3161 struct fsg_dev *fsg = local 3169 struct fsg_dev *fsg = get_gadget_data(gadget); local 3213 check_parameters(struct fsg_dev *fsg) argument 3336 struct fsg_dev *fsg = the_fsg; local 3589 struct fsg_dev *fsg = get_gadget_data(gadget); local 3597 struct fsg_dev *fsg = get_gadget_data(gadget); local 3627 struct fsg_dev *fsg; local 3647 struct fsg_dev *fsg; local 3665 struct fsg_dev *fsg = the_fsg; local [all...] |