Searched refs:fsg (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/gadget/ |
D | file_storage.c | 496 static int exception_in_progress(struct fsg_dev *fsg) in exception_in_progress() argument 498 return (fsg->state > FSG_STATE_IDLE); in exception_in_progress() 502 static void set_bulk_out_req_length(struct fsg_dev *fsg, in set_bulk_out_req_length() argument 508 rem = length % fsg->bulk_out_maxpacket; in set_bulk_out_req_length() 510 length += fsg->bulk_out_maxpacket - rem; in set_bulk_out_req_length() 520 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt() argument 524 if (ep == fsg->bulk_in) in fsg_set_halt() 526 else if (ep == fsg->bulk_out) in fsg_set_halt() 530 DBG(fsg, "%s set halt\n", name); in fsg_set_halt() 590 static int populate_bos(struct fsg_dev *fsg, u8 *buf) in populate_bos() argument [all …]
|
D | f_mass_storage.c | 349 struct fsg_dev *fsg, *new_fsg; member 455 if (common->fsg) in __fsg_is_set() 492 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt() argument 496 if (ep == fsg->bulk_in) in fsg_set_halt() 498 else if (ep == fsg->bulk_out) in fsg_set_halt() 502 DBG(fsg, "%s set halt\n", name); in fsg_set_halt() 607 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup() local 608 struct usb_request *req = fsg->common->ep0req; in fsg_setup() 613 if (!fsg_is_set(fsg->common)) in fsg_setup() 616 ++fsg->common->ep0_req_tag; /* Record arrival of a new request */ in fsg_setup() [all …]
|
D | storage_common.c | 118 # define dump_msg(fsg, /* const char * */ label, \ argument 121 DBG(fsg, "%s, length %u:\n", label, length); \ 127 # define dump_cdb(fsg) do { } while (0) argument 131 # define dump_msg(fsg, /* const char * */ label, \ argument 136 # define dump_cdb(fsg) \ argument 138 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \ 142 # define dump_cdb(fsg) do { } while (0) argument
|
D | android.c | 800 struct fsg_config fsg; member 816 config->fsg.nluns = 1; in mass_storage_function_init() 817 config->fsg.luns[0].removable = 1; in mass_storage_function_init() 819 common = fsg_common_init(NULL, cdev, &config->fsg); in mass_storage_function_init()
|
/drivers/leds/ |
D | Makefile | 30 obj-$(CONFIG_LEDS_FSG) += leds-fsg.o
|