Searched refs:fsg (Results 1 - 5 of 5) sorted by relevance

/drivers/usb/gadget/
H A Dfile_storage.c174 * 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...]
H A Df_mass_storage.c229 * (fsg->next_buffhd_to_fill) that points to the next buffer head to use.
349 struct fsg_dev *fsg, *new_fsg; member in struct:fsg_common
455 if (common->fsg)
457 ERROR(common, "common->fsg is NULL in %s at %u\n", func, line);
492 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) argument
496 if (ep == fsg->bulk_in)
498 else if (ep == fsg->bulk_out)
502 DBG(fsg, "%s set halt\n", name);
511 /* Caller must hold fsg->lock */
606 struct fsg_dev *fsg local
666 start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, struct usb_request *req, int *pbusy, enum fsg_buffer_state *state) argument
1537 halt_bulk_in_endpoint(struct fsg_dev *fsg) argument
1559 wedge_bulk_in_endpoint(struct fsg_dev *fsg) argument
2220 received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) argument
2345 struct fsg_dev *fsg; local
2439 struct fsg_dev *fsg = fsg_from_func(f); local
2447 struct fsg_dev *fsg = fsg_from_func(f); local
2975 struct fsg_dev *fsg = fsg_from_func(f); local
2995 struct fsg_dev *fsg = fsg_from_func(f); local
3081 struct fsg_dev *fsg; local
[all...]
H A Dstorage_common.c118 # define dump_msg(fsg, /* const char * */ label, \
121 DBG(fsg, "%s, length %u:\n", label, length); \
127 # define dump_cdb(fsg) do { } while (0)
131 # define dump_msg(fsg, /* const char * */ label, \
136 # define dump_cdb(fsg) \
138 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
142 # define dump_cdb(fsg) do { } while (0)
627 * the caller must own fsg->filesem for writing.
H A Dandroid.c800 struct fsg_config fsg; member in struct:mass_storage_function_config
816 config->fsg.nluns = 1;
817 config->fsg.luns[0].removable = 1;
819 common = fsg_common_init(NULL, cdev, &config->fsg);
/drivers/leds/
H A DMakefile30 obj-$(CONFIG_LEDS_FSG) += leds-fsg.o

Completed in 444 milliseconds