Lines Matching +full:usb +full:- +full:switch
1 // SPDX-License-Identifier: GPL-2.0
3 * Common USB debugging functions
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
12 #include <linux/usb/ch9.h>
17 switch (bRequestType & USB_RECIP_MASK) { in usb_decode_get_status()
36 switch (wValue) { in usb_decode_device_feature()
56 switch (wIndex) { in usb_decode_test_mode()
76 switch (bRequestType & USB_RECIP_MASK) { in usb_decode_set_clear_feature()
111 switch (wValue >> 8) { in usb_decode_get_set_descriptor()
234 switch (bRequest) { in usb_decode_ctrl_standard()
280 * usb_decode_ctrl - Returns human readable representation of control request.
281 * @str: buffer to return a human-readable representation of control request.
284 * @bRequestType: matches the USB bmRequestType field
285 * @bRequest: matches the USB bRequest field
286 * @wValue: matches the USB wValue field (CPU byte order)
287 * @wIndex: matches the USB wIndex field (CPU byte order)
288 * @wLength: matches the USB wLength field (CPU byte order)
290 * Function returns decoded, formatted and human-readable description of
304 switch (bRequestType & USB_TYPE_MASK) { in usb_decode_ctrl()