Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c293 struct fsg_dev *fsg, *new_fsg; member
2170 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface() argument
2212 if (!new_fsg || rc) in do_set_interface()
2215 common->fsg = new_fsg; in do_set_interface()
2264 fsg->common->new_fsg = fsg; in fsg_set_alt()
2272 fsg->common->new_fsg = NULL; in fsg_disable()
2365 do_set_interface(common, common->new_fsg); in handle_exception()
2639 fsg->common->new_fsg = NULL; in fsg_unbind()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.c2302 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface() argument
2343 if (!new_fsg || rc) in do_set_interface()
2346 common->fsg = new_fsg; in do_set_interface()
2433 struct fsg_dev *new_fsg; in handle_exception() local
2487 new_fsg = common->exception_arg; in handle_exception()
2541 do_set_interface(common, new_fsg); in handle_exception()
2542 if (new_fsg) in handle_exception()