Home
last modified time | relevance | path

Searched full:transfer (Results 1 – 25 of 2682) sorted by relevance

12345678910>>...108

/Linux-v5.4/Documentation/driver-api/dmaengine/
Dprovider.rst21 will want to start a transfer, it will assert a DMA request (DRQ) by
25 parameter: the transfer size. At each clock cycle, it would transfer a
26 byte of data from one buffer to another, until the transfer size has
31 cycle. For example, we may want to transfer as much data as the
36 parameter called the transfer width.
44 transfer into smaller sub-transfers.
59 transfer, and whenever the transfer is started, the controller will go
73 transfer width and the transfer size.
118 should contain a bitmask of the supported source transfer width
121 should contain a bitmask of the supported destination transfer width
[all …]
Dpxa_dma.rst9 A driver submitting a transfer and issuing it should be granted the transfer
11 This implies that the queuing doesn't wait for the previous transfer end,
13 triggered by the end of the transfer.
14 A transfer which is submitted and issued on a phy doesn't wait for a phy to
17 a new transfer.
20 Any issued transfer with DMA_PREP_INTERRUPT should trigger a callback call.
27 multimedia case, such as video capture, if a transfer is submitted and then
28 a check of the DMA channel reports a "stopped channel", the transfer should
44 assigned on the fly when the transfer is issued.
46 b) Transfer anatomy for a scatter-gather transfer
[all …]
/Linux-v5.4/drivers/net/ethernet/qualcomm/
Dqca_7k.c48 struct spi_transfer transfer[2]; in qcaspi_read_register() local
52 memset(transfer, 0, sizeof(transfer)); in qcaspi_read_register()
59 transfer[0].tx_buf = &tx_data; in qcaspi_read_register()
60 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_read_register()
61 transfer[1].rx_buf = &rx_data; in qcaspi_read_register()
62 transfer[1].len = QCASPI_CMD_LEN; in qcaspi_read_register()
64 spi_message_add_tail(&transfer[0], &msg); in qcaspi_read_register()
70 spi_message_add_tail(&transfer[1], &msg); in qcaspi_read_register()
88 struct spi_transfer transfer[2]; in __qcaspi_write_register() local
92 memset(&transfer, 0, sizeof(transfer)); in __qcaspi_write_register()
[all …]
Dqca_spi.c109 struct spi_transfer transfer[2]; in qcaspi_write_burst() local
112 memset(&transfer, 0, sizeof(transfer)); in qcaspi_write_burst()
116 transfer[0].tx_buf = &cmd; in qcaspi_write_burst()
117 transfer[0].len = QCASPI_CMD_LEN; in qcaspi_write_burst()
118 transfer[1].tx_buf = src; in qcaspi_write_burst()
119 transfer[1].len = len; in qcaspi_write_burst()
121 spi_message_add_tail(&transfer[0], &msg); in qcaspi_write_burst()
122 spi_message_add_tail(&transfer[1], &msg); in qcaspi_write_burst()
137 struct spi_transfer transfer; in qcaspi_write_legacy() local
140 memset(&transfer, 0, sizeof(transfer)); in qcaspi_write_legacy()
[all …]
/Linux-v5.4/drivers/mtd/devices/
Dmchp23k256.c64 struct spi_transfer transfer[2] = {}; in mchp23k256_write() local
74 transfer[0].tx_buf = command; in mchp23k256_write()
75 transfer[0].len = mchp23k256_cmdsz(flash); in mchp23k256_write()
76 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
78 transfer[1].tx_buf = buf; in mchp23k256_write()
79 transfer[1].len = len; in mchp23k256_write()
80 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
101 struct spi_transfer transfer[2] = {}; in mchp23k256_read() local
108 memset(&transfer, 0, sizeof(transfer)); in mchp23k256_read()
112 transfer[0].tx_buf = command; in mchp23k256_read()
[all …]
/Linux-v5.4/drivers/staging/kpc2000/
Dkpc2000_spi.c139 unsigned int eo : 1; /* End of Transfer */
206 kp_spi_txrx_pio(struct spi_device *spidev, struct spi_transfer *transfer) in kp_spi_txrx_pio() argument
209 unsigned int count = transfer->len; in kp_spi_txrx_pio()
214 u8 *rx = transfer->rx_buf; in kp_spi_txrx_pio()
215 const u8 *tx = transfer->tx_buf; in kp_spi_txrx_pio()
294 struct spi_transfer *transfer; in kp_spi_transfer_one_message() local
310 list_for_each_entry(transfer, &m->transfers, transfer_list) { in kp_spi_transfer_one_message()
311 const void *tx_buf = transfer->tx_buf; in kp_spi_transfer_one_message()
312 void *rx_buf = transfer->rx_buf; in kp_spi_transfer_one_message()
313 unsigned int len = transfer->len; in kp_spi_transfer_one_message()
[all …]
/Linux-v5.4/drivers/staging/greybus/tools/
DREADME.loopback27 size - payload size of the transfer.
35 3 - transfer
79 -t must be one of the test names - sink, transfer or ping
102 * Run a 1000 transfers of a 100 byte packet. Each transfer is started only
148 * Run a transfer test 10 iterations of size 100 bytes on all available devices
149 #/loopback_test -t transfer -i 10 -s 100
150 …1970-1-1 0:10:7,transfer,1-4.17,100,10,0,443,509,471.700012,66,1963,2256,2124.600098,293,102776,11…
151 …1970-1-1 0:10:7,transfer,1-5.17,100,10,0,399,542,463.399994,143,1845,2505,2175.800049,660,92568,12…
155 #/loopback_test -t transfer -i 10 -s 100 -a
156 …1970-1-1 0:10:35,transfer,1-4.17,100,10,0,448,580,494.100006,132,1722,2230,2039.400024,508,103936,…
[all …]
/Linux-v5.4/sound/core/
Disadma.c19 * snd_dma_program - program an ISA DMA transfer
22 * @size: the DMA transfer size
23 * @mode: the DMA transfer mode, DMA_MODE_XXX
25 * Programs an ISA DMA transfer for the given buffer.
46 * snd_dma_disable - stop the ISA DMA transfer
49 * Stops the ISA DMA transfer.
63 * snd_dma_pointer - return the current pointer to DMA transfer buffer in bytes
65 * @size: the dma transfer size
67 * Return: The current pointer in DMA transfer buffer in bytes.
92 …pr_err("ALSA: pointer (0x%x) for DMA #%ld is greater than transfer size (0x%x)\n", result, dma, si… in snd_dma_pointer()
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c152 unsigned int transfer = 0; in rt2x00crypto_rx_insert_iv() local
194 memmove(skb->data + transfer, in rt2x00crypto_rx_insert_iv()
195 skb->data + transfer + (iv_len - align), in rt2x00crypto_rx_insert_iv()
197 transfer += header_length; in rt2x00crypto_rx_insert_iv()
206 memmove(skb->data + transfer, in rt2x00crypto_rx_insert_iv()
207 skb->data + transfer + iv_len + align, in rt2x00crypto_rx_insert_iv()
209 transfer += header_length; in rt2x00crypto_rx_insert_iv()
213 memcpy(skb->data + transfer, rxdesc->iv, iv_len); in rt2x00crypto_rx_insert_iv()
214 transfer += iv_len; in rt2x00crypto_rx_insert_iv()
221 memmove(skb->data + transfer, in rt2x00crypto_rx_insert_iv()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dcolorspaces-details.rst21 PAL and by SDTV in general. The default transfer function is
56 The transfer function defined for SMPTE 170M is the same as the one
67 Inverse Transfer function:
103 general. The default transfer function is ``V4L2_XFER_FUNC_709``. The
136 Transfer function. Normally L is in the range [0…1], but for the
147 Inverse Transfer function:
224 and computer graphics. The default transfer function is
263 Transfer function. Note that negative values for L are only used by the
274 Inverse Transfer function:
306 graphics that use the opRGB colorspace. The default transfer function is
[all …]
Dcolorspaces-defs.rst16 which defines the chromaticities, the default transfer function, the
18 is the transfer function identifier (enum
20 transfer functions. The third is the Y'CbCr encoding identifier (enum
88 .. flat-table:: V4L2 Transfer Function
95 - Use the default transfer function as defined by the colorspace.
97 - Use the Rec. 709 transfer function.
99 - Use the sRGB transfer function.
101 - Use the opRGB transfer function.
103 - Use the SMPTE 240M transfer function.
105 - Do not use a transfer function (i.e. use linear RGB values).
[all …]
/Linux-v5.4/drivers/spi/
Dspi-mpc52xx.c79 /* Details of current transfer (length, and buffer pointers) */
81 struct spi_transfer *transfer; /* current transfer */ member
107 * Start a new transfer. This is called both by the idle state
108 * for the first transfer in a message, and by the wait state when the
109 * previous transfer in a message is complete.
113 ms->rx_buf = ms->transfer->rx_buf; in mpc52xx_spi_start_transfer()
114 ms->tx_buf = ms->transfer->tx_buf; in mpc52xx_spi_start_transfer()
115 ms->len = ms->transfer->len; in mpc52xx_spi_start_transfer()
120 ms->cs_change = ms->transfer->cs_change; in mpc52xx_spi_start_transfer()
139 * No transfers are in progress; if another transfer is pending then retrieve
[all …]
Dspi-cadence.c109 * @tx_bytes: Number of bytes left to transfer
235 * @transfer: Pointer to the spi_transfer structure which provides
236 * information about next transfer setup parameters
241 * is lower than the requested frequency (maximum lower) for the transfer. If
247 struct spi_transfer *transfer) in cdns_spi_config_clock_freq() argument
258 if (xspi->speed_hz != transfer->speed_hz) { in cdns_spi_config_clock_freq()
262 (frequency / (2 << baud_rate_val)) > transfer->speed_hz) in cdns_spi_config_clock_freq()
274 * cdns_spi_setup_transfer - Configure SPI controller for specified transfer
276 * @transfer: Pointer to the spi_transfer structure which provides
277 * information about next transfer setup parameters
[all …]
Dspi-stm32.c229 * @can_dma: routine to determine if the transfer is eligible for DMA use
230 * @transfer_one_dma_start: routine to start transfer a single spi_transfer
240 * @has_startbit: boolean to know if start bit is used to start transfer
280 * @cur_xferlen: current transfer length in bytes
281 * @cur_usedma: boolean to know if dma is used in current transfer
286 * @dma_tx: dma channel for TX transfer
287 * @dma_rx: dma channel for RX transfer
335 /* SPI data transfer is enabled but spi_ker_ck is idle.
704 * complete the transfer from an hardware point of view.
759 * stm32_spi_can_dma - Determine if the transfer is eligible for DMA use
[all …]
Dspi-zynqmp-gqspi.c149 * @bytes_to_transfer: Number of bytes left to transfer
209 * used for subsequent GENFIFO entries during transfer. in zynqmp_gqspi_selectslave()
348 * zynqmp_prepare_transfer_hardware: Prepares hardware for transfer.
365 * zynqmp_unprepare_transfer_hardware: Relaxes hardware after transfer
431 * transfer
433 * @transfer: Pointer to the spi_transfer structure which provides
434 * information about next transfer setup parameters
436 * Sets the operational mode of QSPI controller for the next QSPI transfer and
445 * for the transfer.
452 struct spi_transfer *transfer) in zynqmp_qspi_setup_transfer() argument
[all …]
/Linux-v5.4/include/linux/spi/
Dspi.h49 * transfer bytes histogramm
99 * The spi_transfer.speed_hz can override this for each transfer.
105 * each word in a transfer (by specifying SPI_LSB_FIRST).
111 * The spi_transfer.bits_per_word can override this for each transfer.
127 * words of a transfer
315 * supported. If set, the SPI core will reject any transfer with an
318 * @min_speed_hz: Lowest supported transfer speed
319 * @max_speed_hz: Highest supported transfer speed
322 * @max_transfer_size: function that returns the max transfer size for
338 * @transfer: adds a message to the controller's transfer queue.
[all …]
/Linux-v5.4/drivers/usb/dwc2/
Dhcd.h77 * @xfer_buf: Pointer to current transfer buffer position
81 * @xfer_len: Total number of bytes to transfer
83 * @start_pkt_count: Packet count at start of transfer
84 * @xfer_started: True if the transfer has been started
103 * assigned to the current transfer (not counting PINGs)
105 * @ntd: Number of transfer descriptors for the transfer
108 * @qh: QH for the transfer being processed by this channel
115 * host mode. It contains the data items needed to transfer packets to an
242 * struct dwc2_hs_transfer_time - Info about a transfer on the high speed bus.
249 * @duration_us: How long this transfer goes.
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/dma/
Dstm32-mdma.txt50 0x10: Source address pointer is incremented after each data transfer
51 0x11: Source address pointer is decremented after each data transfer
55 transfer
57 transfer
68 -bit 25-18: The number of bytes to be transferred in a single transfer
71 0x00: Each MDMA request triggers a buffer transfer (max 128 bytes)
72 0x01: Each MDMA request triggers a block transfer (max 64K bytes)
73 0x10: Each MDMA request triggers a repeated block transfer
74 0x11: Each MDMA request triggers a linked list transfer
/Linux-v5.4/drivers/scsi/
Ddc395x.h288 #define SCSIXFERDONE 0x0800 /* SCSI SCSI transfer done */
289 #define SCSIXFERCNT_2_ZERO 0x0100 /* SCSI SCSI transfer count to zero */
311 #define DO_CLRFIFO 0x0004 /* Clear SCSI transfer FIFO */
357 /* transfer. */
363 /* are used to transfer data */
368 /* are used to transfer data */
371 /* 02-00 0 PERIOD[2:0]/ Synchronous SCSI Transfer Rate. */
373 /* the Synchronous SCSI Transfer */
419 #define TRM_S1040_SCSI_COUNTER 0x88 /* SCSI Transfer Counter 24bits(R/W) */
451 #define SCMD_FIFO_OUT 0xC0 /* SCSI FIFO transfer out */
[all …]
/Linux-v5.4/drivers/usb/image/
Dmicrotek.c78 * 20000515 Put transfer context and URB in mts_desc (john)
187 MTS_DEBUG("transfer = 0x%x context = 0x%x\n",(int)transfer,(int)context ); \
188 …status = 0x%x data-length = 0x%x sent = 0x%x\n",transfer->status,(int)context->data_length, (int)t…
204 struct mts_transfer_context* context = (struct mts_transfer_context*)transfer->context; \
363 static void mts_transfer_cleanup( struct urb *transfer );
364 static void mts_do_sg(struct urb * transfer);
367 void mts_int_submit_urb (struct urb* transfer, in mts_int_submit_urb() argument
374 /* Holding transfer->context->lock! */ in mts_int_submit_urb()
380 usb_fill_bulk_urb(transfer, in mts_int_submit_urb()
389 res = usb_submit_urb( transfer, GFP_ATOMIC ); in mts_int_submit_urb()
[all …]
/Linux-v5.4/drivers/dma/
Dcoh901318.h29 * @src_addr: transfer source address
30 * @dst_addr: transfer destination address
88 * @size: transfer size
101 * coh901318_lli_fill_single() - Prepares the lli:s for dma single transfer
104 * @buf: transfer buffer
105 * @size: transfer size
109 * @dir: direction of transfer (to or from device)
120 * coh901318_lli_fill_single() - Prepares the lli:s for dma scatter list transfer
129 * @dir: direction of transfer (to or from device)
/Linux-v5.4/arch/sh/drivers/pci/
Dpci-sh4.h59 #define SH4_PCICLR_MDMA0 0x40000000 /* DMA0 Transfer Error */
60 #define SH4_PCICLR_MDMA1 0x20000000 /* DMA1 Transfer Error */
61 #define SH4_PCICLR_MDMA2 0x10000000 /* DMA2 Transfer Error */
62 #define SH4_PCICLR_MDMA3 0x08000000 /* DMA3 Transfer Error */
63 #define SH4_PCICLR_TGT 0x04000000 /* Target Transfer Error */
80 #define SH4_PCIDMABT 0x140 /* DMA Transfer Arb. Register */
82 #define SH4_PCIDPA0 0x180 /* DMA0 Transfer Addr. */
84 #define SH4_PCIDTC0 0x188 /* DMA0 Transfer Cnt. */
93 #define SH4_PCIDCR_DIR 0x00000004 /* DMA Transfer Direction */
96 #define SH4_PCIDPA1 0x190 /* DMA1 Transfer Addr. */
[all …]
/Linux-v5.4/include/linux/
Datmel_pdc.h24 #define ATMEL_PDC_PTCR 0x120 /* Transfer Control Register */
25 #define ATMEL_PDC_RXTEN (1 << 0) /* Receiver Transfer Enable */
26 #define ATMEL_PDC_RXTDIS (1 << 1) /* Receiver Transfer Disable */
27 #define ATMEL_PDC_TXTEN (1 << 8) /* Transmitter Transfer Enable */
28 #define ATMEL_PDC_TXTDIS (1 << 9) /* Transmitter Transfer Disable */
30 #define ATMEL_PDC_PTSR 0x124 /* Transfer Status Register */
/Linux-v5.4/drivers/i2c/busses/
Di2c-stm32.h27 * @chan_tx: dma channel for TX transfer
28 * @chan_rx: dma channel for RX transfer
29 * @chan_using: dma channel used for the current transfer (TX or RX)
32 * @dma_transfer_dir: dma transfer direction indicator
33 * @dma_data_dir: dma transfer mode indicator
34 * @dma_complete: dma transfer completion
/Linux-v5.4/Documentation/networking/
DPLIP.txt79 mode as compared to IRQ mode as far as the data transfer speed is involved.
83 data transfer (the maximal time the PLIP driver would allow the other side
84 before announcing a timeout, when trying to handshake a transfer of some
112 PLIP uses several different data transfer methods. The first (and the
114 printer "null" cable to transfer data four bits at a time using
117 The second data transfer method relies on both machines having
122 Parallel Transfer Mode 0 Cable
125 The cable for the first transfer mode is a standard
154 Parallel Transfer Mode 1
157 The second data transfer method relies on both machines having
[all …]

12345678910>>...108