Lines Matching refs:fsg_dev
289 struct fsg_dev;
295 struct fsg_dev *fsg, *new_fsg;
372 struct fsg_dev { struct
403 static inline struct fsg_dev *fsg_from_func(struct usb_function *f) in fsg_from_func() argument
405 return container_of(f, struct fsg_dev, function); in fsg_from_func()
409 typedef void (*fsg_routine_t)(struct fsg_dev *);
435 static int fsg_set_halt(struct fsg_dev *fsg, struct usb_ep *ep) in fsg_set_halt()
535 struct fsg_dev *fsg = fsg_from_func(f); in fsg_setup()
586 static void start_transfer(struct fsg_dev *fsg, struct usb_ep *ep, in start_transfer()
1392 static int halt_bulk_in_endpoint(struct fsg_dev *fsg) in halt_bulk_in_endpoint()
1411 static int wedge_bulk_in_endpoint(struct fsg_dev *fsg) in wedge_bulk_in_endpoint()
1429 static int pad_with_zeros(struct fsg_dev *fsg) in pad_with_zeros()
2082 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2210 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface()
2213 struct fsg_dev *fsg; in do_set_interface()
2307 struct fsg_dev *fsg = fsg_from_func(f); in fsg_set_alt()
2315 struct fsg_dev *fsg = fsg_from_func(f); in fsg_disable()
2680 struct fsg_dev *fsg = fsg_from_func(f); in fsg_unbind()
2695 struct fsg_dev *fsg = fsg_from_func(f); in fsg_bind()
2785 struct fsg_dev *fsg; in fsg_bind_config()