Home
last modified time | relevance | path

Searched refs:actlen (Results 1 – 17 of 17) sorted by relevance

/netbsd/src/sys/dev/usb/
Dusbdi_util.c162 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()
Duvisor.c420 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()
Dusbroothub.c359 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()
Dauvitek.c337 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()
Dumcs.c865 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()
Dusbdi.c1279 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()
Dusbdi.h153 int *actlen, uint32_t timeout);
Dehci.c1121 int actlen = 0; in ehci_idone() local
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() local
2715 actlen = ehci_roothub_ctrl_locked(bus, req, buf, buflen); in ehci_roothub_ctrl()
[all …]
Duchcom.c430 int *actlen) in generic_control_in() argument
441 USBD_SHORT_XFER_OK, actlen, in generic_control_in()
Dumass.c1920 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()
Duhci.c1612 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()
Duhidev.c364 int actlen; in uhidev_attach() local
373 USBD_SHORT_XFER_OK, &actlen, USBD_DEFAULT_TIMEOUT); in uhidev_attach()
Dugen.c1405 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()
Dif_urtw.c3063 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()
Dohci.c1451 int i, j, actlen, iframes, uedir; in ohci_softintr() local
1639 actlen = 0; in ohci_softintr()
1666 actlen += len; in ohci_softintr()
1677 xfer->ux_actlen = actlen; in ohci_softintr()
Dxhci.c4328 int actlen; in xhci_roothub_ctrl() local
4331 actlen = xhci_roothub_ctrl_locked(bus, req, buf, buflen); in xhci_roothub_ctrl()
4334 return actlen; in xhci_roothub_ctrl()
/netbsd/src/sys/dev/ic/
Dsl811hs.c1937 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 …]