Searched refs:new_fsg (Results 1 – 2 of 2) sorted by relevance
295 struct fsg_dev *fsg, *new_fsg; member2201 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface() argument2243 if (!new_fsg || rc) in do_set_interface()2246 common->fsg = new_fsg; in do_set_interface()2299 fsg->common->new_fsg = fsg; in fsg_set_alt()2307 fsg->common->new_fsg = NULL; in fsg_disable()2400 do_set_interface(common, common->new_fsg); in handle_exception()2674 fsg->common->new_fsg = NULL; in fsg_unbind()
2243 static int do_set_interface(struct fsg_common *common, struct fsg_dev *new_fsg) in do_set_interface() argument2284 if (!new_fsg || rc) in do_set_interface()2287 common->fsg = new_fsg; in do_set_interface()2374 struct fsg_dev *new_fsg; in handle_exception() local2428 new_fsg = common->exception_arg; in handle_exception()2482 do_set_interface(common, new_fsg); in handle_exception()2483 if (new_fsg) in handle_exception()