Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c287 struct fsg_dev;
293 struct fsg_dev *fsg, *new_fsg;
369 struct fsg_dev { struct
400 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func() argument
402 return container_of(f, struct fsg_dev, function); in fsg_from_func()
406 typedef void (*fsg_routine_t)(struct fsg_dev *);
432 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt()
532 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup()
583 static void start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer()
1378 static int halt_bulk_in_endpoint(struct fsg_dev *fsg) in halt_bulk_in_endpoint()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c230 struct fsg_dev;
237 struct fsg_dev *fsg;
292 struct fsg_dev { struct
321 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func() argument
323 return container_of(f, struct fsg_dev, function); in fsg_from_func()
347 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt()
460 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup()
520 static int start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer()
1467 static int halt_bulk_in_endpoint(struct fsg_dev *fsg) in halt_bulk_in_endpoint()
1489 static int wedge_bulk_in_endpoint(struct fsg_dev *fsg) in wedge_bulk_in_endpoint()
[all …]