Lines Matching refs:n
111 struct hidg_func_node *e, *n; in do_config() local
132 list_for_each_entry(n, &hidg_func_list, node) { in do_config()
133 if (n == e) in do_config()
135 usb_remove_function(c, n->f); in do_config()
136 usb_put_function(n->f); in do_config()
154 struct hidg_func_node *n, *m; in hid_bind() local
164 list_for_each_entry(n, &hidg_func_list, node) { in hid_bind()
165 n->fi = usb_get_function_instance("hid"); in hid_bind()
166 if (IS_ERR(n->fi)) { in hid_bind()
167 status = PTR_ERR(n->fi); in hid_bind()
170 hid_opts = container_of(n->fi, struct f_hid_opts, func_inst); in hid_bind()
171 hid_opts->subclass = n->func->subclass; in hid_bind()
172 hid_opts->protocol = n->func->protocol; in hid_bind()
173 hid_opts->report_length = n->func->report_length; in hid_bind()
174 hid_opts->report_desc_length = n->func->report_desc_length; in hid_bind()
175 hid_opts->report_desc = n->func->report_desc; in hid_bind()
201 if (m == n) in hid_bind()
210 struct hidg_func_node *n; in hid_unbind() local
212 list_for_each_entry(n, &hidg_func_list, node) { in hid_unbind()
213 usb_put_function(n->f); in hid_unbind()
214 usb_put_function_instance(n->fi); in hid_unbind()
241 struct hidg_func_node *e, *n; in hidg_plat_driver_remove() local
243 list_for_each_entry_safe(e, n, &hidg_func_list, node) { in hidg_plat_driver_remove()