Searched refs:fsg (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 295 struct fsg_dev *fsg, *new_fsg; member 393 if (common->fsg) in __fsg_is_set() 435 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt() argument 439 if (ep == fsg->bulk_in) in fsg_set_halt() 441 else if (ep == fsg->bulk_out) in fsg_set_halt() 445 DBG(fsg, "%s set halt\n", name); in fsg_set_halt() 535 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup() local 536 struct usb_request *req = fsg->common->ep0req; in fsg_setup() 541 if (!fsg_is_set(fsg->common)) in fsg_setup() 550 if (w_index != fsg->interface_number || w_value != 0) in fsg_setup() [all …]
|
| H A D | storage_common.c | 125 # define dump_msg(fsg, label, buf, length) do { \ argument 127 DBG(fsg, "%s, length %u:\n", label, length); \ 133 # define dump_cdb(fsg) do { } while (0) argument 137 # define dump_msg(fsg, /* const char * */ label, \ argument 142 # define dump_cdb(fsg) \ argument 144 16, 1, (fsg)->cmnd, (fsg)->cmnd_size, 0) \ 148 # define dump_cdb(fsg) do { } while (0) argument
|