Home
last modified time | relevance | path

Searched refs:iter_n (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/gadget/legacy/
H A Dhid.c136 struct hidg_func_node *n = NULL, *m, *iter_n; in hid_bind() local
144 list_for_each_entry(iter_n, &hidg_func_list, node) { in hid_bind()
145 iter_n->fi = usb_get_function_instance("hid"); in hid_bind()
146 if (IS_ERR(iter_n->fi)) { in hid_bind()
147 status = PTR_ERR(iter_n->fi); in hid_bind()
148 n = iter_n; in hid_bind()
151 hid_opts = container_of(iter_n->fi, struct f_hid_opts, func_inst); in hid_bind()
152 hid_opts->subclass = iter_n->func->subclass; in hid_bind()
153 hid_opts->protocol = iter_n->func->protocol; in hid_bind()
154 hid_opts->report_length = iter_n->func->report_length; in hid_bind()
[all …]