Home
last modified time | relevance | path

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

/qemu/hw/usb/
H A Dhcd-dwc2.c228 uint32_t hctsiz = s->hreg1[index + 4]; in dwc2_handle_packet() local
238 pid = get_field(hctsiz, TSIZ_SC_MC_PID); in dwc2_handle_packet()
239 pcnt = get_field(hctsiz, TSIZ_PKTCNT); in dwc2_handle_packet()
240 len = get_field(hctsiz, TSIZ_XFERSIZE); in dwc2_handle_packet()
347 set_field(&hctsiz, pcnt, TSIZ_PKTCNT); in dwc2_handle_packet()
349 set_field(&hctsiz, len, TSIZ_XFERSIZE); in dwc2_handle_packet()
350 s->hreg1[index + 4] = hctsiz; in dwc2_handle_packet()
616 uint32_t hctsiz; in dwc2_enable_chan() local
623 hctsiz = s->hreg1[index + 4]; in dwc2_enable_chan()
628 pid = get_field(hctsiz, TSIZ_SC_MC_PID); in dwc2_enable_chan()
[all …]
H A Dhcd-dwc2.h140 #define hctsiz(_ch) hreg1[((_ch) << 3) + 4] /* 510, 530, ... */ macro