Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/gadget/legacy/
Dether.c198 static struct usb_function_instance *fi_rndis; variable
219 f_rndis = usb_get_function(fi_rndis); in rndis_do_config()
379 fi_rndis = usb_get_function_instance("rndis"); in eth_bind()
380 if (IS_ERR(fi_rndis)) { in eth_bind()
381 status = PTR_ERR(fi_rndis); in eth_bind()
385 rndis_borrow_net(fi_rndis, net); in eth_bind()
438 usb_put_function_instance(fi_rndis); in eth_bind()
453 usb_put_function_instance(fi_rndis); in eth_unbind()
Dmulti.c129 static struct usb_function_instance *fi_rndis; variable
143 f_rndis = usb_get_function(fi_rndis); in rndis_do_config()
328 fi_rndis = usb_get_function_instance("rndis"); in multi_bind()
329 if (IS_ERR(fi_rndis)) { in multi_bind()
330 status = PTR_ERR(fi_rndis); in multi_bind()
334 rndis_opts = container_of(fi_rndis, struct f_rndis_opts, func_inst); in multi_bind()
355 rndis_borrow_net(fi_rndis, ecm_opts->net); in multi_bind()
440 usb_put_function_instance(fi_rndis); in multi_bind()
467 usb_put_function_instance(fi_rndis); in multi_unbind()
Dg_ffs.c42 static struct usb_function_instance *fi_rndis; variable
340 fi_rndis = usb_get_function_instance("rndis"); in gfs_bind()
341 if (IS_ERR(fi_rndis)) { in gfs_bind()
342 ret = PTR_ERR(fi_rndis); in gfs_bind()
346 net = container_of(fi_rndis, struct f_rndis_opts, in gfs_bind()
379 rndis_borrow_net(fi_rndis, net); in gfs_bind()
425 usb_put_function_instance(fi_rndis); in gfs_bind()
446 usb_put_function_instance(fi_rndis); in gfs_unbind()
563 f_rndis = usb_get_function(fi_rndis); in bind_rndis_config()