Home
last modified time | relevance | path

Searched refs:wLength (Results 1 - 25 of 34) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
H A Dusb_request.c251 USETW(req.wLength, 0); in usb_do_clear_stall_callback()
346 * "data" - if the "wLength" part of the structure pointed to by "req"
348 * can hold at least "wLength" bytes. If "wLength" is zero "data" can
409 length = UGETW(req->wLength); in usbd_do_request_flags()
412 "wValue=0x%02x%02x wIndex=0x%02x%02x wLength=0x%02x%02x\n", in usbd_do_request_flags()
416 req->wLength[1], req->wLength[0]); in usbd_do_request_flags()
725 len = UGETW(req->wLength); in usbd_do_request_proc()
997 USETW(req.wLength, min_le in usbd_req_get_desc()
[all...]
H A Dusb_cdc.h197 uWord wLength; member
242 uWord wLength; member
262 uWord wLength; member
307 uWord wLength; member
H A Dusb_handle_request.c480 rem = UGETW(req.wLength); in usb_handle_request()
485 off = UGETW(req.wLength) - rem; in usb_handle_request()
H A Dusb_transfer.c1394 xfer->flags_int.control_rem = UGETW(req.wLength); in usbd_control_transfer_init()
1423 return (xfer->flags_int.control_rem != UGETW(req.wLength)); in usbd_control_transfer_did_data()
3200 USETW(req.wLength, 0); in usbd_clear_stall_callback()
H A Dusb.h134 uWord wLength; member
/third_party/backends/backend/
H A Dhp5590_low.c85 uint16_t wLength; /* MSB first */ member
95 uint16_t wLength; /* LSB first */ member
258 ctrl.wLength = htole16 (size); in hp5590_control_msg()
328 ctrl.wLength = htole16 (size); in hp5590_control_msg()
735 ctrl.wLength = htons (next_pages); in hp5590_bulk_read()
927 ctrl.wLength = htons (next_portion); in hp5590_bulk_write()
H A Dmustek_usb2_asic.h1232 unsigned short wLength, SANE_Byte * lpbuf);
1234 unsigned short wLength, SANE_Byte * lpbuf);
1253 unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength);
1299 unsigned short wWidth, unsigned short wLength, SANE_Bool isShading);
H A Dmustek_usb2_asic.c53 WriteIOControl (PAsic chip, unsigned short wValue, unsigned short wIndex, unsigned short wLength, in WriteIOControl() argument
59 sanei_usb_control_msg (chip->fd, 0x40, 0x01, wValue, wIndex, wLength, in WriteIOControl()
71 ReadIOControl (PAsic chip, unsigned short wValue, unsigned short wIndex, unsigned short wLength, in ReadIOControl() argument
77 sanei_usb_control_msg (chip->fd, 0xc0, 0x01, wValue, wIndex, wLength, in ReadIOControl()
3820 unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength) in Asic_SetWindow()
3866 "bScanBits=%d,wXResolution=%d,wYResolution=%d,wX=%d,wY=%d,wWidth=%d,wLength=%d\n", in Asic_SetWindow()
3867 bScanBits, wXResolution, wYResolution, wX, wY, wWidth, wLength); in Asic_SetWindow()
3979 dwTotalLineTheBufferNeed = wLength; in Asic_SetWindow()
4836 unsigned short wWidth, unsigned short wLength, SANE_Bool isShading) in Asic_SetCalibrate()
4883 "bScanBits=%d,wXResolution=%d, wYResolution=%d, wX=%d, wY=%d, wWidth=%d, wLength in Asic_SetCalibrate()
3818 Asic_SetWindow(PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution, unsigned short wYResolution, unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength) Asic_SetWindow() argument
4834 Asic_SetCalibrate(PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution, unsigned short wYResolution, unsigned short wX, unsigned short wY, unsigned short wWidth, unsigned short wLength, SANE_Bool isShading) Asic_SetCalibrate() argument
[all...]
/third_party/FreeBSD/sys/dev/usb/net/
H A Dif_cdce.c282 USETW(req.wLength, sizeof(temp)); in cdce_ncm_init()
389 USETW(req.wLength, 8); in cdce_ncm_init()
394 USETW(req.wLength, 4); in cdce_ncm_init()
410 USETW(req.wLength, 0); in cdce_ncm_init()
423 USETW(req.wLength, 0); in cdce_ncm_init()
1005 USETW(req.wLength, 0); in cdce_intr_write_callback()
1018 USETW(req.wLength, 8); in cdce_intr_write_callback()
1180 USETW(sc->sc_ncm.dpt.wLength, rem); in cdce_ncm_fill_tx_frames()
1355 nframes = UGETW(sc->sc_ncm.dpt.wLength) / 4; in cdce_ncm_bulk_read_callback()
H A Dif_axge.c157 USETW(req.wLength, len); in axge_write_mem()
193 USETW(req.wLength, len); in axge_read_mem()
H A Dif_axe.c233 USETW(req.wLength, AXE_CMD_LEN(cmd)); in axe_cmd()
H A Dif_urndis.c413 USETW(req.wLength, buflen); in urndis_ctrl_msg()
/third_party/backends/sanei/
H A Dusb_manager.cpp580 uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, in usb_manager_control_transfer()
584 if (dev_handle == nullptr || data == nullptr || wLength == 0) { in usb_manager_control_transfer()
596 std::vector<uint8_t> bufferData(wLength); in usb_manager_control_transfer()
597 for (uint16_t i = 0; i < wLength; i++) { in usb_manager_control_transfer()
579 usb_manager_control_transfer(usb_manager_device_handle *dev_handle, uint8_t request_type, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, unsigned int timeout) usb_manager_control_transfer() argument
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
H A Dst_tusb.h91 char *buf, u16 wLength);
/third_party/backends/include/sane/
H A Dusb_manager.h436 uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength,
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_hid.c675 usbclass_hid_get_report(dev, UGETW(ctrl->wLength)); in usbclass_hid_setup()
698 req->len = MIN(UGETW(ctrl->wLength), HID_IN_DATA_SIZE); in usbclass_hid_setup()
718 req->len = MIN(UGETW(ctrl->wLength), HID_IN_DATA_SIZE); in usbclass_hid_setup()
H A Ddfu.c250 len = UGETW(ctrl->wLength); in usbclass_setup()
H A Df_dfu.c576 int len = UGETW(ctrl->wLength); in dfu_dnload()
880 int len = UGETW(ctrl->wLength); in dfu_upload_idle_request()
H A Df_uac.c565 req->len = UGETW(ctrl->wLength); in audio_set_endpoint_req()
594 req->len = UGETW(ctrl->wLength); in audio_get_endpoint_req()
H A Dcdcacm.c1404 len = UGETW(ctrl->wLength); in cdcacm_setup()
1569 USETW(state_buf->wLength, len); in cdcacm_serial_connect_state()
H A Dcomposite.c475 w_length = UGETW(ctrl->wLength); in usb_composite_setup()
/third_party/FreeBSD/sys/dev/usb/serial/
H A Du3g.c621 len = UGETW(req.wLength); in u3g_sael_m460_init()
948 req.wLength[0] = 0; in u3g_cfg_set_line()
949 req.wLength[1] = 0; in u3g_cfg_set_line()
1016 wLen = UGETW(pkt.wLength); in u3g_intr_callback()
/third_party/FreeBSD/sys/dev/usb/input/
H A Duhid.c234 USETW(req->wLength, size); in uhid_fill_set_report()
246 USETW(req->wLength, size); in uhid_fill_get_report()
/third_party/FreeBSD/sys/dev/usb/storage/
H A Dumass.c1164 USETW(req.wLength, sizeof(status)); in umass_init_shuttle()
1308 USETW(req.wLength, 0); in umass_t_bbb_reset1_callback()
1697 USETW(req.wLength, 1); in umass_bbb_get_max_lun()
1768 USETW(req.wLength, UMASS_CBI_DIAGNOSTIC_CMDLEN); in umass_t_cbi_reset1_callback()
1892 req.wLength[0] = sc->sc_transfer.cmd_len; in umass_t_cbi_command_callback()
1893 req.wLength[1] = 0; in umass_t_cbi_command_callback()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_config.c379 uint16_t w_length = UGETW(ctrl->wLength); in fconfig_composite_setup()

Completed in 42 milliseconds

12