Home
last modified time | relevance | path

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

/u-boot/drivers/dfu/
A Ddfu.c35 __weak void dfu_flush_callback(struct dfu_entity *dfu) in dfu_flush_callback()
43 __weak void dfu_initiated_callback(struct dfu_entity *dfu) in dfu_initiated_callback()
99 struct dfu_entity *dfu; in dfu_config_interfaces() local
188 unsigned char *dfu_get_buf(struct dfu_entity *dfu) in dfu_get_buf()
264 void dfu_transaction_cleanup(struct dfu_entity *dfu) in dfu_transaction_cleanup()
531 struct dfu_entity *dfu, *p, *t = NULL; in dfu_free_entities() local
547 int dfu_alt_init(int num, struct dfu_entity **dfu) in dfu_alt_init()
591 struct dfu_entity *dfu; in dfu_config_entities() local
628 struct dfu_entity *dfu; in dfu_show_entities() local
646 struct dfu_entity *dfu; in dfu_get_entity() local
[all …]
A Ddfu_nand.c22 static int nand_block_op(enum dfu_op op, struct dfu_entity *dfu, in nand_block_op()
93 static inline int nand_block_write(struct dfu_entity *dfu, in nand_block_write()
99 static inline int nand_block_read(struct dfu_entity *dfu, in nand_block_read()
105 static int dfu_write_medium_nand(struct dfu_entity *dfu, in dfu_write_medium_nand()
122 int dfu_get_medium_size_nand(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_nand()
129 static int dfu_read_medium_nand(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_nand()
146 static int dfu_flush_medium_nand(struct dfu_entity *dfu) in dfu_flush_medium_nand()
185 unsigned int dfu_polltimeout_nand(struct dfu_entity *dfu) in dfu_polltimeout_nand()
197 int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_nand()
A Ddfu_sf.c17 static int dfu_get_medium_size_sf(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_sf()
24 static int dfu_read_medium_sf(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_sf()
31 static u64 find_sector(struct dfu_entity *dfu, u64 start, u64 offset) in find_sector()
37 static int dfu_write_medium_sf(struct dfu_entity *dfu, in dfu_write_medium_sf()
56 static int dfu_flush_medium_sf(struct dfu_entity *dfu) in dfu_flush_medium_sf()
75 static unsigned int dfu_polltimeout_sf(struct dfu_entity *dfu) in dfu_polltimeout_sf()
88 static void dfu_free_entity_sf(struct dfu_entity *dfu) in dfu_free_entity_sf()
142 int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_sf()
A Ddfu_mmc.c25 static int mmc_block_op(enum dfu_op op, struct dfu_entity *dfu, in mmc_block_op()
97 static int mmc_file_op(enum dfu_op op, struct dfu_entity *dfu, in mmc_file_op()
160 static int mmc_file_buf_write(struct dfu_entity *dfu, u64 offset, void *buf, long *len) in mmc_file_buf_write()
185 static int mmc_file_buf_write_finish(struct dfu_entity *dfu) in mmc_file_buf_write_finish()
197 int dfu_write_medium_mmc(struct dfu_entity *dfu, in dfu_write_medium_mmc()
224 int dfu_flush_medium_mmc(struct dfu_entity *dfu) in dfu_flush_medium_mmc()
248 int dfu_get_medium_size_mmc(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_mmc()
273 static int mmc_file_buf_read(struct dfu_entity *dfu, u64 offset, void *buf, in mmc_file_buf_read()
298 int dfu_read_medium_mmc(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_mmc()
319 void dfu_free_entity_mmc(struct dfu_entity *dfu) in dfu_free_entity_mmc()
[all …]
A Ddfu_ram.c17 static int dfu_transfer_medium_ram(enum dfu_op op, struct dfu_entity *dfu, in dfu_transfer_medium_ram()
38 static int dfu_write_medium_ram(struct dfu_entity *dfu, u64 offset, in dfu_write_medium_ram()
44 int dfu_get_medium_size_ram(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_ram()
51 static int dfu_read_medium_ram(struct dfu_entity *dfu, u64 offset, in dfu_read_medium_ram()
57 int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_ram()
A Ddfu_virt.c11 int __weak dfu_write_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_write_medium_virt()
19 int __weak dfu_get_medium_size_virt(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_virt()
26 int __weak dfu_read_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_read_medium_virt()
35 int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_virt()
A Ddfu_mtd.c21 static int mtd_block_op(enum dfu_op op, struct dfu_entity *dfu, in mtd_block_op()
159 static int dfu_get_medium_size_mtd(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_mtd()
166 static int dfu_read_medium_mtd(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_mtd()
183 static int dfu_write_medium_mtd(struct dfu_entity *dfu, in dfu_write_medium_mtd()
200 static int dfu_flush_medium_mtd(struct dfu_entity *dfu) in dfu_flush_medium_mtd()
238 static unsigned int dfu_polltimeout_mtd(struct dfu_entity *dfu) in dfu_polltimeout_mtd()
251 int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, char *s) in dfu_fill_entity_mtd()
A Ddfu_alt.c31 struct dfu_entity *dfu; in dfu_write_by_name() local
96 struct dfu_entity *dfu; in dfu_write_by_alt() local
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
A Dstm32prog_usb.c126 int stm32prog_write_medium_virt(struct dfu_entity *dfu, u64 offset, in stm32prog_write_medium_virt()
148 int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset, in stm32prog_read_medium_virt()
170 int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size) in stm32prog_get_medium_size_virt()
A Dstm32prog.c999 struct dfu_entity *dfu, in stm32prog_alt_add()
1110 static int stm32prog_alt_add_virt(struct dfu_entity *dfu, in stm32prog_alt_add_virt()
1130 struct dfu_entity *dfu; in dfu_init_entities() local
1408 struct dfu_entity *dfu; in stm32prog_copy_fsbl() local
1713 void dfu_flush_callback(struct dfu_entity *dfu) in dfu_flush_callback()
1743 void dfu_initiated_callback(struct dfu_entity *dfu) in dfu_initiated_callback()
/u-boot/board/st/common/
A Dstm32mp_dfu.c211 int dfu_read_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_read_medium_virt()
229 int dfu_write_medium_virt(struct dfu_entity *dfu, u64 offset, in dfu_write_medium_virt()
239 int __weak dfu_get_medium_size_virt(struct dfu_entity *dfu, u64 *size) in dfu_get_medium_size_virt()
/u-boot/include/
A Ddfu.h410 static inline void dfu_set_defer_flush(struct dfu_entity *dfu) in dfu_set_defer_flush()
433 static inline int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mmc()
444 static inline int dfu_fill_entity_nand(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_nand()
455 static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_ram()
466 static inline int dfu_fill_entity_sf(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_sf()
477 static inline int dfu_fill_entity_mtd(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_mtd()
493 static inline int dfu_fill_entity_virt(struct dfu_entity *dfu, char *devstr, in dfu_fill_entity_virt()
/u-boot/drivers/usb/gadget/
A Df_dfu.c176 static inline int dfu_get_manifest_timeout(struct dfu_entity *dfu) in dfu_get_manifest_timeout()
186 struct dfu_entity *dfu = dfu_get_entity(f_dfu->altsetting); in handle_getstatus() local
/u-boot/lib/efi_loader/
A Defi_firmware.c127 struct dfu_entity *dfu; in efi_get_dfu_info() local

Completed in 21 milliseconds