/linux-master/drivers/usb/common/ |
H A D | debug.c | 34 static const char *usb_decode_device_feature(u16 wValue) argument 36 switch (wValue) { 73 __u8 bRequest, __u16 wValue, 80 usb_decode_device_feature(wValue), 81 wValue == USB_DEVICE_TEST_MODE ? 87 wValue == USB_INTRF_FUNC_SUSPEND ? 93 wValue == USB_ENDPOINT_HALT ? "Halt" : "UNKNOWN", 100 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) argument 102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); 106 __u16 wValue, __u1 72 usb_decode_set_clear_feature(__u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, char *str, size_t size) argument 105 usb_decode_get_set_descriptor(__u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength, char *str, size_t size) argument 175 usb_decode_set_configuration(__u8 wValue, char *str, size_t size) argument 187 usb_decode_set_intf(__u8 wValue, __u16 wIndex, char *str, size_t size) argument 206 usb_decode_set_isoch_delay(__u8 wValue, char *str, size_t size) argument 211 usb_decode_ctrl_generic(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) argument 230 usb_decode_ctrl_standard(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) argument 300 usb_decode_ctrl(char *str, size_t size, __u8 bRequestType, __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) argument [all...] |
/linux-master/include/linux/usb/ |
H A D | ch9.h | 56 __u8 bRequest, __u16 wValue, __u16 wIndex,
|
H A D | chipidea.h | 96 int (*hub_control)(struct ci_hdrc *ci, u16 typeReq, u16 wValue,
|
/linux-master/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 169 u16 wIndex, u16 wValue) 192 u16 wIndex, u16 wValue) 211 u16 wIndex, u16 wValue, 217 is_set ? "SET" : "CLEAR", wValue); 219 if (wValue == USB_DEVICE_REMOTE_WAKEUP) { 226 if (wValue == USB_DEVICE_TEST_MODE) { 239 u16 wIndex, u16 wValue, 247 is_set ? "SET" : "CLEAR", ep_num, wValue); 251 if (wValue != USB_ENDPOINT_HALT) 404 u16 wValue, wInde local 168 ast_vhub_hub_dev_status(struct ast_vhub_ep *ep, u16 wIndex, u16 wValue) argument 191 ast_vhub_hub_ep_status(struct ast_vhub_ep *ep, u16 wIndex, u16 wValue) argument 210 ast_vhub_hub_dev_feature(struct ast_vhub_ep *ep, u16 wIndex, u16 wValue, bool is_set) argument 238 ast_vhub_hub_ep_feature(struct ast_vhub_ep *ep, u16 wIndex, u16 wValue, bool is_set) argument 768 u16 wValue, wIndex, wLength; local [all...] |
H A D | dev.c | 109 u16 wIndex, u16 wValue, 115 is_set ? "SET" : "CLEAR", wValue); 117 if (wValue == USB_DEVICE_REMOTE_WAKEUP) { 122 if (wValue == USB_DEVICE_TEST_MODE) { 135 u16 wIndex, u16 wValue, bool is_set) 142 is_set ? "SET" : "CLEAR", ep_num, wValue); 147 if (wValue != USB_ENDPOINT_HALT) 167 u16 wIndex, u16 wValue) 181 u16 wIndex, u16 wValue) 221 u16 wValue, wInde local 108 ast_vhub_dev_feature(struct ast_vhub_dev *d, u16 wIndex, u16 wValue, bool is_set) argument 134 ast_vhub_ep_feature(struct ast_vhub_dev *d, u16 wIndex, u16 wValue, bool is_set) argument 166 ast_vhub_dev_status(struct ast_vhub_dev *d, u16 wIndex, u16 wValue) argument 180 ast_vhub_ep_status(struct ast_vhub_dev *d, u16 wIndex, u16 wValue) argument [all...] |
/linux-master/drivers/usb/cdns3/ |
H A D | cdnsp-ep0.c | 60 cfg = le16_to_cpu(ctrl->wValue); 93 addr = le16_to_cpu(ctrl->wValue); 107 pdev->device_address = le16_to_cpu(ctrl->wValue); 213 switch (le16_to_cpu(ctrl->wValue)) { 267 u16 wValue, wIndex; local 270 wValue = le16_to_cpu(ctrl->wValue); 273 switch (wValue) { 302 u16 wValue; local 304 wValue [all...] |
H A D | cdns3-ep0.c | 140 u32 config = le16_to_cpu(ctrl_req->wValue); 187 addr = le16_to_cpu(ctrl_req->wValue); 281 u32 wValue; local 284 wValue = le16_to_cpu(ctrl->wValue); 288 switch (wValue) { 341 u32 wValue; local 344 wValue = le16_to_cpu(ctrl->wValue); 346 switch (wValue) { [all...] |
/linux-master/include/linux/ |
H A D | usbdevice_fs.h | 40 u16 wValue; member in struct:usbdevfs_ctrltransfer32
|
/linux-master/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-ep0.c | 124 u32 config = le16_to_cpu(ctrl_req->wValue); 217 u32 wValue; local 220 wValue = le16_to_cpu(ctrl->wValue); 224 switch (wValue) { 268 u32 wValue; local 270 wValue = le16_to_cpu(ctrl->wValue); 272 switch (wValue) { 287 u8 wValue; local [all...] |
/linux-master/drivers/usb/musb/ |
H A D | musb_virthub.c | 263 u16 wValue, 288 switch (wValue) { 300 switch (wValue) { 319 musb_dbg(musb, "clear feature %d", wValue); 320 musb->port1_status &= ~(1 << wValue); 360 switch (wValue) { 424 musb_dbg(musb, "set feature %d", wValue); 425 musb->port1_status |= 1 << wValue; 260 musb_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
H A D | musb_gadget_ep0.c | 220 musb->address = (u8) (ctrlrequest->wValue & 0x7f); 227 if (ctrlrequest->wValue 246 ctrlrequest->wValue != USB_ENDPOINT_HALT) 303 switch (ctrlrequest->wValue) { 406 ctrlrequest->wValue != USB_ENDPOINT_HALT) 588 le16_to_cpu(req->wValue),
|
/linux-master/drivers/usb/c67x00/ |
H A D | c67x00-hcd.c | 66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument 113 switch (wValue) { 128 switch (wValue) { 148 __func__, port, wValue); local 157 switch (wValue) { 209 __func__, port, wValue); local
|
/linux-master/drivers/usb/host/ |
H A D | fhci-hub.c | 201 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument 216 switch (wValue) { 225 fhci->vroot_hub->feature &= (1 << wValue); 227 switch (wValue) { 285 switch (wValue) { 294 fhci->vroot_hub->feature |= (1 << wValue); 296 switch (wValue) {
|
H A D | ohci-s3c2410.c | 163 u16 wValue, 175 hcd, typeReq, wValue, wIndex, buf, wLength); 181 ret = ohci_hub_control(hcd, typeReq, wValue, 190 if (wValue == USB_PORT_FEAT_POWER) { 198 switch (wValue) { 231 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); 160 ohci_s3c2410_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument
|
H A D | uhci-hub.c | 243 static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument 319 switch (wValue) { 331 switch (wValue) { 356 switch (wValue) {
|
/linux-master/drivers/usb/dwc3/ |
H A D | ep0.c | 346 value = le16_to_cpu(ctrl->wValue); 478 u32 wValue; local 482 wValue = le16_to_cpu(ctrl->wValue); 486 switch (wValue) { 519 u32 wValue; local 522 wValue = le16_to_cpu(ctrl->wValue); 524 switch (wValue) { 539 u32 wValue; local 773 u16 wValue; local [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | usb.c | 24 __le16 wValue; member in struct:gb_usb_hub_control_request 98 static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, argument 121 request->wValue = cpu_to_le16(wValue);
|
/linux-master/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 34 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, 315 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, argument 335 usbip_dbg_vhci_rh("typeReq %x wValue %x wIndex %x\n", typeReq, wValue, 373 switch (wValue) { 398 wValue); 399 if (wValue >= 32) 401 vhci_hcd->port_status[rhport] &= ~(1 << wValue); 409 wValue != (USB_DT_SS_HUB << 8))) { 422 if ((wValue >> [all...] |
/linux-master/drivers/usb/mtu3/ |
H A D | mtu3_trace.h | 94 __field(__u16, wValue) 101 __entry->wValue = le16_to_cpu(setup->wValue); 107 __entry->wValue, __entry->wIndex, __entry->wLength
|
/linux-master/drivers/usb/chipidea/ |
H A D | host.c | 243 u16 wValue, 266 retval = ci->platdata->hub_control(ci, typeReq, wValue, wIndex, 272 if (typeReq == SetPortFeature && wValue == USB_PORT_FEAT_SUSPEND) { 315 wValue == USB_PORT_FEAT_C_SUSPEND) { 324 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); 240 ci_ehci_hub_control( struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength ) argument
|
/linux-master/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 779 req.wValue = usbhsh_device_number(hpriv, udev); 780 dev_dbg(dev, "create new address - %d\n", req.wValue); 1092 u16 typeReq, u16 wValue, 1098 switch (wValue) { 1109 u16 typeReq, u16 wValue, 1122 /* check wValue */ 1123 switch (wValue) { 1186 usbhsh_port_stat_set(hpriv, (1 << wValue)); 1188 usbhsh_port_stat_clear(hpriv, (1 << wValue)); 1194 u16 typeReq, u16 wValue, 1091 __usbhsh_hub_hub_feature(struct usbhsh_hpriv *hpriv, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1108 __usbhsh_hub_port_feature(struct usbhsh_hpriv *hpriv, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1193 __usbhsh_hub_get_status(struct usbhsh_hpriv *hpriv, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument 1234 usbhsh_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) argument [all...] |
/linux-master/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_ep.c | 386 u16 wValue; local 398 wValue = le16_to_cpu(bdc->setup_pkt.wValue); 399 if ((wValue > req_len) && 402 wValue, req_len, 1112 addr = le16_to_cpu(ctrl->wValue); 1146 static int ep0_handle_feature_dev(struct bdc *bdc, u16 wValue, argument 1154 switch (wValue) { 1221 dev_err(bdc->dev, "Unknown wValue:%d\n", wValue); 1234 u16 wValue; local [all...] |
/linux-master/drivers/media/usb/gspca/ |
H A D | dtcs033.c | 19 u16 wValue; member in struct:dtcs033_usb_requests 27 u16 wValue, u16 wIndex, u16 wLength) 39 wValue, wIndex, 61 preq->wValue, preq->wIndex, preq->wLength); 155 u16 wValue = (0xFF00&gainVal)>>8; local 166 bRequestType, bRequest, wValue, wIndex, 0); 290 /* -- bRequest,wValue,wIndex,wLength */ 414 /* -- bRequest,wValue,wIndex,wLength */ 25 reg_rw(struct gspca_dev *gspca_dev, u8 bRequestType, u8 bRequest, u16 wValue, u16 wIndex, u16 wLength) argument
|
/linux-master/drivers/hid/ |
H A D | hid-thrustmaster.c | 132 .wValue = 0, 140 .wValue = 0, // Will be filled by the driver 244 tm_wheel->change_request->wValue = cpu_to_le16(twi->switch_value);
|
/linux-master/include/uapi/linux/usb/ |
H A D | tmc.h | 47 __u16 wValue; member in struct:usbtmc_request
|