Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/gadget/function/
Df_mass_storage.h60 struct fsg_common;
71 int (*thread_exits)(struct fsg_common *common);
81 struct fsg_common *common;
127 void fsg_common_get(struct fsg_common *common);
129 void fsg_common_put(struct fsg_common *common);
131 void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs);
133 int fsg_common_set_num_buffers(struct fsg_common *common, unsigned int n);
135 void fsg_common_free_buffers(struct fsg_common *common);
137 int fsg_common_set_cdev(struct fsg_common *common,
142 void fsg_common_remove_luns(struct fsg_common *common);
[all …]
Df_mass_storage.c255 struct fsg_common;
258 struct fsg_common { struct
326 struct fsg_common *common; argument
340 static inline int __fsg_is_set(struct fsg_common *common, in __fsg_is_set()
359 static int exception_in_progress(struct fsg_common *common) in exception_in_progress()
365 static void set_bulk_out_req_length(struct fsg_common *common, in set_bulk_out_req_length()
400 static void wakeup_thread(struct fsg_common *common) in wakeup_thread()
409 static void raise_exception(struct fsg_common *common, enum fsg_state new_state) in raise_exception()
432 static int ep0_queue(struct fsg_common *common) in ep0_queue()
453 struct fsg_common *common = ep->driver_data; in bulk_in_complete()
[all …]
/linux-4.1.27/drivers/usb/gadget/legacy/
Dmass_storage.c127 static int msg_thread_exits(struct fsg_common *common) in msg_thread_exits()