Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/gadget/legacy/
Dcdc2.c84 static struct usb_function_instance *fi_ecm; variable
98 f_ecm = usb_get_function(fi_ecm); in cdc_do_config()
150 fi_ecm = usb_get_function_instance("ecm"); in cdc_bind()
151 if (IS_ERR(fi_ecm)) in cdc_bind()
152 return PTR_ERR(fi_ecm); in cdc_bind()
154 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in cdc_bind()
208 usb_put_function_instance(fi_ecm); in cdc_bind()
218 if (!IS_ERR_OR_NULL(fi_ecm)) in cdc_unbind()
219 usb_put_function_instance(fi_ecm); in cdc_unbind()
Dether.c189 static struct usb_function_instance *fi_ecm; variable
272 f_ecm = usb_get_function(fi_ecm); in eth_do_config()
330 fi_ecm = usb_get_function_instance("ecm"); in eth_bind()
331 if (IS_ERR(fi_ecm)) in eth_bind()
332 return PTR_ERR(fi_ecm); in eth_bind()
334 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in eth_bind()
443 usb_put_function_instance(fi_ecm); in eth_bind()
460 usb_put_function_instance(fi_ecm); in eth_unbind()
Dmulti.c211 static struct usb_function_instance *fi_ecm; variable
225 f_ecm = usb_get_function(fi_ecm); in cdc_do_config()
314 fi_ecm = usb_get_function_instance("ecm"); in multi_bind()
315 if (IS_ERR(fi_ecm)) in multi_bind()
316 return PTR_ERR(fi_ecm); in multi_bind()
318 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in multi_bind()
444 usb_put_function_instance(fi_ecm); in multi_bind()
471 usb_put_function_instance(fi_ecm); in multi_unbind()
Dg_ffs.c35 static struct usb_function_instance *fi_ecm; variable
327 fi_ecm = usb_get_function_instance("ecm"); in gfs_bind()
328 if (IS_ERR(fi_ecm)) in gfs_bind()
329 return PTR_ERR(fi_ecm); in gfs_bind()
330 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in gfs_bind()
375 ecm_opts = container_of(fi_ecm, struct f_ecm_opts, func_inst); in gfs_bind()
434 usb_put_function_instance(fi_ecm); in gfs_bind()
459 usb_put_function_instance(fi_ecm); in gfs_unbind()
542 f_ecm = usb_get_function(fi_ecm); in eth_bind_config()
Dnokia.c137 static struct usb_function_instance *fi_ecm; variable
180 f_ecm = usb_get_function(fi_ecm); in nokia_bind_config()
306 fi_ecm = usb_get_function_instance("ecm"); in nokia_bind()
307 if (IS_ERR(fi_ecm)) { in nokia_bind()
308 status = PTR_ERR(fi_ecm); in nokia_bind()
375 usb_put_function_instance(fi_ecm); in nokia_bind()
411 usb_put_function_instance(fi_ecm); in nokia_unbind()