Lines Matching defs:atc
78 * @atc: The anon transport class to register
87 int anon_transport_class_register(struct anon_transport_class *atc)
90 atc->container.class = &atc->tclass.class;
91 attribute_container_set_no_classdevs(&atc->container);
92 error = attribute_container_register(&atc->container);
95 atc->tclass.setup = anon_transport_dummy_function;
96 atc->tclass.remove = anon_transport_dummy_function;
104 * @atc: Pointer to the anon transport class to unregister
109 void anon_transport_class_unregister(struct anon_transport_class *atc)
111 if (unlikely(attribute_container_unregister(&atc->container)))