Searched refs:f_dfu (Results 1 – 2 of 2) sorted by relevance
29 struct f_dfu { struct48 typedef int (*dfu_state_fn) (struct f_dfu *, argument53 static inline struct f_dfu *func_to_dfu(struct usb_function *f) in func_to_dfu()55 return container_of(f, struct f_dfu, usb_function); in func_to_dfu()157 struct f_dfu *f_dfu = req->context; in dnload_request_complete() local160 ret = dfu_write(dfu_get_entity(f_dfu->altsetting), req->buf, in dnload_request_complete()161 req->actual, f_dfu->blk_seq_num); in dnload_request_complete()163 f_dfu->dfu_status = DFU_STATUS_errUNKNOWN; in dnload_request_complete()164 f_dfu->dfu_state = DFU_STATE_dfuERROR; in dnload_request_complete()170 struct f_dfu *f_dfu = req->context; in dnload_request_flush() local[all …]
11 obj-$(CONFIG_SPL_DFU_SUPPORT) += f_dfu.o27 obj-$(CONFIG_DFU_OVER_USB) += f_dfu.o