Searched refs:hcdma (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/usb/ |
H A D | hcd-dwc2.c | 229 uint32_t hcdma = s->hreg1[index + 5]; in dwc2_handle_packet() local 274 trace_usb_dwc2_memory_read(hcdma, tlen); in dwc2_handle_packet() 275 if (dma_memory_read(&s->dma_as, hcdma, s->usb_buf[chan], tlen, in dwc2_handle_packet() 283 usb_packet_setup(&p->packet, pid, ep, 0, hcdma, in dwc2_handle_packet() 330 trace_usb_dwc2_memory_write(hcdma, actual); in dwc2_handle_packet() 331 if (dma_memory_write(&s->dma_as, hcdma, s->usb_buf[chan], actual, in dwc2_handle_packet() 351 hcdma += actual; in dwc2_handle_packet() 352 s->hreg1[index + 5] = hcdma; in dwc2_handle_packet()
|
H A D | hcd-dwc2.h | 141 #define hcdma(_ch) hreg1[((_ch) << 3) + 5] /* 514, 534, ... */ macro
|