• Home
  • Raw
  • Download

Lines Matching refs:dfu_entity

97 struct dfu_entity {  struct
112 int (*get_medium_size)(struct dfu_entity *dfu, u64 *size); argument
114 int (*read_medium)(struct dfu_entity *dfu, argument
117 int (*write_medium)(struct dfu_entity *dfu, argument
120 int (*flush_medium)(struct dfu_entity *dfu); argument
121 unsigned int (*poll_timeout)(struct dfu_entity *dfu); argument
123 void (*free_entity)(struct dfu_entity *dfu); argument
151 struct dfu_entity *dfu_get_entity(int alt); argument
156 unsigned char *dfu_get_buf(struct dfu_entity *dfu);
161 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);
169 extern struct dfu_entity *dfu_defer_flush;
175 static inline struct dfu_entity *dfu_get_defer_flush(void) in dfu_get_defer_flush()
185 static inline void dfu_set_defer_flush(struct dfu_entity *dfu) in dfu_set_defer_flush()
202 int dfu_write_from_mem_addr(struct dfu_entity *dfu, void *buf, int size);
206 extern int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s);
208 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc()
217 extern int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s);
219 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand()
228 extern int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s);
230 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram()
239 extern int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s);
241 static inline int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_sf()