Home
last modified time | relevance | path

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

12345678910>>...134

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dmchp23k256.c64 struct spi_transfer transfer[2] = {}; in mchp23k256_write() local
76 transfer[0].tx_buf = command; in mchp23k256_write()
77 transfer[0].len = cmd_len; in mchp23k256_write()
78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
80 transfer[1].tx_buf = buf; in mchp23k256_write()
81 transfer[1].len = len; in mchp23k256_write()
82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
103 struct spi_transfer transfer[2] = {}; in mchp23k256_read() local
112 memset(&transfer, 0, sizeof(transfer)); in mchp23k256_read()
116 transfer[0].tx_buf = command; in mchp23k256_read()
[all …]
/kernel/linux/linux-4.19/drivers/mtd/devices/
Dmchp23k256.c68 struct spi_transfer transfer[2] = {}; in mchp23k256_write() local
80 transfer[0].tx_buf = command; in mchp23k256_write()
81 transfer[0].len = cmd_len; in mchp23k256_write()
82 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write()
84 transfer[1].tx_buf = buf; in mchp23k256_write()
85 transfer[1].len = len; in mchp23k256_write()
86 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write()
107 struct spi_transfer transfer[2] = {}; in mchp23k256_read() local
116 memset(&transfer, 0, sizeof(transfer)); in mchp23k256_read()
120 transfer[0].tx_buf = command; in mchp23k256_read()
[all …]
/kernel/linux/linux-5.10/drivers/staging/kpc2000/
Dkpc2000_spi.c140 unsigned int eo : 1; /* End of Transfer */
205 kp_spi_txrx_pio(struct spi_device *spidev, struct spi_transfer *transfer) in kp_spi_txrx_pio() argument
208 unsigned int count = transfer->len; in kp_spi_txrx_pio()
213 u8 *rx = transfer->rx_buf; in kp_spi_txrx_pio()
214 const u8 *tx = transfer->tx_buf; in kp_spi_txrx_pio()
292 struct spi_transfer *transfer; in kp_spi_transfer_one_message() local
308 list_for_each_entry(transfer, &m->transfers, transfer_list) { in kp_spi_transfer_one_message()
309 const void *tx_buf = transfer->tx_buf; in kp_spi_transfer_one_message()
310 void *rx_buf = transfer->rx_buf; in kp_spi_transfer_one_message()
311 unsigned int len = transfer->len; in kp_spi_transfer_one_message()
[all …]
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_dma.h89 #define DMA_INTF_FTFIF BIT(1) /*!< full transfer finish flag of c…
90 #define DMA_INTF_HTFIF BIT(2) /*!< half transfer finish flag of c…
95 #define DMA_INTC_FTFIFC BIT(1) /*!< clear transfer finish flag of …
96 #define DMA_INTC_HTFIFC BIT(2) /*!< clear half transfer finish fla…
101 … BIT(1) /*!< enable bit for channel full transfer finish interrupt …
102 … BIT(2) /*!< enable bit for channel half transfer finish interrupt …
104 #define DMA_CHXCTL_DIR BIT(4) /*!< transfer direction */
108 #define DMA_CHXCTL_PWIDTH BITS(8,9) /*!< transfer data width of periphe…
109 #define DMA_CHXCTL_MWIDTH BITS(10,11) /*!< transfer data width of memory …
114 #define DMA_CHXCNT_CNT BITS(0,15) /*!< transfer counter */
[all …]
/kernel/linux/linux-5.10/Documentation/mhi/
Dmhi.rst58 Transfer rings: Used by the host to schedule work items for a channel. The
59 transfer rings are organized as a circular queue of Transfer Descriptors (TD).
81 Two unidirectional channels with their associated transfer rings form a
85 transfer ring.
87 Transfer rings
91 Transfer Descriptors (TD). TDs are managed through transfer rings, which are
93 memory. TDs consist of one or more ring elements (or transfer blocks)::
101 Below is the basic usage of transfer rings:
103 * Host allocates memory for transfer ring.
118 data transfer completion status, command completion status, and state changes
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/spi/
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.
481 /* data_packet should not exceed transfer length */ in stm32h7_spi_prepare_fthlv()
716 * complete the transfer from an hardware point of view.
[all …]
Dspi-fsi.c266 struct spi_transfer *transfer) in fsi_spi_sequence_transfer() argument
273 u8 len = min(transfer->len, 8U); in fsi_spi_sequence_transfer()
274 u8 rem = transfer->len % len; in fsi_spi_sequence_transfer()
277 loops = transfer->len / len; in fsi_spi_sequence_transfer()
279 if (transfer->tx_buf) { in fsi_spi_sequence_transfer()
285 } else if (transfer->rx_buf) { in fsi_spi_sequence_transfer()
317 if (transfer->rx_buf) in fsi_spi_sequence_transfer()
337 struct spi_transfer *transfer) in fsi_spi_transfer_data() argument
343 if (transfer->tx_buf) { in fsi_spi_transfer_data()
347 const u8 *tx = transfer->tx_buf; in fsi_spi_transfer_data()
[all …]
Dspi-cadence.c109 * @tx_bytes: Number of bytes left to transfer
236 * @transfer: Pointer to the spi_transfer structure which provides
237 * information about next transfer setup parameters
242 * is lower than the requested frequency (maximum lower) for the transfer. If
248 struct spi_transfer *transfer) in cdns_spi_config_clock_freq() argument
259 if (xspi->speed_hz != transfer->speed_hz) { in cdns_spi_config_clock_freq()
263 (frequency / (2 << baud_rate_val)) > transfer->speed_hz) in cdns_spi_config_clock_freq()
275 * cdns_spi_setup_transfer - Configure SPI controller for specified transfer
277 * @transfer: Pointer to the spi_transfer structure which provides
278 * information about next transfer setup parameters
[all …]
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 …]
/kernel/linux/linux-4.19/sound/core/
Disadma.c34 * snd_dma_program - program an ISA DMA transfer
37 * @size: the DMA transfer size
38 * @mode: the DMA transfer mode, DMA_MODE_XXX
40 * Programs an ISA DMA transfer for the given buffer.
61 * snd_dma_disable - stop the ISA DMA transfer
64 * Stops the ISA DMA transfer.
78 * snd_dma_pointer - return the current pointer to DMA transfer buffer in bytes
80 * @size: the dma transfer size
82 * Return: The current pointer in DMA transfer buffer in bytes.
107 …pr_err("ALSA: pointer (0x%x) for DMA #%ld is greater than transfer size (0x%x)\n", result, dma, si… in snd_dma_pointer()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/spi/
Dspi-stm32.c141 * @cur_xferlen: current transfer length in bytes
142 * @cur_usedma: boolean to know if dma is used in current transfer
147 * @dma_tx: dma channel for TX transfer
148 * @dma_rx: dma channel for RX transfer
391 * SPI data transfer is enabled but spi_ker_ck is idle.
462 * stm32_spi_can_dma - Determine if the transfer is eligible for DMA use
464 * If the current transfer size is greater than fifo size, use DMA.
468 struct spi_transfer *transfer) in stm32_spi_can_dma() argument
473 (transfer->len > spi->fifo_size) ? "true" : "false"); in stm32_spi_can_dma()
475 return (transfer->len > spi->fifo_size); in stm32_spi_can_dma()
[all …]
Dspi-mpc52xx.c80 /* Details of current transfer (length, and buffer pointers) */
82 struct spi_transfer *transfer; /* current transfer */ member
108 * Start a new transfer. This is called both by the idle state
109 * for the first transfer in a message, and by the wait state when the
110 * previous transfer in a message is complete.
114 ms->rx_buf = ms->transfer->rx_buf; in mpc52xx_spi_start_transfer()
115 ms->tx_buf = ms->transfer->tx_buf; in mpc52xx_spi_start_transfer()
116 ms->len = ms->transfer->len; in mpc52xx_spi_start_transfer()
121 ms->cs_change = ms->transfer->cs_change; in mpc52xx_spi_start_transfer()
140 * No transfers are in progress; if another transfer is pending then retrieve
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dcolorspaces-details.rst14 PAL and by SDTV in general. The default transfer function is
49 The transfer function defined for SMPTE 170M is the same as the one
60 Inverse Transfer function:
96 general. The default transfer function is ``V4L2_XFER_FUNC_709``. The
129 Transfer function. Normally L is in the range [0…1], but for the
140 Inverse Transfer function:
217 and computer graphics. The default transfer function is
256 Transfer function. Note that negative values for L are only used by the
267 Inverse Transfer function:
299 graphics that use the opRGB colorspace. The default transfer function is
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/
Dcolorspaces-details.rst14 PAL and by SDTV in general. The default transfer function is
49 The transfer function defined for SMPTE 170M is the same as the one
60 Inverse Transfer function:
96 general. The default transfer function is ``V4L2_XFER_FUNC_709``. The
129 Transfer function. Normally L is in the range [0…1], but for the
140 Inverse Transfer function:
217 and computer graphics. The default transfer function is
256 Transfer function. Note that negative values for L are only used by the
267 Inverse Transfer function:
299 graphics that use the opRGB colorspace. The default transfer function is
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c163 unsigned int transfer = 0; in rt2x00crypto_rx_insert_iv() local
205 memmove(skb->data + transfer, in rt2x00crypto_rx_insert_iv()
206 skb->data + transfer + (iv_len - align), in rt2x00crypto_rx_insert_iv()
208 transfer += header_length; in rt2x00crypto_rx_insert_iv()
217 memmove(skb->data + transfer, in rt2x00crypto_rx_insert_iv()
218 skb->data + transfer + iv_len + align, in rt2x00crypto_rx_insert_iv()
220 transfer += header_length; in rt2x00crypto_rx_insert_iv()
224 memcpy(skb->data + transfer, rxdesc->iv, iv_len); in rt2x00crypto_rx_insert_iv()
225 transfer += iv_len; in rt2x00crypto_rx_insert_iv()
232 memmove(skb->data + transfer, in rt2x00crypto_rx_insert_iv()
[all …]

12345678910>>...134