| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ep0.c | 404 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup() 484 le16_to_cpu (request->wValue) >> 8, in ep0_recv_setup() 485 le16_to_cpu (request->wValue) & 0xff); in ep0_recv_setup() 530 dbg_ep0 (0, "ENDPOINT: %x", le16_to_cpu (request->wValue)); in ep0_recv_setup() 531 if (le16_to_cpu (request->wValue) == USB_ENDPOINT_HALT) { in ep0_recv_setup() 540 le16_to_cpu (request->wValue)); in ep0_recv_setup() 549 le16_to_cpu (request->wValue), in ep0_recv_setup() 553 address = le16_to_cpu (request->wValue); in ep0_recv_setup() 572 device->configuration = le16_to_cpu(request->wValue) & 0xff; in ep0_recv_setup() 583 device->alternate = le16_to_cpu (request->wValue); in ep0_recv_setup()
|
| H A D | ether.c | 1140 event->wValue = __constant_cpu_to_le16(0); in eth_status_complete() 1190 event->wValue = __constant_cpu_to_le16(1); /* connected */ in issue_start_status() 1254 u16 wValue = le16_to_cpu(ctrl->wValue); in eth_setup() local 1270 switch (wValue >> 8) { in eth_setup() 1290 wValue >> 8, in eth_setup() 1291 wValue & 0xff, in eth_setup() 1299 wValue & 0xff, req->buf); in eth_setup() 1315 value = eth_set_config(dev, wValue, GFP_ATOMIC); in eth_setup() 1353 if (wValue != 0) in eth_setup() 1363 if (wValue > 1) in eth_setup() [all …]
|
| H A D | fotg210.c | 368 debug("fotg210: set_cfg(%d)\n", req->wValue & 0x00FF); in fotg210_setup() 369 if (!(req->wValue & 0x00FF)) { in fotg210_setup() 381 debug("fotg210: set_addr(0x%04X)\n", req->wValue); in fotg210_setup() 383 chip->addr = req->wValue & DEVADDR_ADDR_MASK; in fotg210_setup() 390 req->bRequestType & 0x03, req->wValue); in fotg210_setup() 391 switch (req->wValue) { in fotg210_setup() 406 req->wValue, req->wIndex & 0xf); in fotg210_setup() 407 switch (req->wValue) { in fotg210_setup()
|
| H A D | dwc2_udc_otg_xfer_dma.c | 1174 switch (usb_ctrl->wValue) { in dwc2_udc_clear_feature() 1193 usb_ctrl->wValue); in dwc2_udc_clear_feature() 1195 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_clear_feature() 1238 switch (usb_ctrl->wValue) { in dwc2_udc_set_feature() 1272 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_set_feature() 1309 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup() 1370 __func__, usb_ctrl->wValue); in dwc2_ep0_setup() 1375 udc_set_address(dev, usb_ctrl->wValue); in dwc2_ep0_setup() 1383 __func__, usb_ctrl->wValue); in dwc2_ep0_setup() 1399 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
|
| H A D | f_dfu.c | 319 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle() 422 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle() 509 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle() 591 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle()
|
| H 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()
|
| H A D | ci_udc.c | 684 r.wValue, r.wLength); in handle_setup() 711 if ((r.wValue == 0) && (r.wLength == 0)) { in handle_setup() 737 writel((r.wValue << 25) | (1 << 24), &udc->devaddr); in handle_setup() 759 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
|
| H A D | f_sdp.c | 421 u16 w_value = le16_to_cpu(ctrl->wValue); in sdp_setup()
|
| H A D | at91_udc.c | 885 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup() 914 if (pkt.r.wValue) in handle_setup()
|
| H A D | f_thor.c | 642 ctrl->bRequestType, ctrl->bRequest, ctrl->wValue, ctrl->wIndex, in thor_func_setup()
|
| H A D | pxa25x_udc.c | 1274 le16_to_cpu(u.r.wValue), in handle_ep0() 1313 le16_to_cpu(u.r.wValue)); in handle_ep0()
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | sl811-hcd.c | 538 __u16 wValue = le16_to_cpu (cmd->value); in sl811_rh_submit_urb() local 552 bmRType_bReq, bmRType_bReq, wValue, wIndex, wLength); in sl811_rh_submit_urb() 583 switch (wValue) { in sl811_rh_submit_urb() 590 switch (wValue) { in sl811_rh_submit_urb() 600 switch (wValue) { in sl811_rh_submit_urb() 636 switch (wValue) { in sl811_rh_submit_urb() 660 root_hub_devnum = wValue; in sl811_rh_submit_urb() 664 switch ((wValue & 0xff00) >> 8) { in sl811_rh_submit_urb() 676 len = usb_root_hub_string(wValue & 0xff, (int)(long)0, "SL811HS", data, wLength); in sl811_rh_submit_urb()
|
| H A D | r8a66597-hcd.c | 571 __u16 wValue; in r8a66597_submit_rh_msg() local 583 wValue = cpu_to_le16 (cmd->value); in r8a66597_submit_rh_msg() 613 switch (wValue) { in r8a66597_submit_rh_msg() 621 switch (wValue) { in r8a66597_submit_rh_msg() 634 r8a66597->rh_devnum = wValue; in r8a66597_submit_rh_msg() 637 switch ((wValue & 0xff00) >> 8) { in r8a66597_submit_rh_msg() 655 if (wValue == 0x0300) { in r8a66597_submit_rh_msg() 663 if (wValue == 0x0301) { in r8a66597_submit_rh_msg()
|
| H A D | ohci-hcd.c | 1255 __u16 wValue; in ohci_submit_rh_msg() local 1272 wValue = le16_to_cpu(cmd->value); in ohci_submit_rh_msg() 1277 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg() 1306 switch (wValue) { in ohci_submit_rh_msg() 1313 switch (wValue) { in ohci_submit_rh_msg() 1323 switch (wValue) { in ohci_submit_rh_msg() 1336 switch (wValue) { in ohci_submit_rh_msg() 1354 ohci->rh.devnum = wValue; in ohci_submit_rh_msg() 1358 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg() 1374 if (wValue == 0x0300) { in ohci_submit_rh_msg() [all …]
|
| H A D | dwc2.c | 613 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() local 618 switch (wValue & 0xff00) { in dwc_otg_submit_rh_msg_in_descriptor() 628 switch (wValue & 0xff) { in dwc_otg_submit_rh_msg_in_descriptor() 742 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_out() local 750 switch (wValue) { in dwc_otg_submit_rh_msg_out() 758 switch (wValue) { in dwc_otg_submit_rh_msg_out() 785 priv->root_hub_devnum = wValue; in dwc_otg_submit_rh_msg_out()
|
| H A D | xhci.c | 827 static void xhci_clear_port_change_bit(u16 wValue, in xhci_clear_port_change_bit() argument 833 switch (wValue) { in xhci_clear_port_change_bit()
|
| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_hcd.c | 468 u16 wValue; in musb_submit_rh_msg() local 479 wValue = swap_16(cmd->value); in musb_submit_rh_msg() 485 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg() 538 switch (wValue) { in musb_submit_rh_msg() 544 port_status &= ~(1 << wValue); in musb_submit_rh_msg() 550 switch (wValue) { in musb_submit_rh_msg() 561 port_status &= ~(1 << wValue); in musb_submit_rh_msg() 567 switch (wValue) { in musb_submit_rh_msg() 605 port_status &= ~(1 << wValue); in musb_submit_rh_msg() 611 switch (wValue) { in musb_submit_rh_msg() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/dwc3/ |
| H A D | ep0.c | 392 u32 wValue; in dwc3_ep0_handle_feature() local 398 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature() 406 switch (wValue) { in dwc3_ep0_handle_feature() 459 switch (wValue) { in dwc3_ep0_handle_feature() 474 switch (wValue) { in dwc3_ep0_handle_feature() 503 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address() 546 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config() 676 u16 wValue; in dwc3_ep0_set_isoch_delay() local 679 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay() 690 dwc->isoch_delay = wValue; in dwc3_ep0_set_isoch_delay()
|
| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | ep0.c | 152 u32 config = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_configuration() 211 addr = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_address() 310 switch (ctrl->wValue) { in cdns3_ep0_feature_handle_device() 369 u32 wValue; in cdns3_ep0_feature_handle_intf() local 372 wValue = le16_to_cpu(ctrl->wValue); in cdns3_ep0_feature_handle_intf() 374 switch (wValue) { in cdns3_ep0_feature_handle_intf() 392 if (le16_to_cpu(ctrl->wValue) != USB_ENDPOINT_HALT) in cdns3_ep0_feature_handle_endpoint() 486 priv_dev->isoch_delay = ctrl_req->wValue; in cdns3_req_ep0_set_isoch_delay()
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_gadget_ep0.c | 223 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request() 230 if (ctrlrequest->wValue in service_zero_data_request() 249 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request() 306 switch (ctrlrequest->wValue) { in service_zero_data_request() 413 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request() 593 le16_to_cpu(req->wValue), in musb_read_setup()
|
| H A D | musb_host.h | 70 u16 typeReq, u16 wValue, u16 wIndex,
|
| /rk3399_rockchip-uboot/arch/mips/mach-au1x00/ |
| H A D | au1x00_usb_ohci.c | 892 __u16 wValue; in ohci_submit_rh_msg() local 908 wValue = m16_swap (cmd->value); in ohci_submit_rh_msg() 913 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg() 938 switch (wValue) { in ohci_submit_rh_msg() 944 switch (wValue) { in ohci_submit_rh_msg() 953 switch (wValue) { in ohci_submit_rh_msg() 974 switch (wValue) { in ohci_submit_rh_msg() 990 case RH_SET_ADDRESS: gohci.rh.devnum = wValue; OK(0); in ohci_submit_rh_msg() 993 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg() 1009 if(wValue==0x0300) { in ohci_submit_rh_msg() [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usbdevice.h | 354 u16 wValue; member 732 serial_printf("\twValue 0x%4.4x\n", r->wValue); in print_usb_device_request() 734 switch (r->wValue >> 8) { in print_usb_device_request()
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | cdc.h | 221 __le16 wValue; member
|
| H A D | ch9.h | 183 __le16 wValue; member
|