ffs_data 47 drivers/usb/gadget/function/f_fs.c static void ffs_data_get(struct ffs_data *ffs); ffs_data 48 drivers/usb/gadget/function/f_fs.c static void ffs_data_put(struct ffs_data *ffs); ffs_data 50 drivers/usb/gadget/function/f_fs.c static struct ffs_data *__must_check ffs_data_new(const char *dev_name) ffs_data 54 drivers/usb/gadget/function/f_fs.c static void ffs_data_opened(struct ffs_data *ffs); ffs_data 55 drivers/usb/gadget/function/f_fs.c static void ffs_data_closed(struct ffs_data *ffs); ffs_data 59 drivers/usb/gadget/function/f_fs.c __ffs_data_got_descs(struct ffs_data *ffs, char *data, size_t len); ffs_data 61 drivers/usb/gadget/function/f_fs.c __ffs_data_got_strings(struct ffs_data *ffs, char *data, size_t len); ffs_data 71 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs; ffs_data 88 drivers/usb/gadget/function/f_fs.c ffs_setup_state_clear_cancelled(struct ffs_data *ffs) ffs_data 133 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs; ffs_data 229 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs; ffs_data 233 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs; ffs_data 238 drivers/usb/gadget/function/f_fs.c static int __must_check ffs_epfiles_create(struct ffs_data *ffs); ffs_data 254 drivers/usb/gadget/function/f_fs.c static void ffs_release_dev(struct ffs_data *ffs_data); ffs_data 255 drivers/usb/gadget/function/f_fs.c static int ffs_ready(struct ffs_data *ffs); ffs_data 256 drivers/usb/gadget/function/f_fs.c static void ffs_closed(struct ffs_data *ffs); ffs_data 270 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = req->context; ffs_data 275 drivers/usb/gadget/function/f_fs.c static int __ffs_ep0_queue_wait(struct ffs_data *ffs, char *data, size_t len) ffs_data 312 drivers/usb/gadget/function/f_fs.c static int __ffs_ep0_stall(struct ffs_data *ffs) ffs_data 328 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = file->private_data; ffs_data 467 drivers/usb/gadget/function/f_fs.c static ssize_t __ffs_ep0_read_events(struct ffs_data *ffs, char __user *buf, ffs_data 504 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = file->private_data; ffs_data 607 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = inode->i_private; ffs_data 622 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = file->private_data; ffs_data 633 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = file->private_data; ffs_data 653 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = file->private_data; ffs_data 853 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = io_data->ffs; ffs_data 1425 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = sb->s_fs_info; ffs_data 1456 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs_data; ffs_data 1463 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = data->ffs_data; ffs_data 1468 drivers/usb/gadget/function/f_fs.c data->ffs_data = NULL; ffs_data 1573 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs; ffs_data 1599 drivers/usb/gadget/function/f_fs.c ctx->ffs_data = ffs; ffs_data 1608 drivers/usb/gadget/function/f_fs.c if (ctx->ffs_data) { ffs_data 1609 drivers/usb/gadget/function/f_fs.c ffs_release_dev(ctx->ffs_data); ffs_data 1610 drivers/usb/gadget/function/f_fs.c ffs_data_put(ctx->ffs_data); ffs_data 1692 drivers/usb/gadget/function/f_fs.c static void ffs_data_clear(struct ffs_data *ffs); ffs_data 1693 drivers/usb/gadget/function/f_fs.c static void ffs_data_reset(struct ffs_data *ffs); ffs_data 1695 drivers/usb/gadget/function/f_fs.c static void ffs_data_get(struct ffs_data *ffs) ffs_data 1702 drivers/usb/gadget/function/f_fs.c static void ffs_data_opened(struct ffs_data *ffs) ffs_data 1714 drivers/usb/gadget/function/f_fs.c static void ffs_data_put(struct ffs_data *ffs) ffs_data 1730 drivers/usb/gadget/function/f_fs.c static void ffs_data_closed(struct ffs_data *ffs) ffs_data 1757 drivers/usb/gadget/function/f_fs.c static struct ffs_data *ffs_data_new(const char *dev_name) ffs_data 1759 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL); ffs_data 1786 drivers/usb/gadget/function/f_fs.c static void ffs_data_clear(struct ffs_data *ffs) ffs_data 1805 drivers/usb/gadget/function/f_fs.c static void ffs_data_reset(struct ffs_data *ffs) ffs_data 1838 drivers/usb/gadget/function/f_fs.c static int functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev) ffs_data 1874 drivers/usb/gadget/function/f_fs.c static void functionfs_unbind(struct ffs_data *ffs) ffs_data 1887 drivers/usb/gadget/function/f_fs.c static int ffs_epfiles_create(struct ffs_data *ffs) ffs_data 1963 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; ffs_data 2381 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = priv; ffs_data 2453 drivers/usb/gadget/function/f_fs.c static int __ffs_data_got_descs(struct ffs_data *ffs, ffs_data 2585 drivers/usb/gadget/function/f_fs.c static int __ffs_data_got_strings(struct ffs_data *ffs, ffs_data 2721 drivers/usb/gadget/function/f_fs.c static void __ffs_event_add(struct ffs_data *ffs, ffs_data 2788 drivers/usb/gadget/function/f_fs.c static void ffs_event_add(struct ffs_data *ffs, ffs_data 2799 drivers/usb/gadget/function/f_fs.c static int ffs_ep_addr2idx(struct ffs_data *ffs, u8 endpoint_address) ffs_data 3063 drivers/usb/gadget/function/f_fs.c func->ffs = ffs_opts->dev->ffs_data; ffs_data 3094 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; ffs_data 3275 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = container_of(work, ffs_data 3276 drivers/usb/gadget/function/f_fs.c struct ffs_data, reset_work); ffs_data 3284 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; ffs_data 3328 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; ffs_data 3570 drivers/usb/gadget/function/f_fs.c struct ffs_data *ffs = func->ffs; ffs_data 3706 drivers/usb/gadget/function/f_fs.c if (dev->ffs_data) ffs_data 3707 drivers/usb/gadget/function/f_fs.c dev->ffs_data->private_data = NULL; ffs_data 3736 drivers/usb/gadget/function/f_fs.c static void ffs_release_dev(struct ffs_data *ffs_data) ffs_data 3743 drivers/usb/gadget/function/f_fs.c ffs_dev = ffs_data->private_data; ffs_data 3754 drivers/usb/gadget/function/f_fs.c static int ffs_ready(struct ffs_data *ffs) ffs_data 3773 drivers/usb/gadget/function/f_fs.c ffs_obj->ffs_data = ffs; ffs_data 3787 drivers/usb/gadget/function/f_fs.c static void ffs_closed(struct ffs_data *ffs) ffs_data 3801 drivers/usb/gadget/function/f_fs.c ffs_obj->ffs_data = NULL; ffs_data 40 drivers/usb/gadget/function/u_fs.h struct ffs_data *ffs_data; ffs_data 50 drivers/usb/gadget/function/u_fs.h int (*ffs_ready_callback)(struct ffs_data *ffs); ffs_data 51 drivers/usb/gadget/function/u_fs.h void (*ffs_closed_callback)(struct ffs_data *ffs); ffs_data 141 drivers/usb/gadget/legacy/g_ffs.c static int functionfs_ready_callback(struct ffs_data *ffs); ffs_data 142 drivers/usb/gadget/legacy/g_ffs.c static void functionfs_closed_callback(struct ffs_data *ffs); ffs_data 276 drivers/usb/gadget/legacy/g_ffs.c static int functionfs_ready_callback(struct ffs_data *ffs) ffs_data 300 drivers/usb/gadget/legacy/g_ffs.c static void functionfs_closed_callback(struct ffs_data *ffs)