Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/gadget/legacy/
Dether.c199 static struct usb_function_instance *fi_geth; variable
286 f_geth = usb_get_function(fi_geth); in eth_do_config()
346 fi_geth = usb_get_function_instance("geth"); in eth_bind()
347 if (IS_ERR(fi_geth)) in eth_bind()
348 return PTR_ERR(fi_geth); in eth_bind()
350 geth_opts = container_of(fi_geth, struct f_gether_opts, in eth_bind()
447 usb_put_function_instance(fi_geth); in eth_bind()
465 usb_put_function_instance(fi_geth); in eth_unbind()
Dg_ffs.c41 static struct usb_function_instance *fi_geth; variable
339 fi_geth = usb_get_function_instance("geth"); in gfs_bind()
340 if (IS_ERR(fi_geth)) in gfs_bind()
341 return PTR_ERR(fi_geth); in gfs_bind()
342 geth_opts = container_of(fi_geth, struct f_gether_opts, in gfs_bind()
387 geth_opts = container_of(fi_geth, struct f_gether_opts, in gfs_bind()
443 usb_put_function_instance(fi_geth); in gfs_bind()
469 usb_put_function_instance(fi_geth); in gfs_unbind()
558 f_geth = usb_get_function(fi_geth); in eth_bind_config()