Lines Matching refs:dfu_entity
98 unsigned char *dfu_get_buf(struct dfu_entity *dfu) in dfu_get_buf()
140 static int dfu_write_buffer_drain(struct dfu_entity *dfu) in dfu_write_buffer_drain()
169 void dfu_transaction_cleanup(struct dfu_entity *dfu) in dfu_transaction_cleanup()
185 int dfu_transaction_initiate(struct dfu_entity *dfu, bool read) in dfu_transaction_initiate()
211 int dfu_flush(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_flush()
231 int dfu_write(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_write()
298 static int dfu_read_buffer_fill(struct dfu_entity *dfu, void *buf, int size) in dfu_read_buffer_fill()
350 int dfu_read(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_read()
387 static int dfu_fill_entity(struct dfu_entity *dfu, char *s, int alt, in dfu_fill_entity()
425 struct dfu_entity *dfu, *p, *t = NULL; in dfu_free_entities()
443 struct dfu_entity *dfu; in dfu_config_entities()
493 struct dfu_entity *dfu; in dfu_show_entities()
509 struct dfu_entity *dfu_get_entity(int alt) in dfu_get_entity()
511 struct dfu_entity *dfu; in dfu_get_entity()
523 struct dfu_entity *dfu; in dfu_get_alt()
558 int dfu_write_from_mem_addr(struct dfu_entity *dfu, void *buf, int size) in dfu_write_from_mem_addr()