Home
last modified time | relevance | path

Searched refs:fsg (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/usb/gadget/
Df_mass_storage.c293 struct fsg_dev *fsg, *new_fsg; member
390 if (common->fsg) in __fsg_is_set()
432 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt() argument
436 if (ep == fsg->bulk_in) in fsg_set_halt()
438 else if (ep == fsg->bulk_out) in fsg_set_halt()
442 DBG(fsg, "%s set halt\n", name); in fsg_set_halt()
532 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup() local
533 struct usb_request *req = fsg->common->ep0req; in fsg_setup()
538 if (!fsg_is_set(fsg->common)) in fsg_setup()
547 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup()
[all …]
Dstorage_common.c124 # define dump_msg(fsg, label, buf, length) do { \ argument
126 DBG(fsg, "%s, length %u:\n", label, length); \
132 # define dump_cdb(fsg) do { } while (0) argument
136 # define dump_msg(fsg, /* const char * */ label, \ argument
141 # define dump_cdb(fsg) \ argument
143 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \
147 # define dump_cdb(fsg) do { } while (0) argument