| /netbsd-src/sys/dev/usb/ |
| H A D | usbdi_util.c | 162 int res, actlen; in usbd_get_initial_ddesc() local 170 &actlen, USBD_DEFAULT_TIMEOUT); in usbd_get_initial_ddesc() 173 if (actlen < 8) in usbd_get_initial_ddesc() 186 int actlen; in usbd_get_string_desc() local 201 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in usbd_get_string_desc() 205 if (actlen < 2) in usbd_get_string_desc() 212 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in usbd_get_string_desc() 216 if (actlen != sdesc->bLength) { in usbd_get_string_desc() 217 DPRINTF("expected %jd, got %jd", sdesc->bLength, actlen, 0, 0); in usbd_get_string_desc() 220 *sizep = actlen; in usbd_get_string_desc()
|
| H A D | uvisor.c | 420 int actlen; in uvisor_init() local 431 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in uvisor_init() 444 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in uvisor_init() 481 int actlen; in uvisor_close() local 492 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in uvisor_close()
|
| H A D | usbroothub.c | 359 int buflen, actlen = -1; in roothub_ctrl_start() local 560 actlen = bus->ub_methods->ubm_rhctrl(bus, req, buf, buflen); in roothub_ctrl_start() 568 if (actlen < 0) in roothub_ctrl_start() 571 xfer->ux_actlen = actlen; in roothub_ctrl_start() 576 (uintptr_t)xfer, buflen, actlen, err); in roothub_ctrl_start()
|
| H A D | auvitek.c | 337 int actlen; in auvitek_read_1() local 348 &actlen, USBD_DEFAULT_TIMEOUT); in auvitek_read_1() 363 int actlen; in auvitek_write_1() local 373 &actlen, USBD_DEFAULT_TIMEOUT); in auvitek_write_1()
|
| H A D | umcs.c | 865 int actlen; in umcs7840_intr() local 883 usbd_get_xfer_status(xfer, NULL, NULL, &actlen, NULL); in umcs7840_intr() 884 if (actlen == 5 || actlen == 13) { in umcs7840_intr() 915 "Invalid interrupt data length %d", actlen); in umcs7840_intr()
|
| H A D | usbdi.c | 1279 void *data, uint16_t flags, int *actlen, uint32_t timeout) in usbd_do_request_flags() argument 1283 return usbd_do_request_len(dev, req, len, data, flags, actlen, timeout); in usbd_do_request_flags() 1288 size_t len, void *data, uint16_t flags, int *actlen, uint32_t timeout) in usbd_do_request_len() argument 1329 if (actlen != NULL) in usbd_do_request_len() 1330 *actlen = xfer->ux_actlen; in usbd_do_request_len()
|
| H A D | usbdi.h | 153 int *actlen, uint32_t timeout);
|
| H A D | ehci.c | 1121 int actlen = 0; in ehci_idone() 1191 actlen += len; in ehci_idone() 1201 xfer->ux_actlen = actlen; in ehci_idone() 1246 actlen += xfer->ux_frlengths[nframes++]; in ehci_idone() 1252 xfer->ux_actlen = actlen; in ehci_idone() 1284 actlen += sqtd->len - EHCI_QTD_GET_BYTES(status); in ehci_idone() 1305 DPRINTF("len=%jd actlen=%jd status=0x%08jx", xfer->ux_length, actlen, in ehci_idone() 1307 xfer->ux_actlen = actlen; in ehci_idone() 2712 int actlen; in ehci_roothub_ctrl() 1107 int actlen = 0; ehci_idone() local 2707 int actlen; ehci_roothub_ctrl() local [all...] |
| H A D | uchcom.c | 430 int *actlen) in generic_control_in() argument 441 USBD_SHORT_XFER_OK, actlen, in generic_control_in()
|
| H A D | umass.c | 1920 uint32_t actlen; in umass_cbi_state() local 1921 usbd_get_xfer_status(xfer,NULL,NULL,&actlen,NULL); in umass_cbi_state() 1923 (uintptr_t)sc, actlen, 0, 0); in umass_cbi_state() 1924 if (actlen != 2) in umass_cbi_state()
|
| H A D | uhci.c | 832 DPRINTF("errcnt =%d actlen =%d pid=%02x", in uhci_dump_td() 1612 int actlen; in uhci_idone() local 1647 actlen = 0; in uhci_idone() 1668 actlen += len; in uhci_idone() 1671 xfer->ux_actlen = actlen; in uhci_idone() 1687 actlen = 0; in uhci_idone() 1698 actlen += UHCI_TD_GET_ACTLEN(status); in uhci_idone() 1714 DPRINTFN(10, "actlen=%jd, status=%#jx", actlen, status, 0, 0); in uhci_idone() 1715 xfer->ux_actlen = actlen; in uhci_idone() [all...] |
| H A D | uhidev.c | 364 int actlen; in uhidev_attach() local 373 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in uhidev_attach()
|
| H A D | ugen.c | 1405 uint32_t actlen = req->sizes[i]; in ugen_isoc_rintr() local 1409 while (actlen > 0) { in ugen_isoc_rintr() 1410 n = uimin(actlen, sce->limit - sce->fill); in ugen_isoc_rintr() 1414 actlen -= n; in ugen_isoc_rintr()
|
| H A D | if_urtw.c | 3063 int actlen, flen, len, rssi, s; in urtw_rxeof() local 3075 usbd_get_xfer_status(xfer, NULL, NULL, &actlen, NULL); in urtw_rxeof() 3076 if (actlen < URTW_MIN_RXBUFSZ) { in urtw_rxeof() 3083 len = actlen - (4 * 4); in urtw_rxeof() 3086 len = actlen - (4 * 5); in urtw_rxeof() 3090 if (flen > actlen) { in urtw_rxeof()
|
| H A D | ohci.c | 1451 int i, j, actlen, iframes, uedir; in ohci_softintr() 1639 actlen = 0; in ohci_softintr() 1666 actlen += len; in ohci_device_ctrl_done() 1677 xfer->ux_actlen = actlen; in ohci_device_ctrl_done() 1717 DPRINTFN(10, "xfer=%#jx, actlen=%jd", (uintptr_t)xfer, in ohci_rhsc_softint() 1737 DPRINTFN(10, "xfer=%#jx, actlen=%jd", (uintptr_t)xfer, xfer->ux_actlen, in ohci_rhsc() 3809 DPRINTFN(10, "xfer=%#jx, actlen=%jd", (uintptr_t)xfer, xfer->ux_actlen, in ohci_device_isoc_close() 1423 int i, j, actlen, iframes, uedir; ohci_softintr() local
|
| H A D | xhci.c | 4306 int actlen; in xhci_roothub_ctrl() 4309 actlen = xhci_roothub_ctrl_locked(bus, req, buf, buflen); in xhci_roothub_ctrl() 4312 return actlen; in xhci_roothub_ctrl() 4308 int actlen; xhci_roothub_ctrl() local
|
| /netbsd-src/sys/dev/ic/ |
| H A D | sl811hs.c | 1937 unsigned int actlen; in slhci_abdone() local 2014 actlen = 0; in slhci_abdone() 2042 actlen = len; in slhci_abdone() 2044 actlen = len - cont; in slhci_abdone() 2050 if (actlen && (spipe->tregs[PID] & SL11_PID_BITS) == SL11_PID_IN) { in slhci_abdone() 2139 xfer->ux_actlen += actlen; in slhci_abdone() 2142 if (actlen == spipe->tregs[LEN] && in slhci_abdone() 2144 spipe->buffer += actlen; in slhci_abdone() 2147 if (xfer->ux_length - xfer->ux_actlen < actlen) { in slhci_abdone() 2202 start_cc_time(&t_copy_from_dev, actlen); in slhci_abdone() [all …]
|