Searched refs:transfer (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-current/lib/libusb/
H A Dlibusb10_io.c216 /* Allow the callback to free the transfer itself. */
222 /* Check if the USB transfer should be automatically freed. */
519 libusb10_do_transfer_cb(struct libusb_transfer *transfer) argument
524 ctx = libusb10_get_context_by_device_handle(transfer->dev_handle);
528 pdone = transfer->user_data;
534 * per-transfer basis is slow. --HPS
645 libusb_get_iso_packet_buffer(struct libusb_transfer *transfer, uint32_t off) argument
650 if (transfer->num_iso_packets < 0)
653 if (off >= (uint32_t)transfer->num_iso_packets)
656 ptr = transfer
667 libusb_get_iso_packet_buffer_simple(struct libusb_transfer *transfer, uint32_t off) argument
687 libusb_set_iso_packet_lengths(struct libusb_transfer *transfer, uint32_t length) argument
699 libusb_control_transfer_get_data(struct libusb_transfer *transfer) argument
708 libusb_control_transfer_get_setup(struct libusb_transfer *transfer) argument
729 libusb_fill_control_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t *buf, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
752 libusb_fill_bulk_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
768 libusb_fill_interrupt_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
784 libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, int npacket, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout) argument
817 libusb_transfer_set_stream_id(struct libusb_transfer *transfer, uint32_t stream_id) argument
832 libusb_transfer_get_stream_id(struct libusb_transfer *transfer) argument
[all...]
H A Dlibusb.h457 typedef void (*libusb_transfer_cb_fn) (struct libusb_transfer *transfer);
547 void libusb_free_transfer(struct libusb_transfer *transfer);
548 int libusb_submit_transfer(struct libusb_transfer *transfer);
549 int libusb_cancel_transfer(struct libusb_transfer *transfer);
550 uint8_t *libusb_get_iso_packet_buffer(struct libusb_transfer *transfer, uint32_t index);
551 uint8_t *libusb_get_iso_packet_buffer_simple(struct libusb_transfer *transfer, uint32_t index);
552 void libusb_set_iso_packet_lengths(struct libusb_transfer *transfer, uint32_t length);
553 uint8_t *libusb_control_transfer_get_data(struct libusb_transfer *transfer);
554 struct libusb_control_setup *libusb_control_transfer_get_setup(struct libusb_transfer *transfer);
556 void libusb_fill_control_transfer(struct libusb_transfer *transfer, libusb_device_handl
[all...]
/freebsd-current/sys/dev/qcom_qup/
H A Dqcom_spi_hw.c275 * the SPI transfer machine do its thing. If you want to be able
279 * NOR/NAND devices tend to stop a block transfer.)
371 * Make initial transfer selections based on the transfer sizes
384 * For now only support doing a single FIFO transfer.
385 * The main PIO transfer routine loop will break it up for us.
388 sc->transfer.tx_offset = 0;
389 sc->transfer.rx_offset = 0;
390 sc->transfer.tx_len = 0;
391 sc->transfer
[all...]
H A Dqcom_spi.c135 * transfer.
137 if (sc->transfer.active == false) {
170 * it at the beginning of the transfer.
188 * transfer in the PIO receive path above and it will
193 sc->transfer.done = true;
195 "%s: transfer done\n", __func__);
393 device_printf(dev, "ERROR: Could not read transfer config\n");
457 * Do a PIO transfer.
484 * Make initial choices for transfer configuration.
489 "ERROR: failed to setup transfer selectio
[all...]
H A Dqcom_spi_var.h50 bool sc_busy; /* an SPI transfer (cmd+data)
66 * So if the transfer size is set to 8 bits per
83 uint32_t transfer_word_size; /* how many bytes in a transfer word */
98 bool active; /* a (sub) transfer is active */
99 uint32_t num_words; /* number of word_size words to transfer */
107 } transfer; member in struct:qcom_spi_softc
/freebsd-current/sys/dev/spibus/
H A Dspigen.c182 struct spi_command transfer = SPI_COMMAND_INITIALIZER; local
194 transfer.tx_cmd = transfer.rx_cmd = malloc(st->st_command.iov_len,
197 transfer.tx_data = transfer.rx_data = malloc(st->st_data.iov_len,
201 transfer.tx_data = transfer.rx_data = NULL;
203 error = copyin(st->st_command.iov_base, transfer.tx_cmd,
204 transfer.tx_cmd_sz = transfer
227 struct spi_command transfer = SPI_COMMAND_INITIALIZER; local
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.h28 bool transfer(const CFGElement &Element, Environment &Env) override;
H A DUncheckedOptionalAccessModel.h55 void transfer(const CFGElement &Elt, NoopLattice &L, Environment &Env);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.memenable.ksh57 xdt:mem::page-grant-transfer
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DNoopAnalysis.h9 // This file defines a NoopAnalysis class that just uses the builtin transfer.
35 void transfer(const CFGElement &E, NoopLattice &L, Environment &Env) {} function in class:clang::dataflow::NoopAnalysis
H A DTransfer.h9 // This file defines a transfer function that evaluates a program statement and
56 void transfer(const StmtToEnvMap &StmtToEnv, const Stmt &S, Environment &Env);
H A DDataflowAnalysis.h48 /// * `void transfer(const CFGElement &, LatticeT &, Environment &)` - applies
49 /// the analysis transfer function for a given CFG element and lattice
54 /// Environment &Env)` - applies the analysis transfer
75 /// quickly than iterated application of the transfer function alone. The
124 static_cast<Derived *>(this)->transfer(Element, L, Env);
326 virtual bool transfer(const CFGElement &Element, Environment &Env) = 0;
/freebsd-current/usr.bin/tftp/
H A DMakefile7 SRCS= main.c tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c
/freebsd-current/libexec/tftpd/
H A DMakefile6 SRCS= tftp-file.c tftp-io.c tftp-options.c tftp-transfer.c tftp-utils.c
/freebsd-current/sys/dev/usb/input/
H A Duhid_snes.c443 uhid_snes_read_callback(struct usb_xfer *transfer, usb_error_t error) argument
445 struct uhid_snes_softc *sc = usbd_xfer_softc(transfer);
450 usbd_xfer_status(transfer, &actual, NULL, NULL, NULL);
454 switch (USB_GET_STATE(transfer)) {
459 usbd_xfer_set_interval(transfer, 500);
465 usbd_xfer_set_interval(transfer, 0);
468 pc = usbd_xfer_get_frame(transfer, 0);
474 max = usbd_xfer_max_len(transfer);
475 usbd_xfer_set_frame_len(transfer, 0, max);
476 usbd_transfer_submit(transfer);
495 uhid_snes_status_callback(struct usb_xfer *transfer, usb_error_t error) argument
[all...]
/freebsd-current/sys/dev/iicbus/controller/twsi/
H A Dtwsi.h59 int transfer; member in struct:twsi_softc
H A Dtwsi.c476 * Must send stop condition to abort the current transfer.
479 sc->transfer = 0;
498 KASSERT(sc->transfer == 0,
499 ("starting a transfer while another is active"));
505 debugf(sc, "Bad status at start of transfer\n");
513 sc->transfer = 1;
526 if (sc->error == 0 && sc->transfer != 0) {
527 device_printf(sc->dev, "transfer timeout\n");
529 sc->transfer = 0;
564 if (sc->transfer
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dpci_hda.h86 int (*transfer)(struct hda_codec_inst *hci, uint8_t stream, member in struct:hda_ops
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.cpp53 bool ChromiumCheckModel::transfer(const CFGElement &Element, Environment &Env) { function in class:clang::dataflow::ChromiumCheckModel
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dilist.h220 // transfer - The heart of the splice function. Move linked list nodes from
223 void transfer(iterator position, iplist_impl &L2, iterator first, iterator last) { function in class:llvm::iplist_impl
265 // Splice members - defined in terms of transfer...
268 transfer(where, L2, L2.begin(), L2.end());
273 transfer(where, L2, first, last);
276 if (first != last) transfer(where, L2, first, last);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h88 void transfer(QuarantineCache *From) { function in class:scudo::QuarantineCache
211 Cache.transfer(C);
222 Cache.transfer(C);
/freebsd-current/usr.bin/tip/tip/
H A Dcmds.c52 static void transfer(char *, int, char *);
93 transfer(buf, sfd, value(EOFREAD));
120 transfer(line, fd, "\01");
126 * Bulk transfer routine --
130 transfer(char *buf, int fd, char *eofchars) function
230 transfer(buf, pdes[1], value(EOFREAD));
291 * Bulk transfer routine to remote host --
/freebsd-current/lib/libc/amd64/string/
H A Dstpncpy.S243 cmp $16, %edx # at least 16 bytes to transfer?
247 cmp $8, %edx # at least 8 bytes to transfer?
250 cmp $4, %edx # at least 4 bytes to transfer?
256 cmp $2, %edx # at least 2 bytes to transfer?
/freebsd-current/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c55 #define AW_SPI_TCR_XCH (1 << 31) /* Initiate transfer */
146 int transfer; member in struct:aw_spi_softc
453 sc->transfer = 0;
518 sc->transfer = 1;
520 while (error == 0 && sc->transfer != 0)
/freebsd-current/stand/i386/boot2/
H A Dboot1.S100 push %bx # transfer buffer
103 push %ax # transfer
176 * we read it in, we conveniently use 0x8c00 as our transfer buffer. Thus,
345 incw 0xa(%bp) # transfer

Completed in 214 milliseconds

12