Home
last modified time | relevance | path

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

/components/drivers/usb/cherryusb/port/chipidea/
A Dusb_dc_chipidea.c60 volatile uint32_t total_bytes : 15; member
300 static void usb_qtd_init(dcd_qtd_t *p_qtd, void *data_ptr, uint16_t total_bytes) in usb_qtd_init() argument
306 p_qtd->total_bytes = p_qtd->expected_bytes = total_bytes; in usb_qtd_init()
398 qtd_num = (total_bytes + 0x3fff) / 0x4000; in chipidea_start_xfer()
412 if (total_bytes > 0x4000) { in chipidea_start_xfer()
414 total_bytes -= 0x4000; in chipidea_start_xfer()
416 xfer_len = total_bytes; in chipidea_start_xfer()
417 total_bytes = 0; in chipidea_start_xfer()
421 if (total_bytes == 0) { in chipidea_start_xfer()
432 } while (total_bytes > 0); in chipidea_start_xfer()
[all …]
/components/drivers/usb/cherryusb/port/hpmicro/
A Dusb_dc_hpm.c349 transfer_len += p_qtd->expected_bytes - p_qtd->total_bytes; in USBD_IRQHandler()

Completed in 5 milliseconds