| /u-boot/drivers/usb/gadget/ |
| A D | ep0.c | 431 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup() 511 le16_to_cpu (request->wValue) >> 8, in ep0_recv_setup() 512 le16_to_cpu (request->wValue) & 0xff); in ep0_recv_setup() 557 dbg_ep0 (0, "ENDPOINT: %x", le16_to_cpu (request->wValue)); in ep0_recv_setup() 558 if (le16_to_cpu (request->wValue) == USB_ENDPOINT_HALT) { in ep0_recv_setup() 567 le16_to_cpu (request->wValue)); in ep0_recv_setup() 576 le16_to_cpu (request->wValue), in ep0_recv_setup() 580 address = le16_to_cpu (request->wValue); in ep0_recv_setup() 599 device->configuration = le16_to_cpu(request->wValue) & 0xff; in ep0_recv_setup() 610 device->alternate = le16_to_cpu (request->wValue); in ep0_recv_setup()
|
| A D | ether.c | 1235 u16 wValue = le16_to_cpu(ctrl->wValue); in eth_setup() local 1251 switch (wValue >> 8) { in eth_setup() 1271 wValue >> 8, in eth_setup() 1272 wValue & 0xff, in eth_setup() 1316 if (wValue != 0) in eth_setup() 1326 if (wValue > 1) in eth_setup() 1336 if (wValue == 1) { in eth_setup() 1388 dev->cdc_filter = wValue; in eth_setup() 1411 || wValue in eth_setup() 1426 && !wValue in eth_setup() [all …]
|
| A D | dwc2_udc_otg_xfer_dma.c | 1176 switch (usb_ctrl->wValue) { in dwc2_udc_clear_feature() 1195 usb_ctrl->wValue); in dwc2_udc_clear_feature() 1197 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_clear_feature() 1240 switch (usb_ctrl->wValue) { in dwc2_udc_set_feature() 1274 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_set_feature() 1311 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup() 1372 __func__, usb_ctrl->wValue); in dwc2_ep0_setup() 1377 udc_set_address(dev, usb_ctrl->wValue); in dwc2_ep0_setup() 1385 __func__, usb_ctrl->wValue); in dwc2_ep0_setup() 1401 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
|
| A D | max3420_udc.c | 538 if (udc->setup.wValue != USB_DEVICE_REMOTE_WAKEUP) in max3420_set_clear_feature() 549 if (udc->setup.wValue != USB_ENDPOINT_HALT) in max3420_set_clear_feature() 573 udc->setup.wValue = cpu_to_le16(setup.wValue); in max3420_handle_setup() 593 udc->setup.wValue, addr); in max3420_handle_setup()
|
| A D | f_dfu.c | 320 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle() 431 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle() 522 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle() 608 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle()
|
| A D | atmel_usba_udc.c | 695 if (crq->wValue == cpu_to_le16(USB_DEVICE_REMOTE_WAKEUP)) in feature_is_dev_remote_wakeup() 702 if (crq->wValue == cpu_to_le16(USB_DEVICE_TEST_MODE)) in feature_is_dev_test_mode() 709 if (crq->wValue == cpu_to_le16(USB_ENDPOINT_HALT)) in feature_is_ep_halt() 818 set_address(udc, le16_to_cpu(crq->wValue)); in handle_ep0_setup() 835 le16_to_cpu(crq->wValue), le16_to_cpu(crq->wIndex), in handle_ep0_setup()
|
| A D | ci_udc.c | 696 r.wValue, r.wLength); in handle_setup() 723 if ((r.wValue == 0) && (r.wLength == 0)) { in handle_setup() 749 writel((r.wValue << 25) | (1 << 24), &udc->devaddr); in handle_setup() 771 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
|
| A D | f_acm.c | 389 u16 w_value = le16_to_cpu(ctrl->wValue); in acm_setup()
|
| A D | at91_udc.c | 887 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup() 916 if (pkt.r.wValue) in handle_setup()
|
| A D | f_sdp.c | 473 u16 w_value = le16_to_cpu(ctrl->wValue); in sdp_setup()
|
| A D | f_thor.c | 646 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
|
| /u-boot/drivers/usb/musb/ |
| A D | musb_hcd.c | 463 u16 wValue; in musb_submit_rh_msg() local 474 wValue = swap_16(cmd->value); in musb_submit_rh_msg() 533 switch (wValue) { in musb_submit_rh_msg() 539 port_status &= ~(1 << wValue); in musb_submit_rh_msg() 545 switch (wValue) { in musb_submit_rh_msg() 556 port_status &= ~(1 << wValue); in musb_submit_rh_msg() 562 switch (wValue) { in musb_submit_rh_msg() 606 switch (wValue) { in musb_submit_rh_msg() 629 port_status |= 1 << wValue; in musb_submit_rh_msg() 635 rh_devnum = wValue; in musb_submit_rh_msg() [all …]
|
| /u-boot/drivers/usb/dwc3/ |
| A D | ep0.c | 395 u32 wValue; in dwc3_ep0_handle_feature() local 401 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature() 409 switch (wValue) { in dwc3_ep0_handle_feature() 462 switch (wValue) { in dwc3_ep0_handle_feature() 477 switch (wValue) { in dwc3_ep0_handle_feature() 506 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address() 548 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config() 675 u16 wValue; in dwc3_ep0_set_isoch_delay() local 678 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay() 689 dwc->isoch_delay = wValue; in dwc3_ep0_set_isoch_delay()
|
| /u-boot/drivers/usb/cdns3/ |
| A D | ep0.c | 157 u32 config = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_configuration() 216 addr = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_address() 315 switch (ctrl->wValue) { in cdns3_ep0_feature_handle_device() 374 u32 wValue; in cdns3_ep0_feature_handle_intf() local 377 wValue = le16_to_cpu(ctrl->wValue); in cdns3_ep0_feature_handle_intf() 379 switch (wValue) { in cdns3_ep0_feature_handle_intf() 397 if (le16_to_cpu(ctrl->wValue) != USB_ENDPOINT_HALT) in cdns3_ep0_feature_handle_endpoint() 491 priv_dev->isoch_delay = ctrl_req->wValue; in cdns3_req_ep0_set_isoch_delay()
|
| /u-boot/drivers/usb/host/ |
| A D | r8a66597-hcd.c | 545 __u16 wValue; in r8a66597_submit_rh_msg() local 557 wValue = cpu_to_le16 (cmd->value); in r8a66597_submit_rh_msg() 587 switch (wValue) { in r8a66597_submit_rh_msg() 595 switch (wValue) { in r8a66597_submit_rh_msg() 608 r8a66597->rh_devnum = wValue; in r8a66597_submit_rh_msg() 611 switch ((wValue & 0xff00) >> 8) { in r8a66597_submit_rh_msg() 629 if (wValue == 0x0300) { in r8a66597_submit_rh_msg() 637 if (wValue == 0x0301) { in r8a66597_submit_rh_msg()
|
| A D | ohci-hcd.c | 1228 __u16 wValue; in ohci_submit_rh_msg() local 1245 wValue = le16_to_cpu(cmd->value); in ohci_submit_rh_msg() 1250 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg() 1279 switch (wValue) { in ohci_submit_rh_msg() 1286 switch (wValue) { in ohci_submit_rh_msg() 1296 switch (wValue) { in ohci_submit_rh_msg() 1309 switch (wValue) { in ohci_submit_rh_msg() 1327 ohci->rh.devnum = wValue; in ohci_submit_rh_msg() 1331 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg() 1347 if (wValue == 0x0300) { in ohci_submit_rh_msg() [all …]
|
| A D | dwc2.c | 610 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() local 615 switch (wValue & 0xff00) { in dwc_otg_submit_rh_msg_in_descriptor() 625 switch (wValue & 0xff) { in dwc_otg_submit_rh_msg_in_descriptor() 739 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_out() local 747 switch (wValue) { in dwc_otg_submit_rh_msg_out() 755 switch (wValue) { in dwc_otg_submit_rh_msg_out() 774 priv->root_hub_devnum = wValue; in dwc_otg_submit_rh_msg_out()
|
| A D | xhci.c | 810 static void xhci_clear_port_change_bit(u16 wValue, in xhci_clear_port_change_bit() argument 816 switch (wValue) { in xhci_clear_port_change_bit()
|
| /u-boot/drivers/usb/musb-new/ |
| A D | musb_gadget_ep0.c | 226 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request() 233 if (ctrlrequest->wValue in service_zero_data_request() 252 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request() 309 switch (ctrlrequest->wValue) { in service_zero_data_request() 416 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request() 596 le16_to_cpu(req->wValue), in musb_read_setup()
|
| A D | musb_host.h | 69 u16 typeReq, u16 wValue, u16 wIndex,
|
| /u-boot/include/ |
| A D | usbdevice.h | 340 u16 wValue; member 697 serial_printf("\twValue 0x%4.4x\n", r->wValue); in print_usb_device_request() 699 switch (r->wValue >> 8) { in print_usb_device_request()
|
| /u-boot/include/linux/usb/ |
| A D | cdc.h | 221 __le16 wValue; member
|
| A D | ch9.h | 183 __le16 wValue; member
|
| /u-boot/drivers/usb/mtu3/ |
| A D | mtu3_gadget_ep0.c | 352 switch (le16_to_cpu(setup->wValue)) { in ep0_handle_feature_dev() 411 value = le16_to_cpu(setup->wValue); in ep0_handle_feature() 471 value = le16_to_cpu(setup->wValue); in handle_standard_request() 637 le16_to_cpu(setup->wValue), le16_to_cpu(setup->wIndex), in ep0_read_setup()
|
| /u-boot/drivers/usb/isp1760/ |
| A D | isp1760-hcd.c | 2063 u16 typeReq, wValue, wIndex; in isp1760_hub_control() local 2077 wValue = le16_to_cpu(setup->value); in isp1760_hub_control() 2094 switch (wValue & 0xff00) { in isp1760_hub_control() 2104 switch (wValue & 0xff) { in isp1760_hub_control() 2124 switch (wValue) { in isp1760_hub_control() 2145 switch (wValue) { in isp1760_hub_control() 2274 switch (wValue) { in isp1760_hub_control() 2292 switch (wValue) { in isp1760_hub_control()
|