Home
last modified time | relevance | path

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

/qemu/hw/usb/
H A Dhcd-ohci.c877 size_t len = 0, pktlen = 0; in ohci_service_td() local
955 pktlen = len; in ohci_service_td()
958 pktlen = (ed->flags & OHCI_ED_MPS_MASK) >> OHCI_ED_MPS_SHIFT; in ohci_service_td()
959 if (pktlen > len) { in ohci_service_td()
960 pktlen = len; in ohci_service_td()
963 if (ohci_copy_td(ohci, &td, ohci->usb_buf, pktlen, in ohci_service_td()
972 trace_usb_ohci_td_pkt_hdr(addr, (int64_t)pktlen, (int64_t)len, str, in ohci_service_td()
974 ohci_td_pkt("OUT", ohci->usb_buf, pktlen); in ohci_service_td()
998 usb_packet_addbuf(&ohci->usb_packet, ohci->usb_buf, pktlen); in ohci_service_td()
1020 ohci_td_pkt("IN", ohci->usb_buf, pktlen); in ohci_service_td()
[all …]
H A Dtrace-events52 usb_ohci_td_pkt_hdr(uint32_t addr, int64_t pktlen, int64_t len, const char *s, int flag_r, uint32_t…
/qemu/hw/hyperv/
H A Dvmbus.c1134 uint32_t totlen, pktlen, msglen, msgoff, desclen; in vmbus_channel_recv_peek() local
1150 pktlen = hdr.len_qwords * sizeof(uint64_t); in vmbus_channel_recv_peek()
1151 totlen = pktlen + VMBUS_PKT_TRAILER; in vmbus_channel_recv_peek()
1157 if (msgoff > pktlen || msgoff < sizeof(hdr)) { in vmbus_channel_recv_peek()
1158 error_report("%s: malformed packet: %u %u", __func__, msgoff, pktlen); in vmbus_channel_recv_peek()
1162 msglen = pktlen - msgoff; in vmbus_channel_recv_peek()