Lines Matching defs:dfu_entity
116 struct dfu_entity { struct
133 int (*get_medium_size)(struct dfu_entity *dfu, u64 *size); argument
135 int (*read_medium)(struct dfu_entity *dfu, argument
138 int (*write_medium)(struct dfu_entity *dfu, argument
141 int (*flush_medium)(struct dfu_entity *dfu); argument
142 unsigned int (*poll_timeout)(struct dfu_entity *dfu); argument
144 void (*free_entity)(struct dfu_entity *dfu); argument
146 struct list_head list;
149 u32 crc;
150 u64 offset;
151 int i_blk_seq_num;
152 u8 *i_buf;
153 u8 *i_buf_start;
154 u8 *i_buf_end;
155 u64 r_left;
156 long b_left;
158 u32 bad_skip; /* for nand use */
160 unsigned int inited:1;