Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/legacy/
H A Dether.c195 static struct usb_function_instance *fi_geth; variable
282 f_geth = usb_get_function(fi_geth); in eth_do_config()
342 fi_geth = usb_get_function_instance("geth"); in eth_bind()
343 if (IS_ERR(fi_geth)) in eth_bind()
344 return PTR_ERR(fi_geth); in eth_bind()
346 geth_opts = container_of(fi_geth, struct f_gether_opts, in eth_bind()
445 usb_put_function_instance(fi_geth); in eth_bind()
463 usb_put_function_instance(fi_geth); in eth_unbind()
H A Dg_ffs.c37 static struct usb_function_instance *fi_geth; variable
329 fi_geth = usb_get_function_instance("geth"); in gfs_bind()
330 if (IS_ERR(fi_geth)) in gfs_bind()
331 return PTR_ERR(fi_geth); in gfs_bind()
332 geth_opts = container_of(fi_geth, struct f_gether_opts, in gfs_bind()
374 geth_opts = container_of(fi_geth, struct f_gether_opts, in gfs_bind()
432 usb_put_function_instance(fi_geth); in gfs_bind()
455 usb_put_function_instance(fi_geth); in gfs_unbind()
544 f_geth = usb_get_function(fi_geth); in eth_bind_config()