Home
last modified time | relevance | path

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

123

/external/libusb/msvc/
Dmissing.c35 TCHAR wValue[MAX_PATH]; in getenv() local
57 dwData = sizeof(wValue); in getenv()
59 (LPBYTE)&wValue, &dwData); in getenv()
72 wValue, dwData / sizeof(*wValue), in getenv()
/external/u-boot/drivers/usb/gadget/
Dep0.c403 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup()
483 le16_to_cpu (request->wValue) >> 8, in ep0_recv_setup()
484 le16_to_cpu (request->wValue) & 0xff); in ep0_recv_setup()
529 dbg_ep0 (0, "ENDPOINT: %x", le16_to_cpu (request->wValue)); in ep0_recv_setup()
530 if (le16_to_cpu (request->wValue) == USB_ENDPOINT_HALT) { in ep0_recv_setup()
539 le16_to_cpu (request->wValue)); in ep0_recv_setup()
548 le16_to_cpu (request->wValue), in ep0_recv_setup()
552 address = le16_to_cpu (request->wValue); in ep0_recv_setup()
571 device->configuration = le16_to_cpu(request->wValue) & 0xff; in ep0_recv_setup()
582 device->alternate = le16_to_cpu (request->wValue); in ep0_recv_setup()
Dether.c1143 event->wValue = __constant_cpu_to_le16(0); in eth_status_complete()
1193 event->wValue = __constant_cpu_to_le16(1); /* connected */ in issue_start_status()
1257 u16 wValue = le16_to_cpu(ctrl->wValue); in eth_setup() local
1273 switch (wValue >> 8) { in eth_setup()
1293 wValue >> 8, in eth_setup()
1294 wValue & 0xff, in eth_setup()
1302 wValue & 0xff, req->buf); in eth_setup()
1318 value = eth_set_config(dev, wValue, GFP_ATOMIC); in eth_setup()
1356 if (wValue != 0) in eth_setup()
1366 if (wValue > 1) in eth_setup()
[all …]
Dfotg210.c367 debug("fotg210: set_cfg(%d)\n", req->wValue & 0x00FF); in fotg210_setup()
368 if (!(req->wValue & 0x00FF)) { in fotg210_setup()
380 debug("fotg210: set_addr(0x%04X)\n", req->wValue); in fotg210_setup()
382 chip->addr = req->wValue & DEVADDR_ADDR_MASK; in fotg210_setup()
389 req->bRequestType & 0x03, req->wValue); in fotg210_setup()
390 switch (req->wValue) { in fotg210_setup()
405 req->wValue, req->wIndex & 0xf); in fotg210_setup()
406 switch (req->wValue) { in fotg210_setup()
Ddwc2_udc_otg_xfer_dma.c1151 switch (usb_ctrl->wValue) { in dwc2_udc_clear_feature()
1170 usb_ctrl->wValue); in dwc2_udc_clear_feature()
1172 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_clear_feature()
1215 switch (usb_ctrl->wValue) { in dwc2_udc_set_feature()
1249 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_set_feature()
1286 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1347 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
1352 udc_set_address(dev, usb_ctrl->wValue); in dwc2_ep0_setup()
1360 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
1376 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
Df_dfu.c318 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle()
421 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle()
508 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle()
590 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle()
/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c467 u16 wValue; in musb_submit_rh_msg() local
478 wValue = swap_16(cmd->value); in musb_submit_rh_msg()
484 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg()
537 switch (wValue) { in musb_submit_rh_msg()
543 port_status &= ~(1 << wValue); in musb_submit_rh_msg()
549 switch (wValue) { in musb_submit_rh_msg()
560 port_status &= ~(1 << wValue); in musb_submit_rh_msg()
566 switch (wValue) { in musb_submit_rh_msg()
604 port_status &= ~(1 << wValue); in musb_submit_rh_msg()
610 switch (wValue) { in musb_submit_rh_msg()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/dwc3/dwc3_ctrl_req/
Dformat11 field:__le16 wValue; offset:10; size:2; signed:0;
15 …stType %02x bRequest %02x wValue %04x wIndex %04x wLength %d", REC->bRequestType, REC->bRequest, (…
/external/autotest/client/cros/cellular/mbim_compliance/sequences/
Dopen_sequence.py87 wValue=0,
105 wValue=0,
127 wValue=ntb_format,
146 wValue=0,
/external/u-boot/drivers/usb/host/
Dsl811-hcd.c537 __u16 wValue = le16_to_cpu (cmd->value); in sl811_rh_submit_urb() local
551 bmRType_bReq, bmRType_bReq, wValue, wIndex, wLength); in sl811_rh_submit_urb()
582 switch (wValue) { in sl811_rh_submit_urb()
589 switch (wValue) { in sl811_rh_submit_urb()
599 switch (wValue) { in sl811_rh_submit_urb()
635 switch (wValue) { in sl811_rh_submit_urb()
659 root_hub_devnum = wValue; in sl811_rh_submit_urb()
663 switch ((wValue & 0xff00) >> 8) { in sl811_rh_submit_urb()
675 len = usb_root_hub_string(wValue & 0xff, (int)(long)0, "SL811HS", data, wLength); in sl811_rh_submit_urb()
Dr8a66597-hcd.c598 __u16 wValue; in r8a66597_submit_rh_msg() local
610 wValue = cpu_to_le16 (cmd->value); in r8a66597_submit_rh_msg()
640 switch (wValue) { in r8a66597_submit_rh_msg()
648 switch (wValue) { in r8a66597_submit_rh_msg()
661 gr8a66597.rh_devnum = wValue; in r8a66597_submit_rh_msg()
664 switch ((wValue & 0xff00) >> 8) { in r8a66597_submit_rh_msg()
682 if (wValue == 0x0300) { in r8a66597_submit_rh_msg()
690 if (wValue == 0x0301) { in r8a66597_submit_rh_msg()
Ddwc2.c595 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() local
600 switch (wValue & 0xff00) { in dwc_otg_submit_rh_msg_in_descriptor()
610 switch (wValue & 0xff) { in dwc_otg_submit_rh_msg_in_descriptor()
724 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_out() local
732 switch (wValue) { in dwc_otg_submit_rh_msg_out()
740 switch (wValue) { in dwc_otg_submit_rh_msg_out()
767 priv->root_hub_devnum = wValue; in dwc_otg_submit_rh_msg_out()
Dohci-hcd.c1250 __u16 wValue; in ohci_submit_rh_msg() local
1267 wValue = le16_to_cpu(cmd->value); in ohci_submit_rh_msg()
1272 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
1301 switch (wValue) { in ohci_submit_rh_msg()
1308 switch (wValue) { in ohci_submit_rh_msg()
1318 switch (wValue) { in ohci_submit_rh_msg()
1331 switch (wValue) { in ohci_submit_rh_msg()
1349 ohci->rh.devnum = wValue; in ohci_submit_rh_msg()
1353 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg()
1369 if (wValue == 0x0300) { in ohci_submit_rh_msg()
[all …]
/external/u-boot/drivers/usb/dwc3/
Dep0.c391 u32 wValue; in dwc3_ep0_handle_feature() local
397 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature()
405 switch (wValue) { in dwc3_ep0_handle_feature()
458 switch (wValue) { in dwc3_ep0_handle_feature()
473 switch (wValue) { in dwc3_ep0_handle_feature()
502 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address()
544 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config()
671 u16 wValue; in dwc3_ep0_set_isoch_delay() local
674 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay()
685 dwc->isoch_delay = wValue; in dwc3_ep0_set_isoch_delay()
/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_usb_ohci.c891 __u16 wValue; in ohci_submit_rh_msg() local
907 wValue = m16_swap (cmd->value); in ohci_submit_rh_msg()
912 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
937 switch (wValue) { in ohci_submit_rh_msg()
943 switch (wValue) { in ohci_submit_rh_msg()
952 switch (wValue) { in ohci_submit_rh_msg()
973 switch (wValue) { in ohci_submit_rh_msg()
989 case RH_SET_ADDRESS: gohci.rh.devnum = wValue; OK(0); in ohci_submit_rh_msg()
992 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg()
1008 if(wValue==0x0300) { in ohci_submit_rh_msg()
[all …]
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget_ep0.c222 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request()
229 if (ctrlrequest->wValue in service_zero_data_request()
248 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
305 switch (ctrlrequest->wValue) { in service_zero_data_request()
412 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
592 le16_to_cpu(req->wValue), in musb_read_setup()
Dmusb_host.h69 u16 typeReq, u16 wValue, u16 wIndex,
/external/libusb/libusb/
Dsync.c95 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, in libusb_control_transfer() argument
116 libusb_fill_control_setup(buffer, bmRequestType, bRequest, wValue, wIndex, in libusb_control_transfer()
Dlibusb.h884 uint16_t wValue; member
1474 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, in libusb_fill_control_setup() argument
1480 setup->wValue = libusb_cpu_to_le16(wValue); in libusb_fill_control_setup()
1749 uint8_t request_type, uint8_t bRequest, uint16_t wValue, uint16_t wIndex,
/external/libusb/libusb/os/
Dnetbsd_usb.c397 USETW(req.ucr_request.wValue, UF_ENDPOINT_HALT); in netbsd_clear_halt()
581 libusb_le16_to_cpu(setup->wValue), in _sync_control_transfer()
588 (*(uint16_t *)req.ucr_request.wValue) = setup->wValue; in _sync_control_transfer()
Dopenbsd_usb.c438 USETW(req.ucr_request.wValue, UF_ENDPOINT_HALT); in obsd_clear_halt()
641 libusb_le16_to_cpu(setup->wValue), in _sync_control_transfer()
649 (*(uint16_t *)req.ucr_request.wValue) = setup->wValue; in _sync_control_transfer()
/external/libusb/include/libusb/
Dlibusb.h884 uint16_t wValue; member
1474 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, in libusb_fill_control_setup() argument
1480 setup->wValue = libusb_cpu_to_le16(wValue); in libusb_fill_control_setup()
1749 uint8_t request_type, uint8_t bRequest, uint16_t wValue, uint16_t wIndex,
/external/u-boot/include/
Dusbdevice.h353 u16 wValue; member
731 serial_printf("\twValue 0x%4.4x\n", r->wValue); in print_usb_device_request()
733 switch (r->wValue >> 8) { in print_usb_device_request()
/external/libpcap/pcap/
Dusb.h62 uint16_t wValue; member
/external/libmtp/src/
Dlibopenusb1-glue.c380 ctrl.setup.wValue = 0; in probe_device_descriptor()
435 ctrl.setup.wValue = 0; in probe_device_descriptor()
1727 ctrl.setup.wValue = 0; in ptp_usb_control_cancel_request()
1806 ctrl.setup.wValue = 0; in init_ptp_usb()
1827 ctrl.setup.wValue = 0; in init_ptp_usb()
1848 ctrl.setup.wValue = 0; in init_ptp_usb()
1869 ctrl.setup.wValue = 0; in init_ptp_usb()
2250 ctrl.setup.wValue = USB_FEATURE_HALT; in usb_get_endpoint_status()

123