Home
last modified time | relevance | path

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

/external/u-boot/drivers/dfu/
Ddfu.c29 __weak void dfu_flush_callback(struct dfu_entity *dfu) in dfu_flush_callback()
37 __weak void dfu_initiated_callback(struct dfu_entity *dfu) in dfu_initiated_callback()
81 struct dfu_entity *dfu; in dfu_config_interfaces() local
168 unsigned char *dfu_get_buf(struct dfu_entity *dfu) in dfu_get_buf()
215 static int dfu_write_buffer_drain(struct dfu_entity *dfu) in dfu_write_buffer_drain()
244 void dfu_transaction_cleanup(struct dfu_entity *dfu) in dfu_transaction_cleanup()
260 int dfu_transaction_initiate(struct dfu_entity *dfu, bool read) in dfu_transaction_initiate()
287 int dfu_flush(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_flush()
309 int dfu_write(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num) in dfu_write()
376 static int dfu_read_buffer_fill(struct dfu_entity *dfu, void *buf, int size) in dfu_read_buffer_fill()
[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_sf.c16 static int dfu_get_medium_size_sf(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_sf()
23 static int dfu_read_medium_sf(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_sf()
30 static u64 find_sector(struct dfu_entity *dfu, u64 start, u64 offset) in find_sector()
36 static int dfu_write_medium_sf(struct dfu_entity *dfu, in dfu_write_medium_sf()
55 static int dfu_flush_medium_sf(struct dfu_entity *dfu) in dfu_flush_medium_sf()
74 static unsigned int dfu_polltimeout_sf(struct dfu_entity *dfu) in dfu_polltimeout_sf()
87 static void dfu_free_entity_sf(struct dfu_entity *dfu) in dfu_free_entity_sf()
141 int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_sf()
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()
169 int dfu_write_medium_mmc(struct dfu_entity *dfu, in dfu_write_medium_mmc()
190 int dfu_flush_medium_mmc(struct dfu_entity *dfu) in dfu_flush_medium_mmc()
206 int dfu_get_medium_size_mmc(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_mmc()
230 static int mmc_file_unbuffer(struct dfu_entity *dfu, u64 offset, void *buf, in mmc_file_unbuffer()
251 int dfu_read_medium_mmc(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_mmc()
272 void dfu_free_entity_mmc(struct dfu_entity *dfu) in dfu_free_entity_mmc()
293 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_virt.c10 int __weak dfu_write_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_write_medium_virt()
18 int __weak dfu_get_medium_size_virt(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_virt()
25 int __weak dfu_read_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_read_medium_virt()
34 int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_virt()
Ddfu_mtd.c20 static int mtd_block_op(enum dfu_op op, struct dfu_entity *dfu, in mtd_block_op()
144 static int dfu_get_medium_size_mtd(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_mtd()
151 static int dfu_read_medium_mtd(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_mtd()
168 static int dfu_write_medium_mtd(struct dfu_entity *dfu, in dfu_write_medium_mtd()
185 static int dfu_flush_medium_mtd(struct dfu_entity *dfu) in dfu_flush_medium_mtd()
223 static unsigned int dfu_polltimeout_mtd(struct dfu_entity *dfu) in dfu_polltimeout_mtd()
236 int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mtd()
Ddfu_tftp.c17 struct dfu_entity *dfu; in dfu_tftp_write() local
/external/u-boot/include/
Ddfu.h228 static inline void dfu_set_defer_flush(struct dfu_entity *dfu) in dfu_set_defer_flush()
251 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc()
262 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand()
273 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram()
284 static inline int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_sf()
295 static inline int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mtd()
311 static inline int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_virt()
/external/u-boot/board/st/stm32mp1/
Dstm32mp1.c1060 int dfu_read_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_read_medium_virt()
1073 int __weak dfu_get_medium_size_virt(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_virt()
/external/u-boot/drivers/usb/gadget/
Df_dfu.c175 static inline int dfu_get_manifest_timeout(struct dfu_entity *dfu) in dfu_get_manifest_timeout()
185 struct dfu_entity *dfu = dfu_get_entity(f_dfu->altsetting); in handle_getstatus() local