Lines Matching refs:f_ffs
161 static struct usb_function **f_ffs[] = { variable
175 #define N_CONF ARRAY_SIZE(f_ffs)
191 f_ffs[0] = kcalloc(func_num * N_CONF, sizeof(*f_ffs), GFP_KERNEL); in gfs_init()
192 if (!f_ffs[0]) { in gfs_init()
197 f_ffs[i] = f_ffs[0] + i * func_num; in gfs_init()
234 kfree(f_ffs[0]); in gfs_init()
247 kfree(f_ffs[0]); in gfs_exit()
459 usb_put_function(*(f_ffs[0] + i)); in gfs_unbind()
493 f_ffs[gc->num][i] = usb_get_function(fi_ffs[i]); in gfs_do_config()
494 if (IS_ERR(f_ffs[gc->num][i])) { in gfs_do_config()
495 ret = PTR_ERR(f_ffs[gc->num][i]); in gfs_do_config()
498 ret = usb_add_function(c, f_ffs[gc->num][i]); in gfs_do_config()
500 usb_put_function(f_ffs[gc->num][i]); in gfs_do_config()
521 if (!IS_ERR(f_ffs[gc->num][i])) in gfs_do_config()
522 usb_remove_function(c, f_ffs[gc->num][i]); in gfs_do_config()
523 usb_put_function(f_ffs[gc->num][i]); in gfs_do_config()