Lines Matching +full:min +full:- +full:x
6 * SPDX-License-Identifier: Apache-2.0
75 LOG_DBG("ep 0x%x, bytes to read %d ", ep, bytes_to_read); in loopback_out_cb()
82 LOG_DBG("ep 0x%x", ep); in loopback_in_cb()
128 LOG_DBG("Class request: bRequest 0x%x bmRequestType 0x%x len %d", in loopback_vendor_handler()
129 setup->bRequest, setup->bmRequestType, *len); in loopback_vendor_handler()
131 if (setup->RequestType.recipient != USB_REQTYPE_RECIPIENT_DEVICE) { in loopback_vendor_handler()
132 return -ENOTSUP; in loopback_vendor_handler()
136 setup->bRequest == 0x5b) { in loopback_vendor_handler()
137 LOG_DBG("Host-to-Device, data %p", *data); in loopback_vendor_handler()
140 * it later in control device-to-host transfer. in loopback_vendor_handler()
143 MIN(sizeof(loopback_buf), setup->wLength)); in loopback_vendor_handler()
148 (setup->bRequest == 0x5c)) { in loopback_vendor_handler()
149 LOG_DBG("Device-to-Host, wLength %d, data %p", in loopback_vendor_handler()
150 setup->wLength, *data); in loopback_vendor_handler()
152 *len = MIN(sizeof(loopback_buf), setup->wLength); in loopback_vendor_handler()
156 return -ENOTSUP; in loopback_vendor_handler()