Lines Matching refs:fi_ffs
160 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()
252 kfree(fi_ffs); in gfs_exit()
493 f_ffs[gc->num][i] = usb_get_function(fi_ffs[i]); in gfs_do_config()