/freebsd/lib/libusb/ |
H A D | libusb10_io.c | 216 /* Allow the callback to free the transfer itself. */ in libusb10_handle_events_sub() 222 /* Check if the USB transfer should be automatically freed. */ in libusb10_handle_events_sub() 519 libusb10_do_transfer_cb(struct libusb_transfer *transfer) in libusb10_do_transfer_cb() argument 524 ctx = libusb10_get_context_by_device_handle(transfer->dev_handle); in libusb10_do_transfer_cb() 528 pdone = transfer->user_data; in libusb10_do_transfer_cb() 534 * per-transfer basis is slow. --HPS 645 libusb_get_iso_packet_buffer(struct libusb_transfer *transfer, uint32_t off) in libusb_get_iso_packet_buffer() argument 650 if (transfer->num_iso_packets < 0) in libusb_get_iso_packet_buffer() 653 if (off >= (uint32_t)transfer->num_iso_packets) in libusb_get_iso_packet_buffer() 656 ptr = transfer->buffer; in libusb_get_iso_packet_buffer() [all …]
|
H A D | libusb20.3 | 241 .Sh USB TRANSFER OPERATIONS 261 and bind the transfer to the specified 282 for other transfer types. 303 will return a pointer to the allocated USB transfer according to the 314 will return the completion time of an USB transfer in 323 transfer completed. 329 transferred USB frames for the given USB transfer. 335 allocated when an USB transfer was setup for the given USB transfer. 341 associated with the given USB transfer. 351 frames associated with an USB transfer. [all …]
|
H A D | libusb.3 | 507 Allocate a transfer with the number of isochronous packet descriptors 514 Free a transfer. 518 This function will submit a transfer and returns immediately. 525 This function asynchronously cancels a transfer. 530 Perform a USB control transfer. 536 LIBUSB_ERROR_TIMEOUT if the transfer timed out, LIBUSB_ERROR_PIPE if the 543 Perform an USB bulk transfer. 547 if the transfer timed out, LIBUSB_ERROR_PIPE if the control request was not 554 Perform an USB Interrupt transfer. 558 if the transfer time [all...] |
/freebsd/share/man/man9/ |
H A D | usbdi.9 | 119 .Sh USB TRANSFER MANAGEMENT FUNCTIONS 125 All the transfer types are managed using the following five functions: 141 is a pointer to an array of USB transfer pointers that are initialized 152 is the private mutex protecting the transfer structure and the 164 is a pointer to an array of USB transfer pointers, that may be NULL, 172 This function is NULL safe with regard to the USB transfer structure 175 It is not allowed to call this function from the USB transfer 181 This function will start the USB transfer pointed to by 188 This function is NULL safe with regard to the USB transfer structure 194 This function will stop the USB transfer pointed to by [all …]
|
/freebsd/sys/dev/qcom_qup/ |
H A D | qcom_spi_hw.c | 275 * 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. in qcom_spi_hw_setup_transfer_selection() 385 * The main PIO transfer routine loop will break it up for us. in qcom_spi_hw_setup_transfer_selection() 388 sc->transfer.tx_offset = 0; in qcom_spi_hw_setup_transfer_selection() 389 sc->transfer.rx_offset = 0; in qcom_spi_hw_setup_transfer_selection() 390 sc->transfer.tx_len = 0; in qcom_spi_hw_setup_transfer_selection() 391 sc->transfer.rx_len = 0; in qcom_spi_hw_setup_transfer_selection() 392 sc->transfer.tx_buf = NULL; in qcom_spi_hw_setup_transfer_selection() [all …]
|
H A D | qcom_spi.c | 135 * transfer. in qcom_spi_intr() 137 if (sc->transfer.active == false) { in qcom_spi_intr() 170 * it at the beginning of the transfer. in qcom_spi_intr() 188 * transfer in the PIO receive path above and it will in qcom_spi_intr() 193 sc->transfer.done = true; in qcom_spi_intr() 195 "%s: transfer done\n", __func__); in qcom_spi_intr() 393 device_printf(dev, "ERROR: Could not read transfer config\n"); in qcom_spi_attach() 458 * Do a PIO transfer. 485 * Make initial choices for transfer configuration. in qcom_spi_transfer_pio_block() 490 "ERROR: failed to setup transfer selection (%d)\n", in qcom_spi_transfer_pio_block() [all …]
|
/freebsd/sys/dev/spibus/ |
H A D | spigen.c | 182 struct spi_command transfer = SPI_COMMAND_INITIALIZER; in spigen_transfer() local 194 transfer.tx_cmd = transfer.rx_cmd = malloc(st->st_command.iov_len, in spigen_transfer() 197 transfer.tx_data = transfer.rx_data = malloc(st->st_data.iov_len, in spigen_transfer() 201 transfer.tx_data = transfer.rx_data = NULL; in spigen_transfer() 203 error = copyin(st->st_command.iov_base, transfer.tx_cmd, in spigen_transfer() 204 transfer.tx_cmd_sz = transfer.rx_cmd_sz = st->st_command.iov_len); in spigen_transfer() 206 error = copyin(st->st_data.iov_base, transfer.tx_data, in spigen_transfer() 207 transfer.tx_data_sz = transfer.rx_data_sz = in spigen_transfer() 210 error = SPIBUS_TRANSFER(device_get_parent(dev), dev, &transfer); in spigen_transfer() 212 error = copyout(transfer.rx_cmd, st->st_command.iov_base, in spigen_transfer() [all …]
|
/freebsd/libexec/ypxfr/ |
H A D | ypxfr.8 | 36 .Nd "transfer NIS database from remote server to local host" 64 when it receives a map transfer request from 96 When the transfer is 157 has support for a special map transfer protocol which works in 162 This protocol allows it to transfer raw map database files from 166 transfer method, particularly for very large 178 transfer method, copying the map contents from 191 slave systems can still transfer maps from any 203 Force a map transfer. 206 will not transfer a map if it determines that the [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mailbox/ |
H A D | arm,mhuv2.yaml | 33 - Data-transfer: Each transfer is made of one or more words, using one or more 36 - Doorbell: Each transfer is made up of single bit flag, using any one of the 96 The first field of a tuple signifies the transfer protocol, 0 is reserved 97 for doorbell protocol, and 1 is reserved for data-transfer protocol. 103 windows that implement the doorbell protocol. For data-transfer protocol, 105 the data-transfer protocol. 120 7 windows (separately) used in data-transfer protocol. 135 doorbell, or data-transfer protocol, and the second argument (only 144 mboxes = <&mhu 2 0>; // Channel Window Group 2, data transfer protocol with 1 window. 145 mboxes = <&mhu 3 0>; // Channel Window Group 3, data transfer protocol with 5 windows. [all …]
|
H A D | arm,mhuv3.yaml | 29 - Optionally receive acknowledgment of a Transfer from the Receiver 49 Channel (DBCH). DBCH enables a single bit Transfer to be sent from the 50 Sender to Receiver. The Transfer indicates that an event has occurred. 56 Transfers at once using a single DBCH, so long as each Transfer uses 69 knowing if, or when, the Receiver will act on the Transfer. 86 previous Transfer to be acknowledged by the Receiver, as long as the 87 FIFO has room for the Transfer. 150 description: MBX Doorbell Channel <N> Transfer interrupt 152 description: MBX FastChannel <N> Transfer interrupt 154 description: MBX FastChannel <N> Group Transfer interrupt [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.1 | 43 file transfer program 63 standard File Transfer Protocol. 64 The program allows a user to transfer files to and from a 81 as report on data transfer statistics. 163 File transfer uses the current settings for 170 Set the file transfer 176 Arrange that a bell be sounded after each file transfer 179 Set the file transfer 181 to support binary image transfer. 221 during ascii type file transfer. [all …]
|
H A D | globals.c | 36 char typename[32]; /* name of file transfer type */ 37 int type; /* requested file transfer type */ 38 int curtype; /* current file transfer type */ 39 char structname[32]; /* name of file transfer structure */ 40 int stru; /* file transfer structure */ 41 char formname[32]; /* name of file transfer format */ 42 int form; /* file transfer format */ 43 char modename[32]; /* name of file transfer mode */ 44 int mode; /* file transfer mode */
|
H A D | ftp_var.h | 77 extern char typename[32]; /* name of file transfer type */ 78 extern int type; /* requested file transfer type */ 79 extern int curtype; /* current file transfer type */ 80 extern char structname[32]; /* name of file transfer structure */ 81 extern int stru; /* file transfer structure */ 82 extern char formname[32]; /* name of file transfer format */ 83 extern int form; /* file transfer format */ 84 extern char modename[32]; /* name of file transfer mode */ 85 extern int mode; /* file transfer mode */
|
/freebsd/contrib/tnftp/src/ |
H A D | ftp.1 | 66 .Nd Internet file transfer program 160 is the user interface to the Internet standard File Transfer Protocol. 161 The program allows a user to transfer files to and from a 286 Set the maximum transfer rate for 324 as report on data transfer statistics. 373 File transfer uses the current settings for 380 Set the file transfer 386 Arrange that a bell be sounded after each file transfer 389 Set the file transfer 391 to support binary image transfer. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/dma/stm32/ |
H A D | st,stm32-dma3.yaml | 72 The third cell is a 32-bit mask specifying the DMA transfer requirements: 77 0x0: port 0 is allocated to the source transfer 78 0x1: port 1 is allocated to the source transfer 83 0x0: port 0 is allocated to the destination transfer 84 0x1: port 1 is allocated to the destination transfer 91 -bit 12-13: The transfer complete event mode 92 0x0: at block level, transfer complete event is generated at the end 94 0x2: at LLI level, the transfer complete event is generated at the end 95 of the LLI transfer 97 0x3: at channel level, the transfer complete event is generated at the
|
H A D | st,stm32-mdma.yaml | 24 0x2: Source address pointer is incremented after each data transfer 25 0x3: Source address pointer is decremented after each data transfer 28 0x2: Destination address pointer is incremented after each data transfer 29 0x3: Destination address pointer is decremented after each data transfer 40 -bit 25-18: The number of bytes to be transferred in a single transfer 43 0x00: Each MDMA request triggers a buffer transfer (max 128 bytes) 44 0x1: Each MDMA request triggers a block transfer (max 64K bytes) 45 0x2: Each MDMA request triggers a repeated block transfer 46 0x3: Each MDMA request triggers a linked list transfer
|
/freebsd/sys/contrib/device-tree/Bindings/dma/ |
H A D | st,stm32-mdma.yaml | 24 0x2: Source address pointer is incremented after each data transfer 25 0x3: Source address pointer is decremented after each data transfer 28 0x2: Destination address pointer is incremented after each data transfer 29 0x3: Destination address pointer is decremented after each data transfer 40 -bit 25-18: The number of bytes to be transferred in a single transfer 43 0x00: Each MDMA request triggers a buffer transfer (max 128 bytes) 44 0x1: Each MDMA request triggers a block transfer (max 64K bytes) 45 0x2: Each MDMA request triggers a repeated block transfer 46 0x3: Each MDMA request triggers a linked list transfer
|
/freebsd/sys/dev/usb/ |
H A D | usb_transfer.c | 81 /* This transfer is used for generic control endpoint transfers */ 93 /* This transfer is used for generic clear stall only */ 108 /* This transfer is used for generic control endpoint transfers */ 119 /* This transfer is used for generic clear stall only */ 163 * can transfer multiple consecutive packets. 447 * usbd_transfer_setup_sub - transfer setup subroutine 451 * transfer. This function will setup correct packet sizes, buffer 604 /* check interrupt interval and transfer pre-delay */ in usbd_transfer_setup_sub() 818 * initial frame lengths when a USB transfer is complete. This in usbd_transfer_setup_sub() 1141 * transfer when such a combination is not in usbd_transfer_setup() [all …]
|
H A D | usb_core.h | 36 * The following macro will tell if an USB transfer is currently 86 * The following structure defines a set of internal USB transfer 94 uint8_t transferring:1; /* set if an USB transfer is in 97 uint8_t did_close:1; /* set if we closed the USB transfer */ 99 * transfer */ 102 uint8_t control_xfr:1; /* set if control transfer */ 105 uint8_t control_act:1; /* set if control transfer is active */ 106 uint8_t control_stall:1; /* set if control transfer should be stalled */ 119 uint8_t isochronous_xfr:1; /* set if isochronous transfer */ 121 uint8_t can_cancel_immed:1; /* set if USB transfer can be [all …]
|
/freebsd/sys/dev/usb/input/ |
H A D | uhid_snes.c | 443 uhid_snes_read_callback(struct usb_xfer *transfer, usb_error_t error) in uhid_snes_read_callback() argument 445 struct uhid_snes_softc *sc = usbd_xfer_softc(transfer); in uhid_snes_read_callback() 450 usbd_xfer_status(transfer, &actual, NULL, NULL, NULL); in uhid_snes_read_callback() 454 switch (USB_GET_STATE(transfer)) { in uhid_snes_read_callback() 459 usbd_xfer_set_interval(transfer, 500); in uhid_snes_read_callback() 465 usbd_xfer_set_interval(transfer, 0); in uhid_snes_read_callback() 468 pc = usbd_xfer_get_frame(transfer, 0); in uhid_snes_read_callback() 474 max = usbd_xfer_max_len(transfer); in uhid_snes_read_callback() 475 usbd_xfer_set_frame_len(transfer, 0, max); in uhid_snes_read_callback() 476 usbd_transfer_submit(transfer); in uhid_snes_read_callback() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-context-info-gen3.h | 228 * @tr_tail_idx_arr_base_addr: the transfer ring tail index array 232 * @tr_head_idx_arr_base_addr: the transfer ring head index array 235 * @tr_idx_arr_size: number of entries in the transfer ring index array 236 * @mtr_base_addr: the message transfer ring start address 238 * @mtr_size: number of entries which the message transfer ring can hold 241 * transfer ring 245 * completing a transfer descriptor in the message transfer ring 248 * @mtr_opt_header_size: the size of the optional header in the transfer 249 * descriptor associated with the message transfer rin [all...] |
/freebsd/share/man/man4/ |
H A D | ppbus.4 | 115 This mode defines the protocol used by most PCs to transfer data to a printer. 121 transfer data with the Compatibility mode protocol. 136 any transfer is 8-bits long. 179 transfer and so on. 182 disturbing the current transfer. 209 Any transfer is defined as a finite state automaton. 223 request transfer. 229 accepts the transfer, it must firstly negotiate the reverse mode and then 230 starts the transfer. 231 At any time during reverse transfer, the host may [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/pressure/ |
H A D | honeywell,mprls0025pa.yaml | 20 differ in the pressure range, unit and transfer function. 23 as the transfer function. 31 The transfer function defines the ranges of numerical values delivered by the 60 honeywell,transfer-function: 62 Transfer function which defines the range of valid values delivered by the 98 - honeywell,transfer-function 136 honeywell,transfer-function = <1>; 154 honeywell,transfer-function = <1>;
|
/freebsd/usr.bin/tftp/ |
H A D | tftp.1 | 33 .Nd trivial file transfer program 42 (Trivial File Transfer Protocol), 43 which allows users to transfer files to and from a remote machine. 145 .It Cm mode Ar transfer-mode 147 .Ar transfer-mode 158 out of 100 packets during a transfer. 243 .%T RFC 2349: TFTP Timeout Interval and Transfer Size Options 246 …e Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP)
|
/freebsd/sys/dev/flash/ |
H A D | cqspi.h | 105 #define CQSPI_INDRD 0x60 /* Indirect Read Transfer Control Register */ 108 #define CQSPI_INDRDWATER 0x64 /* Indirect Read Transfer Watermark Register */ 109 #define CQSPI_INDRDSTADDR 0x68 /* Indirect Read Transfer Start Address Register */ 110 #define CQSPI_INDRDCNT 0x6C /* Indirect Read Transfer Number Bytes Register */ 111 #define CQSPI_INDWR 0x70 /* Indirect Write Transfer Control Register */ 112 #define CQSPI_INDWRWATER 0x74 /* Indirect Write Transfer Watermark Register */ 113 #define CQSPI_INDWRSTADDR 0x78 /* Indirect Write Transfer Start Address Register */ 114 #define CQSPI_INDWRCNT 0x7C /* Indirect Write Transfer Number Bytes Register */
|