Home
last modified time | relevance | path

Searched +full:data +full:- +full:transfer (Results 1 – 25 of 1051) sorted by relevance

12345678910>>...43

/Linux-v5.15/Documentation/driver-api/dmaengine/
Dprovider.rst20 DMA-eligible devices to the controller itself. Whenever the device
21 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
34 that requires data to be written exactly 16 or 24 bits at a time. This
36 parameter called the transfer width.
44 transfer into smaller sub-transfers.
47 that involve a single contiguous block of data. However, some of the
48 transfers we usually have are not, and want to copy data from
[all …]
/Linux-v5.15/Documentation/mhi/
Dmhi.rst1 .. SPDX-License-Identifier: GPL-2.0
17 modem protocols, such as IP data packets, modem control messages, and
19 protocol provides data acknowledgment feature and manages the power state of the
26 ----
47 Data structures
48 ---------------
50 All data structures used by MHI are in the host system memory. Using the
51 physical interface, the device accesses those data structures. MHI data
52 structures and data buffers in the host system memory regions are mapped for
56 context data array.
[all …]
Dtopology.rst1 .. SPDX-License-Identifier: GPL-2.0
11 --------------
16 It is however not involved in the actual data transfer as the data transfer
30 ----------
33 for bi-directional communication. Once MHI is in powered on state, the MHI
43 ----------
46 driver sends and receives the upper-layer protocol packets like IP packets,
57 * Prepares the device for transfer by calling mhi_prepare_for_transfer.
58 * Initiates data transfer by calling mhi_queue_transfer.
59 * Once the data transfer is finished, calls mhi_unprepare_from_transfer to
[all …]
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
21 switch (key->cipher) { in rt2x00crypto_key_to_cipher()
40 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in rt2x00crypto_create_tx_descriptor()
45 __set_bit(ENTRY_TXD_ENCRYPT, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
47 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); in rt2x00crypto_create_tx_descriptor()
49 if (hw_key->flags & IEEE80211_KEY_FLAG_PAIRWISE) in rt2x00crypto_create_tx_descriptor()
50 __set_bit(ENTRY_TXD_ENCRYPT_PAIRWISE, &txdesc->flags); in rt2x00crypto_create_tx_descriptor()
52 txdesc->key_idx = hw_key->hw_key_idx; in rt2x00crypto_create_tx_descriptor()
53 txdesc->iv_offset = txdesc->header_length; in rt2x00crypto_create_tx_descriptor()
[all …]
/Linux-v5.15/drivers/mtd/devices/
Dmchp23k256.c1 // SPDX-License-Identifier: GPL-2.0-only
51 for (i = flash->caps->addr_width; i > 0; i--, addr >>= 8) in mchp23k256_addr2cmd()
57 return 1 + flash->caps->addr_width; in mchp23k256_cmdsz()
64 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()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/mailbox/
Darm,mhuv2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tushar Khandelwal <tushar.khandelwal@arm.com>
11 - Viresh Kumar <viresh.kumar@linaro.org>
15 between 1 and 124 channel windows (each 32-bit wide) to provide unidirectional
28 protocols. The transport protocols determine the method of data transmission
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
38 and the entire window shall be used in doorbell protocol. Optionally, data
[all …]
/Linux-v5.15/drivers/spi/
Dspi-stm32.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright (C) 2017, STMicroelectronics - All Rights Reserved
174 * struct stm32_spi_reg - stm32 SPI register & bitfield desc
186 * struct stm32_spi_regspec - stm32 registers definition, compatible dependent data
194 * @rx: SPI RX data register
195 * @tx: SPI TX data register
212 * struct stm32_spi_cfg - stm32 compatible configuration data
223 * number of data (if driver has this functionality)
224 * @can_dma: routine to determine if the transfer is eligible for DMA use
225 * @transfer_one_dma_start: routine to start transfer a single spi_transfer
[all …]
Dspi-mpc52xx.c1 // SPDX-License-Identifier: GPL-2.0-only
26 MODULE_DESCRIPTION("MPC52xx SPI (non-PSC) Driver");
59 /* Driver internal data */
79 /* Details of current transfer (length, and buffer pointers) */
81 struct spi_transfer *transfer; /* current transfer */ member
82 int (*state)(int irq, struct mpc52xx_spi *ms, u8 status, u8 data);
99 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel()
100 cs = ms->message->spi->chip_select; in mpc52xx_spi_chipsel()
101 gpio_set_value(ms->gpio_cs[cs], value ? 0 : 1); in mpc52xx_spi_chipsel()
103 out_8(ms->regs + SPI_PORTDATA, value ? 0 : 0x08); in mpc52xx_spi_chipsel()
[all …]
Dspi-dw-core.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/dma-mapping.h>
16 #include <linux/spi/spi-mem.h>
20 #include "spi-dw.h"
63 snprintf(name, 32, "dw_spi%d", dws->master->bus_num); in dw_spi_debugfs_init()
64 dws->debugfs = debugfs_create_dir(name, NULL); in dw_spi_debugfs_init()
65 if (!dws->debugfs) in dw_spi_debugfs_init()
66 return -ENOMEM; in dw_spi_debugfs_init()
68 dws->regset.regs = dw_spi_dbgfs_regs; in dw_spi_debugfs_init()
69 dws->regset.nregs = ARRAY_SIZE(dw_spi_dbgfs_regs); in dw_spi_debugfs_init()
[all …]
Dspi-topcliff-pch.c1 // SPDX-License-Identifier: GPL-2.0-only
26 #define PCH_SPDWR 0x0C /* SPI write data register */
27 #define PCH_SPDRR 0x10 /* SPI read data register */
79 #define MASK_SPBRR_SPBR_BITS ((1 << 10) - 1)
123 * struct pch_spi_data - Holds the SPI channel specific details
130 * @transfer_complete: Status of SPI Transfer
135 * @bpw_len: Length of data to be transferred in bits per
137 * @transfer_active: Flag showing active transfer
138 * @tx_index: Transmit data count; for bookkeeping during
139 * transfer
[all …]
Dspi-cadence.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008 - 2014 Xilinx, Inc.
7 * based on Blackfin On-Chip SPI Driver (spi_bfin5xx.c)
23 #define CDNS_SPI_NAME "cdns-spi"
33 #define CDNS_SPI_TXD 0x1C /* Data Transmit Register, WO */
34 #define CDNS_SPI_RXD 0x20 /* Data Receive Register, RO */
61 * SPI Configuration Register - Baud rate and slave select
102 * struct cdns_spi - This definition defines spi driver instance
109 * @tx_bytes: Number of bytes left to transfer
131 return readl_relaxed(xspi->regs + offset); in cdns_spi_read()
[all …]
Dspi-davinci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/dma-mapping.h>
23 #include <linux/platform_data/spi-davinci.h>
104 /* SPI Controller driver's private data. */
135 static void davinci_spi_rx_buf_u8(u32 data, struct davinci_spi *dspi) in davinci_spi_rx_buf_u8() argument
137 if (dspi->rx) { in davinci_spi_rx_buf_u8()
138 u8 *rx = dspi->rx; in davinci_spi_rx_buf_u8()
139 *rx++ = (u8)data; in davinci_spi_rx_buf_u8()
140 dspi->rx = rx; in davinci_spi_rx_buf_u8()
144 static void davinci_spi_rx_buf_u16(u32 data, struct davinci_spi *dspi) in davinci_spi_rx_buf_u16() argument
[all …]
/Linux-v5.15/include/linux/spi/
Dspi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later
28 * INTERFACES between SPI master-side drivers and SPI slave protocol handlers,
34 * struct spi_statistics - statistics for spi transfers
37 * @messages: number of spi-messages handled
53 * transfer bytes histogramm
88 spin_lock_irqsave(&(stats)->lock, flags); \
89 (stats)->field += count; \
90 spin_unlock_irqrestore(&(stats)->lock, flags); \
97 * struct spi_delay - SPI delay information
113 * struct spi_device - Controller side proxy for an SPI slave device
[all …]
/Linux-v5.15/Documentation/networking/
Dplip.rst1 .. SPDX-License-Identifier: GPL-2.0
14 -----------------
17 This device interface allows a point-to-point connection between two
25 printer port. PLIP is a non-standard, but [can use] uses the standard
26 LapLink null-printer cable [can also work in turbo mode, with a PLIP
62 -------------------
72 PLIP driver is signaled whenever data is sent to it via the cable, such that
73 when no data is available, the driver isn't being used.
77 On these machines, the PLIP driver can be used in IRQ-less mode, where
78 the PLIP driver would constantly poll the parallel port for data waiting,
[all …]
/Linux-v5.15/drivers/i3c/master/mipi-i3c-hci/
Dxfer_mode_rate.h1 /* SPDX-License-Identifier: BSD-3-Clause */
7 * Transfer Mode/Rate Table definitions as found in extended capability
16 * Master Transfer Mode Table Fixed Indexes.
23 #define XFERMODE_IDX_I3C_HDR_DDR 0x01 /* I3C HDR-DDR Mode */
24 #define XFERMODE_IDX_I3C_HDR_T 0x02 /* I3C HDR-Ternary Mode */
25 #define XFERMODE_IDX_I3C_HDR_BT 0x03 /* I3C HDR-BT Mode */
29 * Transfer Mode Table Entry Bits Definitions
38 * Master Data Transfer Rate Selector Values.
44 * Data Transfer Rate Table. Indicated are typical rates. The actual
45 * rates may vary slightly and are also specified in the Data Transfer
[all …]
/Linux-v5.15/fs/ntfs/
Dmst.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * mst.c - NTFS multi sector transfer protection handling code. Part of the
4 * Linux-NTFS project.
6 * Copyright (c) 2001-2004 Anton Altaparmakov
12 * post_read_mst_fixup - deprotect multi sector transfer protected data
13 * @b: pointer to the data to deprotect
16 * Perform the necessary post read multi sector transfer fixup and detect the
17 * presence of incomplete multi sector transfers. - In that case, overwrite the
21 * Return 0 on success and -EINVAL on error ("BAAD" magic will be present).
34 usa_ofs = le16_to_cpu(b->usa_ofs); in post_read_mst_fixup()
[all …]
/Linux-v5.15/arch/sh/drivers/pci/
Dpci-sh4.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include "pci-sh7780.h"
10 #include "pci-sh7751.h"
40 #define SH4_PCIINT_MTABT 0x00000008 /* Master-Tgt. Abort Error */
41 #define SH4_PCIINT_MMABT 0x00000004 /* Master-Master Abort Error */
45 #define SH4_PCIINTM_TTADIM BIT(14) /* Target-target abort interrupt */
50 #define SH4_PCIINTM_DPEITWM BIT(5) /* Data parity error for target write */
54 #define SH4_PCIINTM_MWPDIM BIT(1) /* Master write data parity error */
55 #define SH4_PCIINTM_MRDPEIM BIT(0) /* Master read data parity error */
57 #define SH4_PCICLR 0x120 /* Error Command/Data */
[all …]
/Linux-v5.15/drivers/scsi/
Ddc395x.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 /* (SCSI chip set used Tekram ASIC TRM-S1040) */
175 /* cmd->result */
182 /* Inquiry Data format */
190 u8 RDF; /* AEN, TRMIOP, & response data format */
191 u8 AddLen; /* length of additional data */
217 /* Inquiry flag definitions (Inq data byte 7) */
221 #define SCSI_INQ_WBUS32 0x40 /* device supports 32 bit data xfers */
222 #define SCSI_INQ_WBUS16 0x20 /* device supports 16 bit data xfers */
250 #define SCSIXFERDONE 0x0800 /* SCSI SCSI transfer done */
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/dma/
Dst,stm32-mdma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dma/st,stm32-mdma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 The STM32 MDMA is a general-purpose direct memory access controller capable of
13 described in the dma.txt file, using a five-cell specifier for each channel:
22 -bit 0-1: Source increment mode
24 0x2: Source address pointer is incremented after each data transfer
25 0x3: Source address pointer is decremented after each data transfer
26 -bit 2-3: Destination increment mode
[all …]
/Linux-v5.15/drivers/i2c/busses/
Di2c-mxs.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2012-2013 Marek Vasut <marex@denx.de>
6 * Copyright (C) 2011-2012 Wolfram Sang, Pengutronix e.K.
8 * based on a (non-working) driver which was:
10 * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
26 #include <linux/dma-mapping.h>
28 #include <linux/dma/mxs-dma.h>
30 #define DRIVER_NAME "mxs-i2c"
70 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0)
72 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8)
[all …]
/Linux-v5.15/drivers/usb/image/
Dmicrotek.c1 // SPDX-License-Identifier: GPL-2.0
5 * (C) Copyright 2000 Oliver Neukum <Oliver.Neukum@lrz.uni-muenchen.de>
7 * Parts shamelessly stolen from usb-storage and copyright by their
19 * commands and outgoing data are sent, and two input: 0x82 from which
20 * normal data is read from the scanner (in packets of maximum 32
36 * If there is data to receive:
38 * Read a lot of data from EP 0x83
40 * Read data from EP 0x82
42 * If there is data to transmit:
73 * 20000514 Fix reporting of non-existent devices to SCSI layer (john)
[all …]
/Linux-v5.15/drivers/char/xilinx_hwicap/
Dbuffer_icap.c24 * (c) Copyright 2003-2008 Xilinx Inc.
40 #define XHI_DEVICE_READ_ERROR -1
41 #define XHI_DEVICE_WRITE_ERROR -2
42 #define XHI_BUFFER_OVERFLOW_ERROR -3
47 /* Constants for checking transfer status */
53 /* Size of transfer, read & write */
57 /* Read not Configure, direction of transfer. Write only */
59 /* Indicates transfer complete. Read only */
73 * buffer_icap_get_status - Get the contents of the status register.
78 * D8 - cfgerr
[all …]
/Linux-v5.15/include/linux/hsi/
Dhsi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
36 HSI_ARB_RR, /* Round-robin arbitration */
44 HSI_STATUS_COMPLETED, /* Message transfer is completed */
46 HSI_STATUS_PROCEEDING, /* Message transfer is ongoing */
48 HSI_STATUS_ERROR, /* Error when message transfer was ongoing */
58 * struct hsi_channel - channel resource used by the hsi clients
68 * struct hsi_config - Configuration for RX/TX HSI modules
90 * struct hsi_board_info - HSI client board info
96 * @platform_data: Platform related data
97 * @archdata: Architecture-dependent device data
[all …]
/Linux-v5.15/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2010-2014 Michael Krufky (mkrufky@linuxtv.org)
5 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
17 #include <media/media-entity.h>
19 /* Max transfer size done by I2C transfer functions */
81 /* use usb alt setting 1 for EP4 ISOC transfer (dvb-t),
82 EP5 BULK transfer (atsc-mh),
83 EP6 BULK transfer (atsc/qam),
84 use usb alt setting 2 for EP4 BULK transfer (dvb-t),
85 EP5 ISOC transfer (atsc-mh),
[all …]
/Linux-v5.15/include/uapi/linux/
Drio_mport_cdev.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
3 * Copyright (c) 2015-2016, Integrated Device Technology Inc.
11 * License(GPL) Version 2, or the BSD-3 Clause license below:
33 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
52 __u64 buffer; /* pointer to data buffer */
56 * Definitions for RapidIO data transfers:
57 * - memory mapped (MAPPED)
58 * - packet generation from memory (TRANSFER)
82 __u32 transfer_mode; /* Default transfer mode */
85 __u32 cap_transfer_mode; /* Capable transfer modes */
[all …]

12345678910>>...43