Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c142 struct f_tcm_opts *tcm_opts; in usb_target_gadget_init() local
148 tcm_opts = container_of(fi_tcm, struct f_tcm_opts, func_inst); in usb_target_gadget_init()
149 mutex_lock(&tcm_opts->dep_lock); in usb_target_gadget_init()
150 tcm_opts->tcm_register_callback = usbg_attach; in usb_target_gadget_init()
151 tcm_opts->tcm_unregister_callback = usbg_detach; in usb_target_gadget_init()
152 tcm_opts->dependent = THIS_MODULE; in usb_target_gadget_init()
153 tcm_opts->can_attach = true; in usb_target_gadget_init()
154 tcm_opts->has_dep = true; in usb_target_gadget_init()
155 mutex_unlock(&tcm_opts->dep_lock); in usb_target_gadget_init()