Lines Matching refs:pktlen
877 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()
1022 ret = pktlen; in ohci_service_td()
1027 if (ret == pktlen || (dir == OHCI_TD_DIR_IN && ret >= 0 && flag_r)) { in ohci_service_td()