Home | History | Annotate | Download | only in libusb

Lines Matching full:endpoint

359 	if (iface->endpoint) {
362 clear_endpoint_descriptor(iface->endpoint + i);
363 free(iface->endpoint);
420 dest->endpoint = malloc(alloc_size);
421 if (!dest->endpoint)
423 memset(dest->endpoint, 0, alloc_size);
426 int r = copy_endpoint_descriptor(dest->endpoint + i, &src->endpoint[i]);
736 usbi_dbg("endpoint %x", ep);
751 usbi_dbg("endpoint %x size %d timeout %d", ep, size, timeout);
767 /* libusb-0.1 will strangely fix up a read request from endpoint
768 * 0x01 to be from endpoint 0x81. do the same thing here, but
770 usbi_warn("endpoint %x is missing IN direction bit, fixing");
781 /* libusb-0.1 on BSD strangely fix up a write request to endpoint
782 * 0x81 to be to endpoint 0x01. do the same thing here, but
784 usbi_warn("endpoint %x has excessive IN direction bit, fixing");
796 usbi_dbg("endpoint %x size %d timeout %d", ep, size, timeout);
812 /* libusb-0.1 will strangely fix up a read request from endpoint
813 * 0x01 to be from endpoint 0x81. do the same thing here, but
815 usbi_warn("endpoint %x is missing IN direction bit, fixing");
825 /* libusb-0.1 on BSD strangely fix up a write request to endpoint
826 * 0x81 to be to endpoint 0x01. do the same thing here, but
828 usbi_warn("endpoint %x has excessive IN direction bit, fixing");
888 * getting a descriptor "by endpoint". libusb-1.0 does not provide this