/external/u-boot/drivers/dfu/ |
D | dfu.c | 29 __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 …]
|
D | dfu_nand.c | 21 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()
|
D | dfu_sf.c | 16 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()
|
D | dfu_mmc.c | 22 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()
|
D | dfu_ram.c | 16 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()
|
D | dfu_virt.c | 10 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()
|
D | dfu_mtd.c | 20 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()
|
D | dfu_tftp.c | 17 struct dfu_entity *dfu; in dfu_tftp_write() local
|
/external/u-boot/include/ |
D | dfu.h | 228 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/ |
D | stm32mp1.c | 1060 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/ |
D | f_dfu.c | 175 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
|