Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/gadget/function/
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,
Df_mass_storage.c258 struct fsg_common;
261 struct fsg_common { struct
321 struct fsg_common *common; argument
335 static inline int __fsg_is_set(struct fsg_common *common, in __fsg_is_set()
354 static int exception_in_progress(struct fsg_common *common) in exception_in_progress()
360 static void set_bulk_out_req_length(struct fsg_common *common, in set_bulk_out_req_length()
394 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception()
417 static int ep0_queue(struct fsg_common *common) in ep0_queue()
438 struct fsg_common *common = ep->driver_data; in bulk_in_complete()
454 struct fsg_common *common = ep->driver_data; in bulk_out_complete()
[all …]