Lines Matching refs:tclass
47 int transport_class_register(struct transport_class *tclass) in transport_class_register() argument
49 return class_register(&tclass->class); in transport_class_register()
61 void transport_class_unregister(struct transport_class *tclass) in transport_class_unregister() argument
63 class_unregister(&tclass->class); in transport_class_unregister()
90 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
95 atc->tclass.setup = anon_transport_dummy_function; in anon_transport_class_register()
96 atc->tclass.remove = anon_transport_dummy_function; in anon_transport_class_register()
120 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev() local
123 if (tclass->setup) in transport_setup_classdev()
124 tclass->setup(tcont, dev, classdev); in transport_setup_classdev()
186 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure() local
189 if (tclass->configure) in transport_configure()
190 tclass->configure(tcont, dev, cdev); in transport_configure()
219 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_remove_classdev() local
221 if (tclass->remove) in transport_remove_classdev()
222 tclass->remove(tcont, dev, classdev); in transport_remove_classdev()
224 if (tclass->remove != anon_transport_dummy_function) { in transport_remove_classdev()
256 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_destroy_classdev() local
258 if (tclass->remove != anon_transport_dummy_function) in transport_destroy_classdev()