Lines Matching refs:len
21 size_t len; member
41 dfu->len = 0; \
54 static int dfu_callback_upload(uint8_t alt, uintptr_t *buffer, uint32_t *len, in dfu_callback_upload() argument
95 *len = length; in dfu_callback_upload()
102 static int dfu_callback_download(uint8_t alt, uintptr_t *buffer, uint32_t *len, in dfu_callback_download() argument
114 VERBOSE("Download %d %lx %x\n", alt, dfu->address, *len); in dfu_callback_download()
116 dfu->address += *len; in dfu_callback_download()
118 if (dfu->address - dfu->base > dfu->len) { in dfu_callback_download()
149 dfu->len = 0; in dfu_callback_manifestation()
167 size_t len) in stm32cubeprog_usb_load() argument
182 dfu_state.len = len; in stm32cubeprog_usb_load()