Home
last modified time | relevance | path

Searched refs:wValue (Results 1 – 25 of 28) sorted by relevance

12

/u-boot/drivers/usb/gadget/
A Dep0.c450 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup()
530 le16_to_cpu (request->wValue) >> 8, in ep0_recv_setup()
531 le16_to_cpu (request->wValue) & 0xff); in ep0_recv_setup()
576 dbg_ep0 (0, "ENDPOINT: %x", le16_to_cpu (request->wValue)); in ep0_recv_setup()
577 if (le16_to_cpu (request->wValue) == USB_ENDPOINT_HALT) { in ep0_recv_setup()
586 le16_to_cpu (request->wValue)); in ep0_recv_setup()
595 le16_to_cpu (request->wValue), in ep0_recv_setup()
599 address = le16_to_cpu (request->wValue); in ep0_recv_setup()
618 device->configuration = le16_to_cpu(request->wValue) & 0xff; in ep0_recv_setup()
629 device->alternate = le16_to_cpu (request->wValue); in ep0_recv_setup()
A Dether.c1250 u16 wValue = le16_to_cpu(ctrl->wValue); in eth_setup() local
1266 switch (wValue >> 8) { in eth_setup()
1286 wValue >> 8, in eth_setup()
1287 wValue & 0xff, in eth_setup()
1349 if (wValue != 0) in eth_setup()
1359 if (wValue > 1) in eth_setup()
1369 if (wValue == 1) { in eth_setup()
1423 dev->cdc_filter = wValue; in eth_setup()
1446 || wValue in eth_setup()
1461 && !wValue in eth_setup()
[all …]
A Dfotg210.c370 debug("fotg210: set_cfg(%d)\n", req->wValue & 0x00FF); in fotg210_setup()
371 if (!(req->wValue & 0x00FF)) { in fotg210_setup()
383 debug("fotg210: set_addr(0x%04X)\n", req->wValue); in fotg210_setup()
385 chip->addr = req->wValue & DEVADDR_ADDR_MASK; in fotg210_setup()
392 req->bRequestType & 0x03, req->wValue); in fotg210_setup()
393 switch (req->wValue) { in fotg210_setup()
408 req->wValue, req->wIndex & 0xf); in fotg210_setup()
409 switch (req->wValue) { in fotg210_setup()
A Ddwc2_udc_otg_xfer_dma.c1176 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 Dmax3420_udc.c538 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 Df_dfu.c320 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle()
423 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle()
510 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle()
592 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle()
A Datmel_usba_udc.c695 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 Dci_udc.c693 r.wValue, r.wLength); in handle_setup()
720 if ((r.wValue == 0) && (r.wLength == 0)) { in handle_setup()
746 writel((r.wValue << 25) | (1 << 24), &udc->devaddr); in handle_setup()
768 reqname(r.bRequest), r.bRequestType, r.wValue, r.wIndex); in handle_setup()
A Dat91_udc.c887 #define w_value le16_to_cpu(pkt.r.wValue) in handle_setup()
916 if (pkt.r.wValue) in handle_setup()
A Df_sdp.c473 u16 w_value = le16_to_cpu(ctrl->wValue); in sdp_setup()
A Dpxa25x_udc.c1277 le16_to_cpu(u.r.wValue), in handle_ep0()
1316 le16_to_cpu(u.r.wValue)); in handle_ep0()
/u-boot/drivers/usb/host/
A Dsl811-hcd.c538 __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()
A Dr8a66597-hcd.c573 __u16 wValue; in r8a66597_submit_rh_msg() local
585 wValue = cpu_to_le16 (cmd->value); in r8a66597_submit_rh_msg()
615 switch (wValue) { in r8a66597_submit_rh_msg()
623 switch (wValue) { in r8a66597_submit_rh_msg()
636 r8a66597->rh_devnum = wValue; in r8a66597_submit_rh_msg()
639 switch ((wValue & 0xff00) >> 8) { in r8a66597_submit_rh_msg()
657 if (wValue == 0x0300) { in r8a66597_submit_rh_msg()
665 if (wValue == 0x0301) { in r8a66597_submit_rh_msg()
A Dohci-hcd.c1256 __u16 wValue; in ohci_submit_rh_msg() local
1273 wValue = le16_to_cpu(cmd->value); in ohci_submit_rh_msg()
1278 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
1307 switch (wValue) { in ohci_submit_rh_msg()
1314 switch (wValue) { in ohci_submit_rh_msg()
1324 switch (wValue) { in ohci_submit_rh_msg()
1337 switch (wValue) { in ohci_submit_rh_msg()
1355 ohci->rh.devnum = wValue; in ohci_submit_rh_msg()
1359 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg()
1375 if (wValue == 0x0300) { in ohci_submit_rh_msg()
[all …]
A Ddwc2.c611 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() local
616 switch (wValue & 0xff00) { in dwc_otg_submit_rh_msg_in_descriptor()
626 switch (wValue & 0xff) { in dwc_otg_submit_rh_msg_in_descriptor()
740 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_out() local
748 switch (wValue) { in dwc_otg_submit_rh_msg_out()
756 switch (wValue) { in dwc_otg_submit_rh_msg_out()
783 priv->root_hub_devnum = wValue; in dwc_otg_submit_rh_msg_out()
A Dxhci.c858 static void xhci_clear_port_change_bit(u16 wValue, in xhci_clear_port_change_bit() argument
864 switch (wValue) { in xhci_clear_port_change_bit()
/u-boot/drivers/usb/musb/
A Dmusb_hcd.c463 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 Dep0.c395 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 Dep0.c157 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/musb-new/
A Dmusb_gadget_ep0.c226 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 Dmusb_host.h69 u16 typeReq, u16 wValue, u16 wIndex,
/u-boot/include/
A Dusbdevice.h348 u16 wValue; member
716 serial_printf("\twValue 0x%4.4x\n", r->wValue); in print_usb_device_request()
718 switch (r->wValue >> 8) { in print_usb_device_request()
/u-boot/include/linux/usb/
A Dcdc.h221 __le16 wValue; member
A Dch9.h183 __le16 wValue; member
/u-boot/drivers/usb/mtu3/
A Dmtu3_gadget_ep0.c352 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()

Completed in 53 milliseconds

12