Searched refs:fsg_common (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/usb/gadget/function/ |
D | f_mass_storage.h | 61 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,
|
D | f_mass_storage.c | 231 struct fsg_common; 234 struct fsg_common { struct 295 struct fsg_common *common; argument 309 static inline int __fsg_is_set(struct fsg_common *common, in __fsg_is_set() 326 static int exception_in_progress(struct fsg_common *common) in exception_in_progress() 332 static void set_bulk_out_req_length(struct fsg_common *common, in set_bulk_out_req_length() 366 static void __raise_exception(struct fsg_common *common, enum fsg_state new_state, in __raise_exception() 388 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception() 395 static int ep0_queue(struct fsg_common *common) in ep0_queue() 416 struct fsg_common *common = ep->driver_data; in bulk_in_complete() [all …]
|