Home
last modified time | relevance | path

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

/drivers/usb/gadget/legacy/
Dg_ffs.c161 static struct usb_function **f_ffs[] = { variable
175 #define N_CONF ARRAY_SIZE(f_ffs)
193 f_ffs[0] = kcalloc(func_num * N_CONF, sizeof(*f_ffs), GFP_KERNEL); in gfs_init()
194 if (!f_ffs[0]) { in gfs_init()
199 f_ffs[i] = f_ffs[0] + i * func_num; in gfs_init()
236 kfree(f_ffs[0]); in gfs_init()
251 kfree(f_ffs[0]); in gfs_exit()
466 usb_put_function(*(f_ffs[0] + i)); in gfs_unbind()
500 f_ffs[gc->num][i] = usb_get_function(fi_ffs[i]); in gfs_do_config()
501 if (IS_ERR(f_ffs[gc->num][i])) { in gfs_do_config()
[all …]