Home
last modified time | relevance | path

Searched refs:xfer (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/netbsd/sys/dev/usb/
H A Dusbdi.c398 xfer->ux_buffer = xfer->ux_buf; in usbd_transfer()
405 if (xfer->ux_buffer != xfer->ux_buf) { in usbd_transfer()
640 xfer->ux_bus->ub_methods->ubm_freex(xfer->ux_bus, xfer); in usbd_free_xfer()
687 xfer->ux_methods->upm_fini(xfer); in usbd_destroy_xfer()
1130 xfer->ux_actlen = xfer->ux_length; in usb_transfer_complete()
1160 if (!xfer->ux_status && xfer->ux_actlen < xfer->ux_length && in usb_transfer_complete()
1169 SDT_PROBE2(usb, device, xfer, done, xfer, xfer->ux_status); in usb_transfer_complete()
1172 if (xfer->ux_length != 0 && xfer->ux_buffer != xfer->ux_buf) { in usb_transfer_complete()
1178 memcpy(xfer->ux_buffer, xfer->ux_buf, xfer->ux_actlen); in usb_transfer_complete()
1183 (uintptr_t)xfer, (uintptr_t)xfer->ux_callback, xfer->ux_status, 0); in usb_transfer_complete()
[all …]
H A Dmotg.c1027 xfer->ux_length, xfer->ux_flags, 0); in motg_root_intr_start()
1335 ep->xfer = xfer; in motg_device_ctrl_start1()
1395 struct usbd_xfer *xfer = ep->xfer; in motg_device_ctrl_intr_rx() local
1414 (xfer != NULL) ? xfer->ux_status : 0); in motg_device_ctrl_intr_rx()
1516 struct usbd_xfer *xfer = ep->xfer; in motg_device_ctrl_intr_tx() local
1699 KASSERT(otgpipe->hw_ep->xfer != xfer); in motg_device_ctrl_done()
1778 ep->xfer = xfer; in motg_device_data_start1()
1912 struct usbd_xfer *xfer = ep->xfer; in motg_device_intr_rx() local
2033 struct usbd_xfer *xfer = ep->xfer; in motg_device_intr_tx() local
2163 KASSERT(otgpipe->hw_ep->xfer != xfer); in motg_device_data_done()
[all …]
H A Dohci.c549 cur->xfer = xfer; in ohci_alloc_std_chain()
661 cur->xfer = xfer; in ohci_reset_std_chain()
698 cur->xfer = xfer; in ohci_reset_std_chain()
1498 xfer = std->xfer; in ohci_softintr()
1581 xfer = sitd->xfer; in ohci_softintr()
2368 std->xfer = xfer; in ohci_abortx()
2860 setup->xfer = xfer; in ohci_device_ctrl_start()
2880 stat->xfer = xfer; in ohci_device_ctrl_start()
3463 sitd->xfer = xfer; in ohci_device_isoc_init()
3616 sitd->xfer = xfer; in ohci_device_isoc_enter()
[all …]
H A Dvhci.c730 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in vhci_root_intr_abort()
803 if (xfer == NULL) { in vhci_usb_attach()
812 p = xfer->ux_buf; in vhci_usb_attach()
815 xfer->ux_actlen = xfer->ux_length; in vhci_usb_attach()
863 struct usbd_xfer *xfer = &vxfer->xfer; in vhci_port_flush() local
899 p = xfer->ux_buf; in vhci_usb_detach()
902 xfer->ux_actlen = xfer->ux_length; in vhci_usb_detach()
1091 struct usbd_xfer *xfer = &vxfer->xfer; in vhci_fd_read() local
1095 xfer->ux_actlen = xfer->ux_length; in vhci_fd_read()
1169 struct usbd_xfer *xfer = &vxfer->xfer; in vhci_fd_write() local
[all …]
H A Dehci.c862 xfer->ux_actlen = xfer->ux_length; in ehci_pcd()
1606 "xfer %p state %d\n", xfer, xfer->ux_state); in ehci_freex()
2829 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in ehci_root_intr_abort()
3021 cur->xfer = xfer; in ehci_alloc_sqtd_chain()
3599 setup->xfer = xfer; in ehci_device_ctrl_init()
3611 status->xfer = xfer; in ehci_device_ctrl_init()
3934 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in ehci_device_bulk_start()
3961 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ehci_device_bulk_start()
4031 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ehci_device_bulk_done()
4133 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in ehci_device_intr_start()
[all …]
H A Duhci.c682 "xfer %p state %d\n", xfer, xfer->ux_state); in uhci_freex()
2269 xfer->ux_length, xfer->ux_flags, 0); in uhci_device_bulk_start()
2277 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in uhci_device_bulk_start()
2626 xfer->ux_length, xfer->ux_flags, 0); in uhci_device_intr_init()
2674 xfer->ux_length, xfer->ux_flags, 0); in uhci_device_intr_start()
2682 KASSERT(xfer->ux_length <= xfer->ux_bufsize); in uhci_device_intr_start()
2866 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in uhci_device_isoc_transfer()
3140 xfer->ux_actlen, xfer->ux_state, 0, 0); in uhci_device_isoc_done()
3200 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in uhci_device_intr_done()
3253 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in uhci_device_bulk_done()
[all …]
/netbsd/sys/dev/scsipi/
H A Datapi_wdc.c215 if (xfer == NULL) { in wdc_atapi_get_params()
625 xfer->c_bcount <= 0xffff ? xfer->c_bcount : 0xffff, in wdc_atapi_start()
718 wdc_dmawait(chp, xfer, xfer->c_scsipi->timeout); in wdc_atapi_poll()
803 xfer->c_drive, xfer->c_bcount, xfer->c_skip); in wdc_atapi_intr()
823 if ((xfer->c_flags & C_TIMEOU) && (xfer->c_flags & C_DMA)) { in wdc_atapi_intr()
859 xfer->c_databuf, xfer->c_bcount, dma_flags); in wdc_atapi_intr()
914 xfer->c_atapi.c_lenoff = len - xfer->c_bcount; in wdc_atapi_intr()
934 (char *)xfer->c_databuf + xfer->c_skip, len); in wdc_atapi_intr()
968 xfer->c_atapi.c_lenoff = len - xfer->c_bcount; in wdc_atapi_intr()
988 (char *)xfer->c_databuf + xfer->c_skip, len); in wdc_atapi_intr()
[all …]
/netbsd/sys/external/bsd/dwc2/
H A Ddwc2.c311 xfer->ux_actlen = xfer->ux_length; in dwc2_rhc()
647 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in dwc2_root_intr_abort()
911 DPRINTFN(1, "xfer=%p pipe=%p\n", xfer, xfer->ux_pipe); in dwc2_device_start()
953 " mps=%d dir %s\n", xfer, xfer->ux_nframes, xfer->ux_flags, addr, in dwc2_device_start()
967 " mps=%d dir %s\n", xfer, xfer->ux_length, xfer->ux_flags, addr, in dwc2_device_start()
1101 xfer); in dwc2_device_start()
1410 if (!xfer) { in dwc2_host_complete()
1433 xfer->ux_actlen += xfer->ux_frlengths[i]; in dwc2_host_complete()
1446 xfer->ux_actlen < xfer->ux_length) in dwc2_host_complete()
1482 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_actlen, in dwc2_host_complete()
[all …]
/netbsd/sys/dev/ata/
H A Dsatapmp_subr.c52 struct ata_xfer *xfer) in satapmp_read_8() argument
65 memset(xfer, 0, sizeof(*xfer)); in satapmp_read_8()
77 ata_wait_cmd(chp, xfer); in satapmp_read_8()
106 struct ata_xfer *xfer) in satapmp_read() argument
121 struct ata_xfer *xfer) in satapmp_write_8() argument
134 memset(xfer, 0, sizeof(*xfer)); in satapmp_write_8()
150 ata_wait_cmd(chp, xfer); in satapmp_write_8()
174 struct ata_xfer *xfer) in satapmp_write() argument
207 xfer) != 0) in satapmp_reset_device_port()
273 struct ata_xfer *xfer; in satapmp_attach() local
[all …]
H A Data_wdc.c159 xfer->c_flags |= C_DMA; in wdc_ata_bio()
428 (char *)xfer->c_databuf + xfer->c_skip, in _wdc_ata_bio_start()
487 if ((xfer->c_flags & C_PIOBM) && xfer->c_skip == 0) { in _wdc_ata_bio_start()
495 (char *)xfer->c_databuf + xfer->c_skip, in _wdc_ata_bio_start()
496 xfer->c_bcount, in _wdc_ata_bio_start()
566 xfer->c_drive, in _wdc_ata_bio_start()
586 (char *)xfer->c_databuf + xfer->c_skip, ata_bio->nbytes); in _wdc_ata_bio_start()
676 xfer->c_drive, xfer->c_bcount, xfer->c_skip); in wdc_ata_bio_intr()
741 xfer->c_drive); in wdc_ata_bio_intr()
758 (char *)xfer->c_databuf + xfer->c_skip, ata_bio->nbytes); in wdc_ata_bio_intr()
[all …]
H A Data_recovery.c83 memset(xfer, 0, sizeof(*xfer)); in ata_read_log_ext_ncq()
94 xfer->c_flags |= C_SKIP_QUEUE; in ata_read_log_ext_ncq()
99 xfer->c_ata_c.r_count = 1; in ata_read_log_ext_ncq()
103 xfer->c_ata_c.data = tb; in ata_read_log_ext_ncq()
107 ata_wait_cmd(chp, xfer); in ata_read_log_ext_ncq()
165 struct ata_xfer *xfer; in ata_recovery_resume() local
196 xfer->c_flags |= C_RECOVERED; in ata_recovery_resume()
197 xfer->ops->c_intr(chp, xfer, ATACH_ERR_ST(err, st)); in ata_recovery_resume()
209 xfer->ops->c_intr(chp, xfer, tfd); in ata_recovery_resume()
241 if (drive != xfer->c_drive) in ata_recovery_resume()
[all …]
H A Dwd.c698 KASSERT(bp == xfer->c_bio.bp || xfer->c_bio.bp == NULL); in wdstart1()
705 memset(&xfer->c_bio, 0, sizeof(xfer->c_bio)); in wdstart1()
716 KASSERT(xfer->c_skip < xfer->c_bio.bcount); in wdstart1()
718 xfer->c_bio.bcount -= xfer->c_skip; in wdstart1()
719 xfer->c_bio.blkno += xfer->c_skip / secsize; in wdstart1()
756 (((xfer->c_bio.blkno + xfer->c_bio.bcount / secsize) > in wdstart1()
835 xfer = NULL; in wd_diskstart()
1029 noerror: if ((xfer->c_bio.flags & ATA_CORR) || xfer->c_retries > 0) in wddone()
1068 wdstart1(wd, xfer->c_bio.bp, xfer); in wdbioretry()
1085 wdstart1(wd, xfer->c_bio.bp, xfer); in wdbiorequeue()
[all …]
H A Data.c827 if (xfer == NULL) { in ata_get_params()
1021 xfer->c_chp = chp; in ata_exec_xfer()
1118 "wait active\n", xfer, chp->ch_channel, xfer->c_drive), in atastart()
1239 rv = xfer->ops->c_start(chp, xfer); in ata_xfer_start()
1251 KASSERT(xfer->ops != NULL && xfer->ops->c_poll != NULL); in ata_xfer_start()
1252 status = xfer->ops->c_poll(chp, xfer); in ata_xfer_start()
1259 KASSERT(xfer->ops != NULL && xfer->ops->c_abort != NULL); in ata_xfer_start()
1260 xfer->ops->c_abort(chp, xfer); in ata_xfer_start()
1389 xfer->ops->c_kill_xfer(chp, xfer, KILL_GONE); in ata_waitdrain_xfer_check()
1459 xfer->ops->c_kill_xfer(xfer->c_chp, xfer, reason); in ata_kill_active()
[all …]
H A Data_subr.c95 if (xfer->c_slot == hwslot) in ata_queue_hwslot_to_xfer()
101 KASSERTMSG((xfer != NULL), in ata_queue_hwslot_to_xfer()
105 return xfer; in ata_queue_hwslot_to_xfer()
111 struct ata_xfer *xfer; in ata_queue_get_active_xfer_locked() local
116 if (xfer && ISSET(xfer->c_flags, C_NCQ)) { in ata_queue_get_active_xfer_locked()
118 xfer = NULL; in ata_queue_get_active_xfer_locked()
121 return xfer; in ata_queue_get_active_xfer_locked()
139 return xfer; in ata_queue_get_active_xfer()
153 KASSERT(xfer != NULL); in ata_queue_drive_active_xfer()
157 return xfer; in ata_queue_drive_active_xfer()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/bn/asm/
H A Dparisc-mont.pl243 ldd -8($xfer),$nm0
252 ldd 0($xfer),$ab1
256 ldd 8($xfer),$nm1
283 ldd 0($xfer),$ab1
287 ldd 8($xfer),$nm1
301 ldd 0($xfer),$ab1
373 ldd 0($xfer),$ab1
377 ldd 8($xfer),$nm1
408 ldd 0($xfer),$ab1
412 ldd 8($xfer),$nm1
[all …]
/netbsd/crypto/external/bsd/openssl/dist/crypto/bn/asm/
H A Dparisc-mont.pl245 ldd -8($xfer),$nm0
254 ldd 0($xfer),$ab1
258 ldd 8($xfer),$nm1
285 ldd 0($xfer),$ab1
289 ldd 8($xfer),$nm1
303 ldd 0($xfer),$ab1
375 ldd 0($xfer),$ab1
379 ldd 8($xfer),$nm1
410 ldd 0($xfer),$ab1
414 ldd 8($xfer),$nm1
[all …]
/netbsd/sys/dev/ieee1394/
H A Dfwmem.c343 if (fw_asyreq(xfer->fc, -1, xfer) == 0) in fwmem_read_quad()
344 return xfer; in fwmem_read_quad()
368 xfer->send.payload = xfer->recv.payload = NULL; in fwmem_write_quad()
374 if (fw_asyreq(xfer->fc, -1, xfer) == 0) in fwmem_write_quad()
375 return xfer; in fwmem_write_quad()
406 if (fw_asyreq(xfer->fc, -1, xfer) == 0) in fwmem_read_block()
407 return xfer; in fwmem_read_block()
438 if (fw_asyreq(xfer->fc, -1, xfer) == 0) in fwmem_write_block()
439 return xfer; in fwmem_write_block()
463 xfer->sc = sc; in fwmem_xfer_req()
[all …]
H A Dfirewire.c516 xfer->hand(xfer); in fw_drain_txq()
769 for (xfer = STAILQ_FIRST(&fwb->xferlist); xfer != NULL; xfer = next) { in fw_bindremove()
804 for (xfer = STAILQ_FIRST(q); xfer != NULL; xfer = next) { in fw_xferlist_remove()
873 fw_tl_free(xfer->fc, xfer); in fw_xfer_done()
874 xfer->hand(xfer); in fw_xfer_done()
921 free(xfer, xfer->malloc); in fw_xfer_free()
934 free(xfer->send.payload, xfer->malloc); in fw_xfer_free_buf()
940 free(xfer, xfer->malloc); in fw_xfer_free_buf()
1201 rb->xfer->hand(rb->xfer); in fw_rcv()
1318 xfer->hand(xfer); in firewire_xfer_timeout()
[all …]
H A Dif_fwip.c386 if (xfer == NULL) in fwip_init()
392 xfer->fc = fc; in fwip_init()
394 xfer->mbuf = m; in fwip_init()
454 for (xfer = STAILQ_FIRST(&sc->sc_fwb.xferlist); xfer != NULL; in fwip_stop()
460 for (xfer = STAILQ_FIRST(&sc->sc_xferlist); xfer != NULL; in fwip_stop()
543 xfer = NULL; in fwip_async_output()
581 xfer->mbuf = m; in fwip_async_output()
662 xfer->mbuf = 0; in fwip_async_output()
812 xfer->mbuf = m; in fwip_unicast_input_recycle()
831 m = xfer->mbuf; in fwip_unicast_input()
[all …]
/netbsd/sys/arch/mips/adm5120/dev/
H A Dahci.c416 #define AHCI_XFER2SC(xfer) AHCI_BUS2SC((xfer)->ux_bus) argument
503 if (xfer) { in ahci_allocx()
508 xfer, xfer->ux_state); in ahci_allocx()
512 xfer = kmem_alloc(sizeof(*xfer), KM_SLEEP); in ahci_allocx()
515 memset(xfer, 0, sizeof(*xfer)); in ahci_allocx()
520 return xfer; in ahci_allocx()
534 xfer, xfer->ux_state); in ahci_freex()
765 KASSERT(xfer->ux_pipe->up_intrxfer == xfer); in ahci_root_intr_abort()
1231 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ahci_device_bulk_start()
1293 usb_syncmem(&xfer->ux_dmabuf, 0, xfer->ux_length, in ahci_device_bulk_start()
[all …]
/netbsd/sys/rump/dev/lib/libugenhc/
H A Dugenhc.c234 buf = xfer->ux_buf; in rumpusb_device_ctrl_start()
395 xfer->ux_status = err; in rumpusb_device_ctrl_start()
446 struct usbd_xfer *xfer; in rhscintr() local
469 memset(xfer->ux_buffer, 0xff, xfer->ux_length); in rhscintr()
470 xfer->ux_actlen = xfer->ux_length; in rhscintr()
500 memset(xfer->ux_buffer, 0xff, xfer->ux_length); in rhscintr()
501 xfer->ux_actlen = xfer->ux_length; in rhscintr()
521 sc->sc_intrxfer = xfer; in rumpusb_root_intr_start()
592 buf = xfer->ux_buf; in rumpusb_device_bulk_start()
599 len = xfer->ux_length; in rumpusb_device_bulk_start()
[all …]
/netbsd/sys/dev/ic/
H A Dmvsata.c465 ret = xfer->ops->c_intr(chp, xfer, 1); in mvsata_nondma_handle()
1333 chp->ch_channel, xfer->c_drive, xfer->c_bcount, in mvsata_bio_intr()
2189 wdc_dmawait(chp, xfer, xfer->c_scsipi->timeout); in mvsata_atapi_poll()
2248 chp->ch_channel, xfer->c_bcount, xfer->c_skip); in mvsata_atapi_intr()
2333 xfer->c_atapi.c_lenoff = len - xfer->c_bcount; in mvsata_atapi_intr()
2343 (char *)xfer->c_databuf + xfer->c_skip, len); in mvsata_atapi_intr()
2369 xfer->c_atapi.c_lenoff = len - xfer->c_bcount; in mvsata_atapi_intr()
2379 (char *)xfer->c_databuf + xfer->c_skip, len); in mvsata_atapi_intr()
2511 xfer->c_drive, xfer->c_atapi.c_dscpoll)); in mvsata_atapi_phase_complete()
2565 xfer->c_drive, xfer->c_bcount)); in mvsata_atapi_phase_complete()
[all …]
H A Dsiisata.c593 if (xfer != NULL) { in siisata_intr_port()
594 xfer->ops->c_intr(chp, xfer, tfd); in siisata_intr_port()
611 xfer->ops->c_intr(chp, xfer, 0); in siisata_intr_port()
967 chp->ch_channel, xfer->c_drive, ata_c->r_command, xfer->c_slot), in siisata_cmd_start()
1025 ata_timeout(xfer); in siisata_cmd_poll()
1204 chp->ch_channel, xfer->c_slot, xfer->c_drive), DEBUG_FUNCS); in siisata_bio_start()
1254 ata_timeout(xfer); in siisata_bio_poll()
1323 chp->ch_channel, xfer->c_slot, xfer->c_drive, tfd), DEBUG_FUNCS); in siisata_bio_complete()
1753 if (xfer == NULL) { in siisata_atapi_scsipi_request()
1818 xfer->c_bcount, in siisata_atapi_start()
[all …]
H A Dahcisata_core.c653 struct ata_xfer *xfer; in ahci_intr_port_common() local
736 xfer->ops->c_intr(chp, xfer, tfd); in ahci_intr_port_common()
753 xfer->ops->c_intr(chp, xfer, tfd); in ahci_intr_port_common()
1162 xfer->c_flags |= C_POLL; in ahci_exec_command()
1179 int slot = xfer->c_slot; in ahci_cmd_start()
1264 xfer->ops->c_intr(chp, xfer, 0); in ahci_cmd_poll()
1507 xfer->ops->c_intr(chp, xfer, 0); in ahci_bio_poll()
1875 struct ata_xfer *xfer; in ahci_atapi_scsipi_request() local
1890 if (xfer == NULL) { in ahci_atapi_scsipi_request()
1898 xfer->c_drive = drive; in ahci_atapi_scsipi_request()
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/via/
H A Dvia_dmablit.c319 vsg->num_pages = VIA_PFN(xfer->mem_addr + (xfer->num_lines * xfer->mem_stride - 1)) - in via_lock_all_dma_pages()
777 if (xfer->num_lines <= 0 || xfer->line_length <= 0) { in via_build_sg_info()
795 if ((xfer->mem_stride == xfer->line_length) && in via_build_sg_info()
796 (xfer->fb_stride == xfer->line_length)) { in via_build_sg_info()
797 xfer->mem_stride *= xfer->num_lines; in via_build_sg_info()
798 xfer->line_length = xfer->mem_stride; in via_build_sg_info()
799 xfer->fb_stride = xfer->mem_stride; in via_build_sg_info()
808 if (xfer->num_lines > 2048 || (xfer->num_lines*xfer->mem_stride > (2048*2048*4))) { in via_build_sg_info()
818 if (xfer->mem_stride < xfer->line_length || in via_build_sg_info()
819 abs(xfer->fb_stride) < xfer->line_length) { in via_build_sg_info()
[all …]

12345678910>>...12