Home
last modified time | relevance | path

Searched +full:tx +full:- +full:device (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/linux/crypto/async_tx/
H A Dasync_tx.c1 // SPDX-License-Identifier: GPL-2.0-only
37 * __async_tx_find_channel - find a channel to carry out the operation or let
46 struct dma_async_tx_descriptor *depend_tx = submit->depend_tx; in __async_tx_find_channel()
50 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) in __async_tx_find_channel()
51 return depend_tx->chan; in __async_tx_find_channel()
59 * async_tx_channel_switch - queue an interrupt descriptor with a dependency
60 * pre-attached.
62 * @tx: the new operation
66 struct dma_async_tx_descriptor *tx) in async_tx_channel_switch() argument
68 struct dma_chan *chan = depend_tx->chan; in async_tx_channel_switch()
[all …]
H A Dasync_pq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/dma-mapping.h>
15 * struct pq_scribble_page - space to hold throwaway P or Q buffer for
22 * blocks[disks-2] and the 'Q' destination address at blocks[disks-1]
26 #define P(b, d) (b[d-2])
27 #define Q(b, d) (b[d-1])
32 * do_async_gen_syndrome - asynchronously calculate P and/or Q
41 struct dma_async_tx_descriptor *tx = NULL; in do_async_gen_syndrome() local
42 struct dma_device *dma = chan->device; in do_async_gen_syndrome()
43 enum async_tx_flags flags_orig = submit->flags; in do_async_gen_syndrome()
[all …]
/linux/drivers/peci/
H A Drequest.c1 // SPDX-License-Identifier: GPL-2.0-only
69 /* Device Specific Completion Code (CC) Definition */
90 return req->rx.buf[0]; in peci_request_data_cc()
94 * peci_request_status() - return -errno based on PECI completion code
97 * It can't be used for Ping(), GetDIB() and GetTemp() - for those commands we
100 * Return: -errno
107 dev_dbg(&req->device->dev, "ret: %#02x\n", cc); in peci_request_status()
115 return -EAGAIN; in peci_request_status()
117 return -EINVAL; in peci_request_status()
124 return -EIO; in peci_request_status()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ptp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 * struct idpf_ptp_cmd - PTP command masks
19 /* struct idpf_ptp_dev_clk_regs - PTP device registers
20 * @dev_clk_ns_l: low part of the device clock register
21 * @dev_clk_ns_h: high part of the device clock register
70 * enum idpf_ptp_access - the type of access to PTP operations
82 * struct idpf_ptp_secondary_mbx - PTP secondary mailbox
84 * @peer_id: Peer ID for PTP Device Control daemon
95 * enum idpf_ptp_tx_tstamp_state - Tx timestamp states
96 * @IDPF_PTP_FREE: Tx timestamp index free to use
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-queues1 What: /sys/class/net/<iface>/queues/rx-<queue>/rps_cpus
8 network device queue. Possible values depend on the number
11 What: /sys/class/net/<iface>/queues/rx-<queue>/rps_flow_cnt
17 processed by this particular network device receive queue.
19 What: /sys/class/net/<iface>/queues/tx-<queue>/tx_timeout
27 What: /sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate
32 A Mbps max-rate set for the queue, a value of zero means disabled,
35 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_cpus
42 network device transmit queue. Possible values depend on the
45 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_rxqs
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c1 // SPDX-License-Identifier: GPL-2.0
19 { TIME_SYNC, { 4, -1 }, { 0, 0 }},
20 { ONE_PPS, { -1, 5 }, { 0, 11 }},
29 { TIME_SYNC, { 4, -1 }, { 11, 0 }},
30 { ONE_PPS, { -1, 5 }, { 0, 9 }},
39 { ONE_PPS, { -1, 5 }, { 0, 1 }},
51 { SDP0, { -1, 0 }, { 0, 1 }},
52 { SDP1, { 1, -1 }, { 0, 0 }},
53 { SDP2, { -1, 2 }, { 0, 1 }},
54 { SDP3, { 3, -1 }, { 0, 0 }},
[all …]
/linux/drivers/iio/imu/
H A Dadis.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
12 #include <linux/device.h>
27 * __adis_write_reg() - write N bytes to register (unlocked version)
28 * @adis: The adis device
30 * @value: The value to write to device (up to 4 bytes)
41 .tx_buf = adis->tx, in __adis_write_reg()
44 .delay.value = adis->data->write_delay, in __adis_write_reg()
47 .tx_buf = adis->tx + 2, in __adis_write_reg()
50 .delay.value = adis->data->write_delay, in __adis_write_reg()
[all …]
/linux/Documentation/networking/
H A Dxsk-tx-metadata.rst1 .. SPDX-License-Identifier: GPL-2.0
4 AF_XDP TX Metadata
8 via :doc:`af_xdp`. Refer to :doc:`xdp-rx-metadata` on how to access similar
26 ``xdp_desc->addr`` in the umem frame. Within a frame, the metadata
31 +-----------------+---------+----------------------------+
33 +-----------------+---------+----------------------------+
36 xdp_desc->addr
40 use ``xdp_desc->addr - tx_metadata_len`` to locate
47 - ``XDP_TXMD_FLAGS_TIMESTAMP``: requests the device to put transmission
49 - ``XDP_TXMD_FLAGS_CHECKSUM``: requests the device to calculate L4
[all …]
H A Dtls-offload.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
13 For details regarding the user-facing interface refer to the TLS
18 * Software crypto mode (``TLS_SW``) - CPU handles the cryptography.
24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto
28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``).
29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where
33 abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``).
35 The operation mode is selected automatically based on device configuration,
36 offload opt-in or opt-out on per-connection basis is not currently supported.
38 TX section in Kernel TLS operation
[all …]
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_emaclite.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Xilinx EmacLite Linux driver for the Xilinx Ethernet MAC Lite device.
7 * Copyright (c) 2007 - 2013 Xilinx, Inc.
37 #define XEL_TSR_OFFSET 0x07FC /* Tx status */
38 #define XEL_TPLR_OFFSET 0x07F4 /* Tx packet length */
44 #define XEL_BUFFER_OFFSET 0x0800 /* Next Tx/Rx buffer's offset */
66 #define XEL_TSR_XMIT_BUSY_MASK 0x00000001 /* Tx complete */
68 #define XEL_TSR_XMIT_IE_MASK 0x00000008 /* Tx interrupt enable bit */
82 #define XEL_TPLR_LENGTH_MASK 0x0000FFFF /* Tx packet length */
94 #define TX_TIMEOUT (60 * HZ) /* Tx timeout is 60 seconds. */
[all …]
/linux/include/linux/
H A Dpeci.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2018-2021 Intel Corporation */
7 #include <linux/device.h>
21 * struct peci_controller_ops - PECI controller specific methods
24 * PECI controllers may have different hardware interfaces - the drivers
33 * struct peci_controller - PECI controller
34 * @dev: device object to register PECI controller to the device model
35 * @ops: pointer to device specific controller operations
39 * PECI controllers usually connect to their drivers using non-PECI bus,
44 struct device dev;
[all …]
H A Ddmaengine.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
8 #include <linux/device.h>
18 * typedef dma_cookie_t - an opaque DMA cookie
31 * enum dma_status - DMA transaction status
46 * enum dma_transaction_type - DMA transaction types/indexes
73 * enum dma_transfer_direction - dma transfer mode and direction indicator
75 * @DMA_MEM_TO_DEV: Slave mode & From Memory to Device
76 * @DMA_DEV_TO_MEM: Slave mode & From Device to Memory
77 * @DMA_DEV_TO_DEV: Slave mode & From Device to Device
[all …]
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.c1 // SPDX-License-Identifier: GPL-2.0
39 * octep_vf_alloc_ioq_vectors() - Allocate Tx/Rx Queue interrupt info.
41 * @oct: Octeon device private data structure.
43 * Allocate resources to hold per Tx/Rx queue interrupt info.
45 * is scheduled and includes quick access to private data of Tx/Rx queue
49 * -1, if failed to allocate any resource.
56 for (i = 0; i < oct->num_oqs; i++) { in octep_vf_alloc_ioq_vectors()
57 oct->ioq_vector[i] = vzalloc(sizeof(*oct->ioq_vector[i])); in octep_vf_alloc_ioq_vectors()
58 if (!oct->ioq_vector[i]) in octep_vf_alloc_ioq_vectors()
61 ioq_vector = oct->ioq_vector[i]; in octep_vf_alloc_ioq_vectors()
[all …]
/linux/include/drm/intel/
H A Di915_hdcp_interface.h1 /* SPDX-License-Identifier: (GPL-2.0+) */
3 * Copyright © 2017-2019 Intel Corporation
13 #include <linux/device.h>
17 * enum hdcp_port_type - HDCP port implementation type defined by ME/GSC FW
19 * @HDCP_PORT_TYPE_INTEGRATED: In-Host HDCP2.x port
20 * @HDCP_PORT_TYPE_LSPCON: HDCP2.2 discrete wired Tx port with LSPCON
22 * @HDCP_PORT_TYPE_CPDP: HDCP2.2 discrete wired Tx port using the CPDP (DP 1.3)
33 * enum hdcp_wired_protocol - HDCP adaptation used on the port
57 * enum hdcp_transcoder - ME/GSC Firmware defined index for transcoders
79 * struct hdcp_port_data - intel specific HDCP port data
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dibm,emac.txt8 correct clock-frequency property.
13 - device_type : "network"
15 - compatible : compatible list, contains 2 entries, first is
16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx,
18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon",
20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ>
21 - reg : <registers mapping>
22 - local-mac-address : 6 bytes, MAC address
23 - mal-device : phandle of the associated McMAL node
24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated
[all …]
/linux/drivers/firmware/samsung/
H A Dexynos-acpm.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/device.h>
15 #include <linux/firmware/samsung/exynos-acpm-protocol.h>
19 #include <linux/mailbox/exynos-message.h>
31 #include "exynos-acpm.h"
32 #include "exynos-acpm-pmic.h"
42 * struct acpm_shmem - shared memory configuration information.
56 * struct acpm_chan_shmem - descriptor of a shared memory channel.
60 * @rx_rear: rear pointer of APM RX queue (TX for AP).
61 * @rx_front: front pointer of APM RX queue (TX for AP).
[all …]
/linux/drivers/net/phy/
H A Dlinkmode.c1 // SPDX-License-Identifier: GPL-2.0+
5 * linkmode_resolve_pause - resolve the allowable pause modes
15 * Local device Link partner
19 * 0 1 1 1 TX
21 * 1 X 1 X TX+RX
47 * linkmode_set_pause - set the pause mode advertisement
49 * @tx: boolean from ethtool struct ethtool_pauseparam tx_pause member
53 * capabilities of provided in @tx and @rx.
56 * tx rx Pause AsymDir
62 * Note: this translation from ethtool tx/rx notation to the advertisement
[all …]
/linux/drivers/iio/gyro/
H A Dadxrs450.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/device.h>
67 * struct adxrs450_state - device instance specific data
69 * @buf_lock: mutex to protect tx and rx
70 * @tx: transmit buffer
76 __be32 tx __aligned(IIO_DMA_MINALIGN);
82 * adxrs450_spi_read_reg_16() - read 2 bytes from a register pair
83 * @indio_dev: device associated with child of actual iio_dev
93 u32 tx; in adxrs450_spi_read_reg_16() local
97 .tx_buf = &st->tx, in adxrs450_spi_read_reg_16()
[all …]
/linux/drivers/dma/
H A Dvirt-dma.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/device.h>
12 #include "virt-dma.h"
14 static struct virt_dma_desc *to_virt_desc(struct dma_async_tx_descriptor *tx) in to_virt_desc() argument
16 return container_of(tx, struct virt_dma_desc, tx); in to_virt_desc()
19 dma_cookie_t vchan_tx_submit(struct dma_async_tx_descriptor *tx) in vchan_tx_submit() argument
21 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_submit()
22 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit()
26 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_submit()
27 cookie = dma_cookie_assign(tx); in vchan_tx_submit()
[all …]
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/dma-mapping.h>
54 static int debug = -1;
73 * sxgbe_verify_args - verify the driver parameters.
86 if (!priv->tx_path_in_lpi_mode) in sxgbe_enable_eee_mode()
87 priv->hw->mac->set_eee_mode(priv->ioaddr); in sxgbe_enable_eee_mode()
93 priv->hw->mac->reset_eee_mode(priv->ioaddr); in sxgbe_disable_eee_mode()
94 timer_delete_sync(&priv->eee_ctrl_timer); in sxgbe_disable_eee_mode()
95 priv->tx_path_in_lpi_mode = false; in sxgbe_disable_eee_mode()
111 mod_timer(&priv->eee_ctrl_timer, SXGBE_LPI_TIMER(eee_timer)); in sxgbe_eee_ctrl_timer()
[all …]
/linux/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c1 // SPDX-License-Identifier: GPL-2.0+
24 #include "mlxbf-tmfifo-regs.h"
29 /* Console Tx buffer size. */
32 /* Console Tx buffer reserved space. */
35 /* House-keeping timer interval. */
50 /* Tx timeout in milliseconds. */
53 /* ACPI UID for BlueField-3. */
59 * struct mlxbf_tmfifo_vring - Structure of the TmFifo virtual ring
75 * @tx_timeout: expire time of last tx packet
101 r->desc_head == &r->drop_desc; })
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
H A Dti,omap-mailbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/ti,omap-mailbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
26 interrupt configuration registers, and have a rx and tx interrupt source per
28 appropriate programming of the rx and tx interrupt sources on the appropriate
35 lines can also be routed to different processor sub-systems on DRA7xx as they
48 A Mailbox device node is used to represent a Mailbox IP instance/cluster
49 within a SoC. The sub-mailboxes (actual communication channels) are
[all …]
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_txrx.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
10 /* Tx descriptor size */
13 /* Size of device headers per Tx packet */
16 /* Number of gather list entries per Tx descriptor */
28 /* Max number of Tx descriptors for an sk_buff using a gather list. */
33 /* Max number of Tx descriptors for any packet. */
40 #define FUNETH_CQE_INFO_OFFSET (FUNETH_CQE_SIZE - sizeof(struct fun_cqe_info))
55 /* Per packet tailroom. Present only for 1-frag packets. */
66 FUN_QSTATE_INIT_SW, /* exists in SW, not on the device */
67 FUN_QSTATE_INIT_FULL, /* exists both in SW and on device */
[all …]
/linux/include/linux/hsi/
H A Dhsi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include <linux/device.h>
36 HSI_ARB_RR, /* Round-robin arbitration */
58 * struct hsi_channel - channel resource used by the hsi clients
68 * struct hsi_config - Configuration for RX/TX HSI modules
75 * @arb_mode: Arbitration mode for TX frame (Round robin, priority)
85 unsigned int arb_mode; /* TX only */
90 * struct hsi_board_info - HSI client board info
91 * @name: Name for the HSI device
94 * @tx_cfg: HSI TX configuration
[all …]
/linux/drivers/net/wireless/st/cw1200/
H A Dbh.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device handling thread implementation for mac80211 ST-Ericsson CW1200 drivers
5 * Copyright (c) 2010, ST-Ericsson
9 * ST-Ericsson UMAC CW1200 driver, which is
10 * Copyright (c) 2010, ST-Ericsson
29 #define DOWNLOAD_BLOCK_SIZE_WR (0x1000 - 4)
30 /* an SPI message cannot be bigger than (2"12-1)*2 bytes
35 #define EFFECTIVE_BUF_SIZE (MAX_SZ_RD_WR_BUFFERS - PIGGYBACK_CTRL_REG)
56 priv->bh_workqueue = alloc_workqueue("cw1200_bh", in cw1200_register_bh()
60 if (!priv->bh_workqueue) in cw1200_register_bh()
[all …]

12345678910>>...42