Lines Matching refs:fsg_dev
287 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()
1397 static int wedge_bulk_in_endpoint(struct fsg_dev *fsg) in wedge_bulk_in_endpoint()
1415 static int pad_with_zeros(struct fsg_dev *fsg) in pad_with_zeros()
2042 static int received_cbw(struct fsg_dev *fsg, struct fsg_buffhd *bh) in received_cbw()
2170 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface()
2173 struct fsg_dev *fsg; in do_set_interface()
2263 struct fsg_dev *fsg = fsg_from_func(f); in fsg_set_alt()
2271 struct fsg_dev *fsg = fsg_from_func(f); in fsg_disable()
2635 struct fsg_dev *fsg = fsg_from_func(f); in fsg_unbind()
2650 struct fsg_dev *fsg = fsg_from_func(f); in fsg_bind()
2712 struct fsg_dev *fsg; in fsg_bind_config()