Searched refs:fsg_dev (Results 1 – 2 of 2) sorted by relevance
/drivers/usb/gadget/ |
D | file_storage.c | 419 struct fsg_dev { struct 494 typedef void (*fsg_routine_t)(struct fsg_dev *); argument 496 static int exception_in_progress(struct fsg_dev *fsg) in exception_in_progress() 502 static void set_bulk_out_req_length(struct fsg_dev *fsg, in set_bulk_out_req_length() 514 static struct fsg_dev *the_fsg; 520 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt() 590 static int populate_bos(struct fsg_dev *fsg, u8 *buf) in populate_bos() 640 static void wakeup_thread(struct fsg_dev *fsg) in wakeup_thread() 649 static void raise_exception(struct fsg_dev *fsg, enum fsg_state new_state) in raise_exception() 677 struct fsg_dev *fsg = get_gadget_data(gadget); in fsg_disconnect() [all …]
|
D | f_mass_storage.c | 316 struct fsg_dev; 349 struct fsg_dev *fsg, *new_fsg; 435 struct fsg_dev { struct 464 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func() argument 466 return container_of(f, struct fsg_dev, function); in fsg_from_func() 469 typedef void (*fsg_routine_t)(struct fsg_dev *); 492 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt() 607 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup() 667 static void start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer() 1539 static int halt_bulk_in_endpoint(struct fsg_dev *fsg) in halt_bulk_in_endpoint() [all …]
|