Lines Matching refs:n
96 struct hidg_func_node *e, *n; in do_config() local
117 list_for_each_entry(n, &hidg_func_list, node) { in do_config()
118 if (n == e) in do_config()
120 usb_remove_function(c, n->f); in do_config()
121 usb_put_function(n->f); in do_config()
139 struct hidg_func_node *n, *m; in hid_bind() local
149 list_for_each_entry(n, &hidg_func_list, node) { in hid_bind()
150 n->fi = usb_get_function_instance("hid"); in hid_bind()
151 if (IS_ERR(n->fi)) { in hid_bind()
152 status = PTR_ERR(n->fi); in hid_bind()
155 hid_opts = container_of(n->fi, struct f_hid_opts, func_inst); in hid_bind()
156 hid_opts->subclass = n->func->subclass; in hid_bind()
157 hid_opts->protocol = n->func->protocol; in hid_bind()
158 hid_opts->report_length = n->func->report_length; in hid_bind()
159 hid_opts->report_desc_length = n->func->report_desc_length; in hid_bind()
160 hid_opts->report_desc = n->func->report_desc; in hid_bind()
200 if (m == n) in hid_bind()
209 struct hidg_func_node *n; in hid_unbind() local
211 list_for_each_entry(n, &hidg_func_list, node) { in hid_unbind()
212 usb_put_function(n->f); in hid_unbind()
213 usb_put_function_instance(n->fi); in hid_unbind()
244 struct hidg_func_node *e, *n; in hidg_plat_driver_remove() local
246 list_for_each_entry_safe(e, n, &hidg_func_list, node) { in hidg_plat_driver_remove()