Home
last modified time | relevance | path

Searched refs:wLength (Results 1 – 25 of 73) sorted by relevance

123

/openbsd/src/sys/dev/usb/
Dusbdi_util.c68 USETW(req.wLength, len); in usbd_get_desc()
81 USETW(req.wLength, sizeof(usb_status_t)); in usbd_get_device_status()
96 USETW(req.wLength, len); in usbd_get_hub_descriptor()
111 USETW(req.wLength, len); in usbd_get_hub_ss_descriptor()
124 USETW(req.wLength, sizeof *ps); in usbd_get_port_status()
137 USETW(req.wLength, 0); in usbd_set_hub_depth()
150 USETW(req.wLength, 0); in usbd_clear_port_feature()
163 USETW(req.wLength, 0); in usbd_clear_endpoint_feature()
176 USETW(req.wLength, 0); in usbd_set_port_feature()
190 USETW(req.wLength, 0); in usbd_set_idle()
[all …]
Duplcom.c272 USETW(req.wLength, 1); in uplcom_attach()
449 USETW(req.wLength, 0); in uplcom_reset()
477 USETW(req.wLength, 0); in uplcom_set_line_state()
541 USETW(req.wLength, 0); in uplcom_break()
565 USETW(req.wLength, 0); in uplcom_set_crtscts()
597 USETW(req.wLength, UCDC_LINE_STATE_LENGTH); in uplcom_set_line_coding()
697 USETW(req.wLength, 0); in uplcom_open()
708 USETW(req.wLength, 0); in uplcom_open()
718 USETW(req.wLength, 0); in uplcom_open()
731 USETW(req.wLength, 0); in uplcom_open()
Duberry.c139 USETW(req.wLength, 2); in uberry_pearlmode()
153 USETW(req.wLength, 2); in uberry_charge()
160 USETW(req.wLength, 0); in uberry_charge()
Duslcom.c366 USETW(req.wLength, 0); in uslcom_open()
387 USETW(req.wLength, 0); in uslcom_close()
417 USETW(req.wLength, 0); in uslcom_set()
438 USETW(req.wLength, sizeof(baudrate)); in uslcom_param()
473 USETW(req.wLength, 0); in uslcom_param()
494 USETW(req.wLength, sizeof(flowctrl)); in uslcom_param()
524 USETW(req.wLength, 0); in uslcom_break()
Duticom.c472 USETW(req.wLength, 0); in uticom_reset()
522 USETW(req.wLength, 0); in uticom_dtr()
546 USETW(req.wLength, 0); in uticom_rts()
567 USETW(req.wLength, 0); in uticom_break()
587 USETW(req.wLength, 0); in uticom_set_crtscts()
627 USETW(req.wLength, 0); in uticom_param()
675 USETW(req.wLength, 0); in uticom_param()
737 USETW(req.wLength, 0); in uticom_close()
Dumodem.c462 if (UGETW(sc->sc_notify_buf.wLength) != 2) { in umodem_intr()
465 UGETW(sc->sc_notify_buf.wLength)); in umodem_intr()
585 USETW(req.wLength, 0); in umodem_set_line_state()
605 USETW(req.wLength, 0); in umodem_break()
650 USETW(req.wLength, UCDC_LINE_STATE_LENGTH); in umodem_set_line_coding()
678 USETW(req.wLength, UCDC_ABSTRACT_STATE_LENGTH); in umodem_set_comm_feature()
Dumct.c321 USETW(req.wLength, LENGTH_SET_MCR); in umct_set_line_state()
391 USETW(req.wLength, LENGTH_SET_LCR); in umct_set_lcr()
428 USETW(req.wLength, LENGTH_BAUD_RATE); in umct_set_baudrate()
439 USETW(req.wLength, LENGTH_UNKNOWN1); in umct_set_baudrate()
448 USETW(req.wLength, LENGTH_SET_CTS); in umct_set_baudrate()
Duxrcom.c282 USETW(req.wLength, 0); in uxrcom_set()
300 USETW(req.wLength, UCDC_LINE_STATE_LENGTH); in uxrcom_set_line_coding()
365 USETW(req.wLength, 0); in uxrcom_param()
430 USETW(req.wLength, 0); in uxrcom_break()
Duvisor.c391 USETW(req.wLength, UVISOR_GET_PALM_INFORMATION_LEN); in uvisor_init()
413 USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE); in uvisor_init()
428 USETW(req.wLength, sizeof avail); in uvisor_init()
452 USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE); in uvisor_close()
Duftdi.c896 USETW(req.wLength, 0); in uftdi_open()
911 USETW(req.wLength, 0); in uftdi_open()
995 USETW(req.wLength, 0); in uftdi_set()
998 UGETW(req.wValue), UGETW(req.wIndex), UGETW(req.wLength))); in uftdi_set()
1047 USETW(req.wLength, 0); in uftdi_param()
1050 UGETW(req.wValue), UGETW(req.wIndex), UGETW(req.wLength))); in uftdi_param()
1086 USETW(req.wLength, 0); in uftdi_param()
1089 UGETW(req.wValue), UGETW(req.wIndex), UGETW(req.wLength))); in uftdi_param()
1107 USETW(req.wLength, 0); in uftdi_param()
1149 USETW(req.wLength, 0); in uftdi_break()
Duipaq.c249 USETW(req.wLength, 0); in uipaq_dtr()
279 USETW(req.wLength, 0); in uipaq_rts()
304 USETW(req.wLength, 0); in uipaq_break()
Dudcf.c317 USETW(sc->sc_req.wLength, 1); in udcf_nc_init_hw()
323 USETW(req.wLength, 0); in udcf_nc_init_hw()
334 USETW(req.wLength, 0); in udcf_nc_init_hw()
358 USETW(req.wLength, 0); in udcf_ft232r_init_hw()
397 USETW(req.wLength, 2); in udcf_ft232r_signal()
Duvscom.c372 USETW(req.wLength, 2); in uvscom_readstat()
399 USETW(req.wLength, 0); in uvscom_shutdown()
440 USETW(req.wLength, 0); in uvscom_set_line()
465 USETW(req.wLength, 0); in uvscom_set_line_coding()
478 USETW(req.wLength, 0); in uvscom_set_line_coding()
Dusbdi.c599 USETW(req.wLength, 0); in usbd_clear_endpoint_stall()
619 USETW(req.wLength, 0); in usbd_clear_endpoint_stall_async()
695 USETW(req.wLength, 0); in usbd_set_interface()
921 UGETW(req->wLength), flags | USBD_SYNCHRONOUS, 0); in usbd_do_request_flags()
940 USETW(treq.wLength, sizeof(usb_status_t)); in usbd_do_request_flags()
954 USETW(treq.wLength, 0); in usbd_do_request_flags()
987 USBD_DEFAULT_TIMEOUT, req, NULL, UGETW(req->wLength), in usbd_request_async()
Dif_cue.c162 USETW(req.wLength, 1); in cue_csr_read_1()
192 USETW(req.wLength, 2); in cue_csr_read_2()
224 USETW(req.wLength, 0); in cue_csr_write_1()
260 USETW(req.wLength, 0);
290 USETW(req.wLength, len); in cue_mem()
315 USETW(req.wLength, ETHER_ADDR_LEN); in cue_getmac()
397 USETW(req.wLength, 0); in cue_reset()
Dmbim.h615 uWord wLength; member
667 uWord wLength; member
686 uWord wLength; member
Dif_mos.c201 USETW(req.wLength, 1); in mos_reg_read_1()
229 USETW(req.wLength, 2); in mos_reg_read_2()
257 USETW(req.wLength, 1); in mos_reg_write_1()
285 USETW(req.wLength, 2); in mos_reg_write_2()
310 USETW(req.wLength, ETHER_ADDR_LEN); in mos_readmac()
335 USETW(req.wLength, ETHER_ADDR_LEN); in mos_writemac()
360 USETW(req.wLength, 8); in mos_write_mcast()
Dumcs.c329 USETW(req.wLength, UMCS_READ_LENGTH); in umcs_get_reg()
346 USETW(req.wLength, 0); in umcs_set_reg()
367 USETW(req.wLength, UMCS_READ_LENGTH); in umcs_get_uart_reg()
388 USETW(req.wLength, 0); in umcs_set_uart_reg()
Dmoscom.c285 USETW(req.wLength, 0); in moscom_open()
389 USETW(req.wLength, 0); in moscom_cmd()
Dubcmtp.c657 USETW(r.wLength, UBCMTP_WELLSPRING_MODE_LEN); in ubcmtp_raw_mode()
661 USETW(r.wLength, UBCMTP_WELLSPRING9_MODE_LEN); in ubcmtp_raw_mode()
684 USETW(r.wLength, UBCMTP_WELLSPRING_MODE_LEN); in ubcmtp_raw_mode()
688 USETW(r.wLength, UBCMTP_WELLSPRING9_MODE_LEN); in ubcmtp_raw_mode()
Dumsm.c578 if (UGETW(buf->wLength) != 2) in umsm_intr()
638 USETW(req.wLength, 0); in umsm_set()
653 USETW(req.wLength, 0); in umsm_huawei_changemode()
671 USETW(req.wLength, 0); in umsm_truinstall_changemode()
Dusbcdc.h156 uWord wLength; member
Dif_udav.c373 USETW(req.wLength, len);
410 USETW(req.wLength, len);
446 USETW(req.wLength, 0x0000);
484 USETW(req.wLength, len); in udav_csr_read()
521 USETW(req.wLength, len); in udav_csr_write()
571 USETW(req.wLength, 0x0000); in udav_csr_write1()
Dulpt.c325 USETW(req.wLength, DEVINFOSIZE - 1); in ulpt_attach()
393 USETW(req.wLength, 1); in ulpt_status()
411 USETW(req.wLength, 0); in ulpt_reset()
Duhidev.c776 USETW(req.wLength, len); in uhidev_set_report()
841 USETW(req.wLength, len); in uhidev_set_report_async()
867 USETW(req.wLength, len); in uhidev_get_report()
945 USETW(req.wLength, len); in uhidev_get_report_async()

123