Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/function/
H A Df_mass_storage.h61 struct fsg_common;
71 struct fsg_common *common;
118 void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs);
120 int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n);
122 void fsg_common_free_buffers(struct fsg_common *common);
124 int fsg_common_set_cdev(struct fsg_common *common,
129 void fsg_common_remove_luns(struct fsg_common *common);
131 int fsg_common_create_lun(struct fsg_common *common, struct fsg_lun_config *cfg,
135 int fsg_common_create_luns(struct fsg_common *common, struct fsg_config *cfg);
137 void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
H A Df_mass_storage.c231 struct fsg_common;
234 struct fsg_common { struct
295 struct fsg_common *common; argument
416 struct fsg_common *common = ep->driver_data; in bulk_in_complete()
432 struct fsg_common *common = ep->driver_data; in bulk_out_complete()
2186 struct fsg_common *common = fsg->common; in received_cbw()
2563 struct fsg_common *common = common_; in fsg_main_thread()
2699 static struct fsg_common *fsg_common_setup(struct fsg_common *common) in fsg_common_setup()
3026 struct fsg_common *common = fsg->common; in fsg_bind()
3126 struct fsg_common *common = fsg->common; in fsg_unbind()
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c288 struct fsg_common;
291 struct fsg_common { struct
372 struct fsg_common *common;
2432 static struct fsg_common *fsg_common_init(struct fsg_common *common, in fsg_common_init()
2550 struct fsg_common *common = container_of(ref, struct fsg_common, ref); in fsg_common_release()
2744 struct fsg_common *fsg_common; in fsg_add() local
2748 fsg_common->vendor_name = 0; in fsg_add()
2749 fsg_common->product_name = 0; in fsg_add()
2750 fsg_common->release = 0xffff; in fsg_add()
2752 fsg_common->ops = NULL; in fsg_add()
[all …]