Lines Matching defs:f_dfu

30 struct f_dfu {  struct
49 typedef int (*dfu_state_fn) (struct f_dfu *, argument
158 struct f_dfu *f_dfu = req->context; in dnload_request_complete() local
171 struct f_dfu *f_dfu = req->context; in dnload_request_flush() local
184 struct f_dfu *f_dfu = req->context; in handle_getstatus() local
219 struct f_dfu *f_dfu = req->context; in handle_getstate() local
225 static inline void to_dfu_mode(struct f_dfu *f_dfu) in to_dfu_mode()
233 static inline void to_runtime_mode(struct f_dfu *f_dfu) in to_runtime_mode()
242 struct f_dfu *f_dfu = req->context; in handle_upload() local
252 struct f_dfu *f_dfu = req->context; in handle_dnload() local
264 static int state_app_idle(struct f_dfu *f_dfu, in state_app_idle()
291 static int state_app_detach(struct f_dfu *f_dfu, in state_app_detach()
314 static int state_dfu_idle(struct f_dfu *f_dfu, in state_dfu_idle()
374 static int state_dfu_dnload_sync(struct f_dfu *f_dfu, in state_dfu_dnload_sync()
397 static int state_dfu_dnbusy(struct f_dfu *f_dfu, in state_dfu_dnbusy()
417 static int state_dfu_dnload_idle(struct f_dfu *f_dfu, in state_dfu_dnload_idle()
451 static int state_dfu_manifest_sync(struct f_dfu *f_dfu, in state_dfu_manifest_sync()
478 static int state_dfu_manifest(struct f_dfu *f_dfu, in state_dfu_manifest()
504 static int state_dfu_upload_idle(struct f_dfu *f_dfu, in state_dfu_upload_idle()
541 static int state_dfu_error(struct f_dfu *f_dfu, in state_dfu_error()
589 struct f_dfu *f_dfu = f->config->cdev->req->context; in dfu_handle() local
624 dfu_prepare_strings(struct f_dfu *f_dfu, int n) in dfu_prepare_strings()
644 static int dfu_prepare_function(struct f_dfu *f_dfu, int n) in dfu_prepare_function()
693 struct f_dfu *f_dfu = func_to_dfu(f); in dfu_bind() local
738 struct f_dfu *f_dfu = func_to_dfu(f); in dfu_unbind() local
765 struct f_dfu *f_dfu = func_to_dfu(f); in dfu_set_alt() local
778 struct f_dfu *f_dfu = func_to_dfu(f); in __dfu_get_alt() local
786 struct f_dfu *f_dfu = func_to_dfu(f); in dfu_disable() local
797 struct f_dfu *f_dfu; in dfu_bind_config() local