Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/legacy/
H A Dg_ffs.c160 static struct usb_function_instance **fi_ffs; variable
199 fi_ffs = kcalloc(func_num, sizeof(*fi_ffs), GFP_KERNEL); in gfs_init()
200 if (!fi_ffs) { in gfs_init()
206 fi_ffs[i] = usb_get_function_instance("ffs"); in gfs_init()
207 if (IS_ERR(fi_ffs[i])) { in gfs_init()
208 ret = PTR_ERR(fi_ffs[i]); in gfs_init()
212 opts = to_f_fs_opts(fi_ffs[i]); in gfs_init()
231 usb_put_function_instance(fi_ffs[i--]); in gfs_init()
232 kfree(fi_ffs); in gfs_init()
250 usb_put_function_instance(fi_ffs[i]); in gfs_exit()
[all …]