Home
last modified time | relevance | path

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

/external/u-boot/drivers/dfu/
Ddfu.c209 int dfu_flush(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_flush() argument
229 int dfu_write(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_write() argument
234 __func__, dfu->name, buf, size, blk_seq_num, dfu->offset, in dfu_write()
241 if (dfu->i_blk_seq_num != blk_seq_num) { in dfu_write()
243 __func__, dfu->i_blk_seq_num, blk_seq_num); in dfu_write()
348 int dfu_read(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_read() argument
353 __func__, dfu->name, buf, size, blk_seq_num, dfu->i_buf); in dfu_read()
359 if (dfu->i_blk_seq_num != blk_seq_num) { in dfu_read()
361 __func__, dfu->i_blk_seq_num, blk_seq_num); in dfu_read()
/external/u-boot/drivers/usb/gadget/
Df_dfu.c42 int blk_seq_num; member
161 req->actual, f_dfu->blk_seq_num); in dnload_request_complete()
204 if (!(f_dfu->blk_seq_num % in handle_getstatus()
244 req->length, f_dfu->blk_seq_num); in handle_upload()
330 f_dfu->blk_seq_num = w_value; in state_dfu_idle()
335 f_dfu->blk_seq_num = 0; in state_dfu_idle()
428 f_dfu->blk_seq_num = w_value; in state_dfu_dnload_idle()
462 f_dfu->blk_seq_num = 0; in state_dfu_manifest_sync()
489 f_dfu->blk_seq_num = 0; in state_dfu_manifest()
515 f_dfu->blk_seq_num = w_value; in state_dfu_upload_idle()
/external/u-boot/include/
Ddfu.h161 int dfu_read(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
162 int dfu_write(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
163 int dfu_flush(struct dfu_entity *de, void *buf, int size, int blk_seq_num);