Home
last modified time | relevance | path

Searched refs:transfer (Results 1 – 25 of 172) sorted by relevance

1234567

/freebsd-12-stable/lib/libusb/
Dlibusb10_io.c520 libusb10_do_transfer_cb(struct libusb_transfer *transfer) in libusb10_do_transfer_cb() argument
525 ctx = libusb10_get_context_by_device_handle(transfer->dev_handle); in libusb10_do_transfer_cb()
529 pdone = transfer->user_data; in libusb10_do_transfer_cb()
646 libusb_get_iso_packet_buffer(struct libusb_transfer *transfer, uint32_t off) in libusb_get_iso_packet_buffer() argument
651 if (transfer->num_iso_packets < 0) in libusb_get_iso_packet_buffer()
654 if (off >= (uint32_t)transfer->num_iso_packets) in libusb_get_iso_packet_buffer()
657 ptr = transfer->buffer; in libusb_get_iso_packet_buffer()
662 ptr += transfer->iso_packet_desc[n].length; in libusb_get_iso_packet_buffer()
668 libusb_get_iso_packet_buffer_simple(struct libusb_transfer *transfer, uint32_t off) in libusb_get_iso_packet_buffer_simple() argument
672 if (transfer->num_iso_packets < 0) in libusb_get_iso_packet_buffer_simple()
[all …]
Dlibusb.h443 typedef void (*libusb_transfer_cb_fn) (struct libusb_transfer *transfer);
532 void libusb_free_transfer(struct libusb_transfer *transfer);
533 int libusb_submit_transfer(struct libusb_transfer *transfer);
534 int libusb_cancel_transfer(struct libusb_transfer *transfer);
535 uint8_t *libusb_get_iso_packet_buffer(struct libusb_transfer *transfer, uint32_t index);
536 uint8_t *libusb_get_iso_packet_buffer_simple(struct libusb_transfer *transfer, uint32_t index);
537 void libusb_set_iso_packet_lengths(struct libusb_transfer *transfer, uint32_t length);
538 uint8_t *libusb_control_transfer_get_data(struct libusb_transfer *transfer);
539 struct libusb_control_setup *libusb_control_transfer_get_setup(struct libusb_transfer *transfer);
541 void libusb_fill_control_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uin…
[all …]
/freebsd-12-stable/sys/dev/spibus/
Dspigen.c184 struct spi_command transfer = SPI_COMMAND_INITIALIZER; in spigen_transfer() local
196 transfer.tx_cmd = transfer.rx_cmd = malloc(st->st_command.iov_len, in spigen_transfer()
199 transfer.tx_data = transfer.rx_data = malloc(st->st_data.iov_len, in spigen_transfer()
203 transfer.tx_data = transfer.rx_data = NULL; in spigen_transfer()
205 error = copyin(st->st_command.iov_base, transfer.tx_cmd, in spigen_transfer()
206 transfer.tx_cmd_sz = transfer.rx_cmd_sz = st->st_command.iov_len); in spigen_transfer()
208 error = copyin(st->st_data.iov_base, transfer.tx_data, in spigen_transfer()
209 transfer.tx_data_sz = transfer.rx_data_sz = in spigen_transfer()
212 error = SPIBUS_TRANSFER(device_get_parent(dev), dev, &transfer); in spigen_transfer()
214 error = copyout(transfer.rx_cmd, st->st_command.iov_base, in spigen_transfer()
[all …]
/freebsd-12-stable/sys/dev/usb/input/
Duhid_snes.c425 uhid_snes_read_callback(struct usb_xfer *transfer, usb_error_t error) in uhid_snes_read_callback() argument
427 struct uhid_snes_softc *sc = usbd_xfer_softc(transfer); in uhid_snes_read_callback()
432 usbd_xfer_status(transfer, &actual, NULL, NULL, NULL); in uhid_snes_read_callback()
436 switch (USB_GET_STATE(transfer)) { in uhid_snes_read_callback()
441 usbd_xfer_set_interval(transfer, 500); in uhid_snes_read_callback()
447 usbd_xfer_set_interval(transfer, 0); in uhid_snes_read_callback()
450 pc = usbd_xfer_get_frame(transfer, 0); in uhid_snes_read_callback()
456 max = usbd_xfer_max_len(transfer); in uhid_snes_read_callback()
457 usbd_xfer_set_frame_len(transfer, 0, max); in uhid_snes_read_callback()
458 usbd_transfer_submit(transfer); in uhid_snes_read_callback()
[all …]
/freebsd-12-stable/lib/libfetch/
Dftp.errors8 125 OK Data connection already open; transfer starting
19 225 OK Data connection open; no transfer in progress
31 426 ABORT Connection closed; transfer aborted
/freebsd-12-stable/sys/dev/iicbus/twsi/
Dtwsi.c490 sc->transfer = 0; in twsi_error()
509 KASSERT(sc->transfer == 0, in twsi_transfer()
524 sc->transfer = 1; in twsi_transfer()
537 if (sc->error == 0 && sc->transfer != 0) { in twsi_transfer()
540 sc->transfer = 0; in twsi_transfer()
575 if (sc->transfer == 0) { in twsi_intr()
744 sc->transfer = 0; in twsi_intr()
777 debugf(sc, "Done with interrupt, transfer = %d\n", sc->transfer); in twsi_intr()
778 if (sc->transfer == 0) in twsi_intr()
Dtwsi.h65 int transfer; member
/freebsd-12-stable/sys/arm/allwinner/
Dsunxi_dma_if.m82 # Start DMA channel transfer
84 METHOD int transfer {
93 # Halt DMA channel transfer
Daw_spi.c149 int transfer; member
456 sc->transfer = 0; in aw_spi_intr()
521 sc->transfer = 1; in aw_spi_xfer()
523 while (error == 0 && sc->transfer != 0) in aw_spi_xfer()
/freebsd-12-stable/sys/dev/usb/
Dusb_if.m41 # read transfer is complete, in case of short USB
53 uint16_t *plen; /* maximum transfer length */
55 uint8_t *pstate; /* set if transfer is complete, see USB_HR_XXX */
/freebsd-12-stable/contrib/tcpdump/
DREADME84 tcp transfer). Since we assume that one host only sends and
125 unidirectional tcp transfer). [A "chunk" refers to
164 536 packets to transfer the data (i.e., on the average
179 transfer and <seq. number> is the sequence number being sent
184 The problem I was looking at was the bulk-data-transfer
187 ftp transfer of a large file was used as the raw data source.
200 - When transfer is finished, stop tcpdump. Use awk to make up
207 how the transfer behaved:
DREADME.md84 tcp transfer). Since we assume that one host only sends and
125 unidirectional tcp transfer). [A "chunk" refers to
164 536 packets to transfer the data (i.e., on the average
179 transfer and <seq. number> is the sequence number being sent
184 The problem I was looking at was the bulk-data-transfer
187 ftp transfer of a large file was used as the raw data source.
200 - When transfer is finished, stop tcpdump. Use awk to make up
207 how the transfer behaved:
/freebsd-12-stable/sys/dev/mly/
Dmly.c1822 sg = &gen->transfer.direct.sg[0]; in mly_map_command_sg()
1827 gen->transfer.indirect.entries[0] = nseg; in mly_map_command_sg()
1828 …gen->transfer.indirect.table_physaddr[0] = sc->mly_sg_busaddr + (tabofs * sizeof(struct mly_sg_ent… in mly_map_command_sg()
2636 int transfer; in mly_print_packet() local
2664 transfer = 1; in mly_print_packet()
2670 transfer = 1; in mly_print_packet()
2684 transfer = 0; in mly_print_packet()
2706 transfer = 1; in mly_print_packet()
2712 transfer = 1; in mly_print_packet()
2717 transfer = 0; in mly_print_packet()
[all …]
Dmlyreg.h488 union mly_command_transfer transfer; member
970 union mly_command_transfer transfer; member
1064 union mly_command_transfer transfer; member
1110 union mly_command_transfer transfer; member
1129 union mly_command_transfer transfer; member
1147 union mly_command_transfer transfer; member
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
Dilist.h286 void transfer(iterator position, iplist_impl &L2, iterator first, iterator last) {
331 transfer(where, L2, L2.begin(), L2.end());
336 transfer(where, L2, first, last);
339 if (first != last) transfer(where, L2, first, last);
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
Dquarantine.h87 void transfer(QuarantineCache *From) { in transfer() function
203 Cache.transfer(C); in drain()
212 Cache.transfer(C); in drainAndRecycle()
/freebsd-12-stable/contrib/file/magic/Magdir/
Depoc57 >4 lelong 0x100000E5 file transfer protocol
58 >4 lelong 0x100000E5 file transfer protocol
Dnasa7 0 string DAFETF\ NAIF\ DAF\ ENCODED NASA SPICE file (transfer format)
/freebsd-12-stable/usr.bin/tip/tip/
Dcmds.c62 static void transfer(char *, int, char *);
103 transfer(buf, sfd, value(EOFREAD)); in getfl()
130 transfer(line, fd, "\01"); in cu_take()
140 transfer(char *buf, int fd, char *eofchars) in transfer() function
240 transfer(buf, pdes[1], value(EOFREAD)); in pipefile()
/freebsd-12-stable/sys/dev/iicbus/
Diicbb_if.m65 # Prepare device for I2C transfer
72 # Cleanup device after I2C transfer
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
Dtst.memenable.ksh57 xdt:mem::page-grant-transfer
/freebsd-12-stable/usr.bin/tftp/
DMakefile7 SRCS= main.c tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c
/freebsd-12-stable/libexec/tftpd/
DMakefile8 SRCS= tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c tftp-utils.c
/freebsd-12-stable/sys/dev/xdma/
Dxdma_if.m46 # Request a transfer.
55 # Prepare xDMA channel for a scatter-gather transfer.
/freebsd-12-stable/sys/dev/aic7xxx/
Daic79xx.seq459 * completions to continue the data transfer.
481 * is responsible for polling for transfer completion.
845 * Main loop for information transfer phases. Wait for the
875 * re-allocate a FIFO so transfer state is
911 * the transfer has completed successfully. Work
914 * of the new phase. If the transfer has completed
918 * transfer.
1360 * transfer, just mark us at the end rather than perform a
1639 * phase, our transfer location has almost certainly been
1641 * the host driver to fix us up based on the transfer residual
[all …]

1234567