Home
last modified time | relevance | path

Searched defs:dfu (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/dfu/
Ddfu_sf.c14 static int dfu_get_medium_size_sf(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_sf()
21 static int dfu_read_medium_sf(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_sf()
28 static u64 find_sector(struct dfu_entity *dfu, u64 start, u64 offset) in find_sector()
34 static int dfu_write_medium_sf(struct dfu_entity *dfu, in dfu_write_medium_sf()
53 static int dfu_flush_medium_sf(struct dfu_entity *dfu) in dfu_flush_medium_sf()
58 static unsigned int dfu_polltimeout_sf(struct dfu_entity *dfu) in dfu_polltimeout_sf()
63 static void dfu_free_entity_sf(struct dfu_entity *dfu) in dfu_free_entity_sf()
117 int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_sf()
Ddfu.c96 unsigned char *dfu_get_buf(struct dfu_entity *dfu) in dfu_get_buf()
138 static int dfu_write_buffer_drain(struct dfu_entity *dfu) in dfu_write_buffer_drain()
167 void dfu_transaction_cleanup(struct dfu_entity *dfu) in dfu_transaction_cleanup()
183 int dfu_transaction_initiate(struct dfu_entity *dfu, bool read) in dfu_transaction_initiate()
209 int dfu_flush(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_flush()
229 int dfu_write(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_write()
296 static int dfu_read_buffer_fill(struct dfu_entity *dfu, void *buf, int size) in dfu_read_buffer_fill()
348 int dfu_read(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_read()
385 static int dfu_fill_entity(struct dfu_entity *dfu, char *s, int alt, in dfu_fill_entity()
423 struct dfu_entity *dfu, *p, *t = NULL; in dfu_free_entities() local
[all …]
Ddfu_nand.c21 static int nand_block_op(enum dfu_op op, struct dfu_entity *dfu, in nand_block_op()
87 static inline int nand_block_write(struct dfu_entity *dfu, in nand_block_write()
93 static inline int nand_block_read(struct dfu_entity *dfu, in nand_block_read()
99 static int dfu_write_medium_nand(struct dfu_entity *dfu, in dfu_write_medium_nand()
116 int dfu_get_medium_size_nand(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_nand()
123 static int dfu_read_medium_nand(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_nand()
140 static int dfu_flush_medium_nand(struct dfu_entity *dfu) in dfu_flush_medium_nand()
179 unsigned int dfu_polltimeout_nand(struct dfu_entity *dfu) in dfu_polltimeout_nand()
191 int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_nand()
Ddfu_mmc.c22 static int mmc_block_op(enum dfu_op op, struct dfu_entity *dfu, in mmc_block_op()
94 static int mmc_file_buffer(struct dfu_entity *dfu, void *buf, long *len) in mmc_file_buffer()
108 static int mmc_file_op(enum dfu_op op, struct dfu_entity *dfu, in mmc_file_op()
174 int dfu_write_medium_mmc(struct dfu_entity *dfu, in dfu_write_medium_mmc()
195 int dfu_flush_medium_mmc(struct dfu_entity *dfu) in dfu_flush_medium_mmc()
211 int dfu_get_medium_size_mmc(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_mmc()
235 static int mmc_file_unbuffer(struct dfu_entity *dfu, u64 offset, void *buf, in mmc_file_unbuffer()
256 int dfu_read_medium_mmc(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_mmc()
277 void dfu_free_entity_mmc(struct dfu_entity *dfu) in dfu_free_entity_mmc()
298 int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mmc()
Ddfu_ram.c16 static int dfu_transfer_medium_ram(enum dfu_op op, struct dfu_entity *dfu, in dfu_transfer_medium_ram()
37 static int dfu_write_medium_ram(struct dfu_entity *dfu, u64 offset, in dfu_write_medium_ram()
43 int dfu_get_medium_size_ram(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_ram()
50 static int dfu_read_medium_ram(struct dfu_entity *dfu, u64 offset, in dfu_read_medium_ram()
56 int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_ram()
Ddfu_tftp.c17 struct dfu_entity *dfu; in dfu_tftp_write() local
/external/u-boot/include/
Ddfu.h185 static inline void dfu_set_defer_flush(struct dfu_entity *dfu) in dfu_set_defer_flush()
208 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc()
219 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand()
230 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram()
241 static inline int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_sf()
/external/u-boot/drivers/usb/gadget/
Df_dfu.c174 static inline int dfu_get_manifest_timeout(struct dfu_entity *dfu) in dfu_get_manifest_timeout()
184 struct dfu_entity *dfu = dfu_get_entity(f_dfu->altsetting); in handle_getstatus() local