Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/legacy/
H A Dncm.c88 static struct usb_function_instance *f_ncm_inst; variable
104 f_ncm = usb_get_function(f_ncm_inst); in ncm_do_config()
133 f_ncm_inst = usb_get_function_instance("ncm"); in gncm_bind()
134 if (IS_ERR(f_ncm_inst)) in gncm_bind()
135 return PTR_ERR(f_ncm_inst); in gncm_bind()
137 ncm_opts = container_of(f_ncm_inst, struct f_ncm_opts, func_inst); in gncm_bind()
182 usb_put_function_instance(f_ncm_inst); in gncm_bind()
190 if (!IS_ERR_OR_NULL(f_ncm_inst)) in gncm_unbind()
191 usb_put_function_instance(f_ncm_inst); in gncm_unbind()