Home | History | Annotate | Download | only in usb

Lines Matching defs:thislen

598 		uint32_t thislen;
600 thislen = uimin(len, UTOPPY_FRAG_SIZE);
602 memcpy(sc->sc_out_buf, data, thislen);
605 0, timeout, sc->sc_out_buf, &thislen);
607 if (thislen != uimin(len, UTOPPY_FRAG_SIZE)) {
610 device_xname(sc->sc_dev), (u_long)thislen, err));
614 len -= thislen;
615 data += thislen;
631 uint32_t len, thislen, requested, bytesleft;
643 requested = thislen = uimin(bytesleft, UTOPPY_FRAG_SIZE);
647 &thislen);
650 "usbd_bulk_transfer() returned %d, thislen %d, data %p\n",
651 device_xname(sc->sc_dev), err, (u_int)thislen, data));
654 memcpy(data, sc->sc_in_buf, thislen);
655 DDUMP_PACKET(data, thislen);
656 len += thislen;
657 bytesleft -= thislen;
658 data += thislen;
660 } while (err == 0 && bytesleft && thislen == requested);