Home
last modified time | relevance | path

Searched refs:wValue (Results 1 – 25 of 55) 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.c404 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()
Dether.c1135 event->wValue = __constant_cpu_to_le16(0); in eth_status_complete()
1185 event->wValue = __constant_cpu_to_le16(1); /* connected */ in issue_start_status()
1249 u16 wValue = le16_to_cpu(ctrl->wValue); in eth_setup() local
1265 switch (wValue >> 8) { in eth_setup()
1285 wValue >> 8, in eth_setup()
1286 wValue & 0xff, in eth_setup()
1294 wValue & 0xff, req->buf); in eth_setup()
1310 value = eth_set_config(dev, wValue, GFP_ATOMIC); in eth_setup()
1348 if (wValue != 0) in eth_setup()
1358 if (wValue > 1) in eth_setup()
[all …]
Dfotg210.c368 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()
Ddwc2_udc_otg_xfer_dma.c1164 switch (usb_ctrl->wValue) { in dwc2_udc_clear_feature()
1183 usb_ctrl->wValue); in dwc2_udc_clear_feature()
1185 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_clear_feature()
1228 switch (usb_ctrl->wValue) { in dwc2_udc_set_feature()
1262 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_set_feature()
1299 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1360 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
1365 udc_set_address(dev, usb_ctrl->wValue); in dwc2_ep0_setup()
1373 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
1389 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
Df_dfu.c319 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()
/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/musb/
Dmusb_hcd.c461 u16 wValue; in musb_submit_rh_msg() local
472 wValue = swap_16(cmd->value); in musb_submit_rh_msg()
478 bmRType_bReq, wValue, wIndex, wLength); in musb_submit_rh_msg()
531 switch (wValue) { in musb_submit_rh_msg()
537 port_status &= ~(1 << wValue); in musb_submit_rh_msg()
543 switch (wValue) { in musb_submit_rh_msg()
554 port_status &= ~(1 << wValue); in musb_submit_rh_msg()
560 switch (wValue) { in musb_submit_rh_msg()
598 port_status &= ~(1 << wValue); in musb_submit_rh_msg()
604 switch (wValue) { in musb_submit_rh_msg()
[all …]
/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.c570 __u16 wValue; in r8a66597_submit_rh_msg() local
582 wValue = cpu_to_le16 (cmd->value); in r8a66597_submit_rh_msg()
612 switch (wValue) { in r8a66597_submit_rh_msg()
620 switch (wValue) { in r8a66597_submit_rh_msg()
633 r8a66597->rh_devnum = wValue; in r8a66597_submit_rh_msg()
636 switch ((wValue & 0xff00) >> 8) { in r8a66597_submit_rh_msg()
654 if (wValue == 0x0300) { in r8a66597_submit_rh_msg()
662 if (wValue == 0x0301) { in r8a66597_submit_rh_msg()
Ddwc2.c599 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() local
604 switch (wValue & 0xff00) { in dwc_otg_submit_rh_msg_in_descriptor()
614 switch (wValue & 0xff) { in dwc_otg_submit_rh_msg_in_descriptor()
728 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_out() local
736 switch (wValue) { in dwc_otg_submit_rh_msg_out()
744 switch (wValue) { in dwc_otg_submit_rh_msg_out()
771 priv->root_hub_devnum = wValue; in dwc_otg_submit_rh_msg_out()
Dohci-hcd.c1254 __u16 wValue; in ohci_submit_rh_msg() local
1271 wValue = le16_to_cpu(cmd->value); in ohci_submit_rh_msg()
1276 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
1305 switch (wValue) { in ohci_submit_rh_msg()
1312 switch (wValue) { in ohci_submit_rh_msg()
1322 switch (wValue) { in ohci_submit_rh_msg()
1335 switch (wValue) { in ohci_submit_rh_msg()
1353 ohci->rh.devnum = wValue; in ohci_submit_rh_msg()
1357 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg()
1373 if (wValue == 0x0300) { in ohci_submit_rh_msg()
[all …]
/external/u-boot/drivers/usb/dwc3/
Dep0.c392 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()
545 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config()
672 u16 wValue; in dwc3_ep0_set_isoch_delay() local
675 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay()
686 dwc->isoch_delay = wValue; in dwc3_ep0_set_isoch_delay()
/external/u-boot/drivers/usb/cdns3/
Dep0.c152 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()
/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/kernel-headers/original/uapi/linux/usb/
Dtmc.h47 __u16 wValue; member

123