Searched refs:new_fsg (Results 1 – 2 of 2) sorted by relevance
293 struct fsg_dev *fsg, *new_fsg; member2170 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface() argument2212 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()
2302 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface() argument2343 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() local2487 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()