Home
last modified time | relevance | path

Searched refs:dfu_data_worker (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c104 static struct dfu_worker_data_t dfu_data_worker; variable
659 dfu_data_worker.worker_state = dfuIDLE; in dfu_class_handle_to_device()
660 dfu_data_worker.worker_len = setup->wLength; in dfu_class_handle_to_device()
661 memcpy(dfu_data_worker.buf, *data, setup->wLength); in dfu_class_handle_to_device()
666 dfu_data_worker.worker_state = dfuDNLOAD_IDLE; in dfu_class_handle_to_device()
667 dfu_data_worker.worker_len = setup->wLength; in dfu_class_handle_to_device()
669 memcpy(dfu_data_worker.buf, *data, setup->wLength); in dfu_class_handle_to_device()
882 switch (dfu_data_worker.worker_state) { in dfu_work_handler()
896 dfu_flash_write(dfu_data_worker.buf, in dfu_work_handler()
897 dfu_data_worker.worker_len); in dfu_work_handler()