Lines Matching refs:tclass
51 int transport_class_register(struct transport_class *tclass) in transport_class_register() argument
53 return class_register(&tclass->class); in transport_class_register()
65 void transport_class_unregister(struct transport_class *tclass) in transport_class_unregister() argument
67 class_unregister(&tclass->class); in transport_class_unregister()
94 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
99 atc->tclass.setup = anon_transport_dummy_function; in anon_transport_class_register()
100 atc->tclass.remove = anon_transport_dummy_function; in anon_transport_class_register()
124 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_setup_classdev() local
127 if (tclass->setup) in transport_setup_classdev()
128 tclass->setup(tcont, dev, classdev); in transport_setup_classdev()
191 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_configure() local
194 if (tclass->configure) in transport_configure()
195 tclass->configure(tcont, dev, cdev); in transport_configure()
224 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_remove_classdev() local
226 if (tclass->remove) in transport_remove_classdev()
227 tclass->remove(tcont, dev, classdev); in transport_remove_classdev()
229 if (tclass->remove != anon_transport_dummy_function) { in transport_remove_classdev()
261 struct transport_class *tclass = class_to_transport_class(cont->class); in transport_destroy_classdev() local
263 if (tclass->remove != anon_transport_dummy_function) in transport_destroy_classdev()