Home
last modified time | relevance | path

Searched refs:usb_buf (Results 1 – 4 of 4) sorted by path

/qemu/hw/usb/
H A Dhcd-dwc2.c275 if (dma_memory_read(&s->dma_as, hcdma, s->usb_buf[chan], tlen, in dwc2_handle_packet()
285 usb_packet_addbuf(&p->packet, s->usb_buf[chan], tlen); in dwc2_handle_packet()
331 if (dma_memory_write(&s->dma_as, hcdma, s->usb_buf[chan], actual, in dwc2_handle_packet()
1439 VMSTATE_UINT8_2DARRAY(usb_buf, DWC2State, DWC2_NB_CHAN,
H A Dhcd-dwc2.h172 uint8_t usb_buf[DWC2_NB_CHAN][DWC2_MAX_XFER_SIZE]; /* one buffer per chan */ member
H A Dhcd-ohci.c946 if (len > sizeof(ohci->usb_buf)) { in ohci_service_td()
947 len = sizeof(ohci->usb_buf); in ohci_service_td()
958 if (ohci_copy_td(ohci, &td, ohci->usb_buf, pktlen, in ohci_service_td()
969 ohci_td_pkt("OUT", ohci->usb_buf, pktlen); in ohci_service_td()
993 usb_packet_addbuf(&ohci->usb_packet, ohci->usb_buf, pktlen); in ohci_service_td()
1011 if (ohci_copy_td(ohci, &td, ohci->usb_buf, ret, in ohci_service_td()
1015 ohci_td_pkt("IN", ohci->usb_buf, pktlen); in ohci_service_td()
2022 VMSTATE_UINT8_ARRAY(usb_buf, OHCIState, 8192),
H A Dhcd-ohci.h91 uint8_t usb_buf[8192]; member