Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c61 static struct usb_function_instance *fi_tcm; variable
76 f_tcm = usb_get_function(fi_tcm); in tcm_do_config()
144 fi_tcm = usb_get_function_instance("tcm"); in usb_target_gadget_init()
145 if (IS_ERR(fi_tcm)) in usb_target_gadget_init()
146 return PTR_ERR(fi_tcm); in usb_target_gadget_init()
148 tcm_opts = container_of(fi_tcm, struct f_tcm_opts, func_inst); in usb_target_gadget_init()
157 fi_tcm->set_inst_name(fi_tcm, "tcm-legacy"); in usb_target_gadget_init()
165 if (!IS_ERR_OR_NULL(fi_tcm)) in usb_target_gadget_exit()
166 usb_put_function_instance(fi_tcm); in usb_target_gadget_exit()