Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Df_tcm.c35 static struct tpg_instance tpg_instances[TPG_INSTANCES]; variable
1330 if (tpg_instances[i].func_inst && !tpg_instances[i].tpg) in usbg_make_tpg()
1335 opts = container_of(tpg_instances[i].func_inst, struct f_tcm_opts, in usbg_make_tpg()
1373 tpg_instances[i].tpg = tpg; in usbg_make_tpg()
1374 tpg->fi = tpg_instances[i].func_inst; in usbg_make_tpg()
1411 if (tpg_instances[i].tpg == tpg) in usbg_drop_tpg()
1414 tpg_instances[i].tpg = NULL; in usbg_drop_tpg()
1415 opts = container_of(tpg_instances[i].func_inst, in usbg_drop_tpg()
2134 if (tpg_instances[i].func_inst == f) in tcm_free_inst()
2137 tpg_instances[i].func_inst = NULL; in tcm_free_inst()
[all …]