Home
last modified time | relevance | path

Searched refs:fsg_dev (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c289 struct fsg_dev;
295 struct fsg_dev *fsg, *new_fsg;
371 struct fsg_dev { struct
402 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func() argument
404 return container_of(f, struct fsg_dev, function); in fsg_from_func()
408 typedef void (*fsg_routine_t)(struct fsg_dev *);
434 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt()
534 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup()
585 static void start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer()
1385 static int halt_bulk_in_endpoint(struct fsg_dev *fsg) in halt_bulk_in_endpoint()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_mass_storage.c258 struct fsg_dev;
265 struct fsg_dev *fsg;
320 struct fsg_dev { struct
349 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func() argument
351 return container_of(f, struct fsg_dev, function); in fsg_from_func()
354 typedef void (*fsg_routine_t)(struct fsg_dev *);
377 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt()
490 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup()
550 static int start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer()
1449 static int halt_bulk_in_endpoint(struct fsg_dev *fsg) in halt_bulk_in_endpoint()
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Drockusb.h65 struct fsg_dev;