Lines Matching refs:dfu_entity

96 struct dfu_entity {  struct
111 int (*get_medium_size)(struct dfu_entity *dfu, u64 *size); argument
113 int (*read_medium)(struct dfu_entity *dfu, argument
116 int (*write_medium)(struct dfu_entity *dfu, argument
119 int (*flush_medium)(struct dfu_entity *dfu); argument
120 unsigned int (*poll_timeout)(struct dfu_entity *dfu); argument
122 void (*free_entity)(struct dfu_entity *dfu); argument
150 struct dfu_entity *dfu_get_entity(int alt); argument
155 unsigned char *dfu_get_buf(struct dfu_entity *dfu);
160 int dfu_read(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
161 int dfu_write(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
162 int dfu_flush(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
168 extern struct dfu_entity *dfu_defer_flush;
174 static inline struct dfu_entity *dfu_get_defer_flush(void) in dfu_get_defer_flush()
184 static inline void dfu_set_defer_flush(struct dfu_entity *dfu) in dfu_set_defer_flush()
201 int dfu_write_from_mem_addr(struct dfu_entity *dfu, void *buf, int size);
205 extern int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s);
207 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc()
216 extern int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s);
218 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand()
227 extern int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s);
229 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram()
238 extern int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s);
240 static inline int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_sf()