Home
last modified time | relevance | path

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

12345678910>>...46

/kernel/linux/linux-5.10/crypto/async_tx/
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 …]
Dasync_xor.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/dma-mapping.h>
21 /* do_async_xor - dma map the pages and perform the xor with an engine */
26 struct dma_device *dma = chan->device; in do_async_xor()
27 struct dma_async_tx_descriptor *tx = NULL; in do_async_xor() local
28 dma_async_tx_callback cb_fn_orig = submit->cb_fn; in do_async_xor()
29 void *cb_param_orig = submit->cb_param; in do_async_xor()
30 enum async_tx_flags flags_orig = submit->flags; in do_async_xor()
32 int src_cnt = unmap->to_cnt; in do_async_xor()
34 dma_addr_t dma_dest = unmap->addr[unmap->to_cnt]; in do_async_xor()
[all …]
Dasync_pq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/dma-mapping.h>
15 * 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 …]
/kernel/linux/linux-6.6/crypto/async_tx/
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 …]
Dasync_xor.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/dma-mapping.h>
21 /* do_async_xor - dma map the pages and perform the xor with an engine */
26 struct dma_device *dma = chan->device; in do_async_xor()
27 struct dma_async_tx_descriptor *tx = NULL; in do_async_xor() local
28 dma_async_tx_callback cb_fn_orig = submit->cb_fn; in do_async_xor()
29 void *cb_param_orig = submit->cb_param; in do_async_xor()
30 enum async_tx_flags flags_orig = submit->flags; in do_async_xor()
32 int src_cnt = unmap->to_cnt; in do_async_xor()
34 dma_addr_t dma_dest = unmap->addr[unmap->to_cnt]; in do_async_xor()
[all …]
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 …]
/kernel/linux/linux-6.6/drivers/peci/
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 …]
/kernel/linux/linux-6.6/include/linux/
Dwwan.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 * enum wwan_port_type - WWAN port types
35 WWAN_PORT_MAX = __WWAN_PORT_MAX - 1,
39 struct device;
45 /** struct wwan_port_ops - The WWAN port operations
46 * @start: The routine for starting the WWAN port device.
47 * @stop: The routine for stopping the WWAN port device.
48 * @tx: Non-blocking routine that sends WWAN port protocol data to the device.
50 * to the device.
51 * @tx_poll: Optional routine that sets additional TX poll flags.
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dusb-tx.c3 * USB specific TX handling
6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
35 * Intel Corporation <linux-wimax@intel.com>
37 * - Initial implementation
38 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
39 * - Split transport/device specific
42 * Takes the TX messages in the i2400m's driver TX FIFO and sends them
43 * to the device until there are no more.
52 * USB bulk out, tell the TX FIFO code we have sent it; query for
56 * usb_autopm_disable() for each transaction; this way when the device
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
Dice_ptp.c1 // SPDX-License-Identifier: GPL-2.0
113 /* SMA1 and UFL1 cannot be set to TX at the same time */ in ice_ptp_set_sma_config_e810t()
116 return -EINVAL; in ice_ptp_set_sma_config_e810t()
121 return -EINVAL; in ice_ptp_set_sma_config_e810t()
140 /* U.FL 1 TX will always enable SMA 1 RX */ in ice_ptp_set_sma_config_e810t()
141 dev_info(ice_hw_to_dev(hw), "SMA1 RX + U.FL1 TX"); in ice_ptp_set_sma_config_e810t()
144 dev_info(ice_hw_to_dev(hw), "SMA1 RX + U.FL1 TX"); in ice_ptp_set_sma_config_e810t()
147 dev_info(ice_hw_to_dev(hw), "SMA1 TX"); in ice_ptp_set_sma_config_e810t()
167 dev_info(ice_hw_to_dev(hw), "SMA2 TX"); in ice_ptp_set_sma_config_e810t()
172 dev_info(ice_hw_to_dev(hw), "SMA2 TX + U.FL2 RX"); in ice_ptp_set_sma_config_e810t()
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/
Dadis.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
12 #include <linux/device.h>
31 * __adis_write_reg() - write N bytes to register (unlocked version)
32 * @adis: The adis device
34 * @value: The value to write to device (up to 4 bytes)
45 .tx_buf = adis->tx, in __adis_write_reg()
49 .delay.value = adis->data->write_delay, in __adis_write_reg()
51 .cs_change_delay.value = adis->data->cs_change_delay, in __adis_write_reg()
54 .tx_buf = adis->tx + 2, in __adis_write_reg()
[all …]
/kernel/linux/linux-6.6/drivers/iio/imu/
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()
45 .delay.value = adis->data->write_delay, in __adis_write_reg()
47 .cs_change_delay.value = adis->data->cs_change_delay, in __adis_write_reg()
50 .tx_buf = adis->tx + 2, in __adis_write_reg()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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 vaules depend on the
45 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_rxqs
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/msm/
Dhdmi.txt4 - compatible: one of the following
5 * "qcom,hdmi-tx-8996"
6 * "qcom,hdmi-tx-8994"
7 * "qcom,hdmi-tx-8084"
8 * "qcom,hdmi-tx-8974"
9 * "qcom,hdmi-tx-8660"
10 * "qcom,hdmi-tx-8960"
11 - reg: Physical base address and length of the controller's registers
12 - reg-names: "core_physical"
13 - interrupts: The interrupt signal from the hdmi block.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Ddw_hdmi.txt1 Synopsys DesignWare HDMI TX Encoder
4 This document defines device tree properties for the Synopsys DesignWare HDMI
5 TX Encoder (DWC HDMI TX). It doesn't constitue a device tree binding
6 specification by itself but is meant to be referenced by platform-specific
7 device tree bindings.
9 When referenced from platform device tree bindings the properties defined in
10 this document are defined as follows. The platform device tree bindings are
13 - reg: Memory mapped base address and length of the DWC HDMI TX registers.
15 - reg-io-width: Width of the registers specified by the reg property. The
19 - interrupts: Reference to the DWC HDMI TX interrupt.
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/
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.
36 #define XEL_TSR_OFFSET 0x07FC /* Tx status */
37 #define XEL_TPLR_OFFSET 0x07F4 /* Tx packet length */
43 #define XEL_BUFFER_OFFSET 0x0800 /* Next Tx/Rx buffer's offset */
65 #define XEL_TSR_XMIT_BUSY_MASK 0x00000001 /* Tx complete */
67 #define XEL_TSR_XMIT_IE_MASK 0x00000008 /* Tx interrupt enable bit */
81 #define XEL_TPLR_LENGTH_MASK 0x0000FFFF /* Tx packet length */
93 #define TX_TIMEOUT (60 * HZ) /* Tx timeout is 60 seconds. */
[all …]
/kernel/linux/linux-6.6/drivers/net/phy/
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 …]
/kernel/linux/linux-5.10/drivers/net/phy/
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 …]
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/amazon/
Dena.rst1 .. SPDX-License-Identifier: GPL-2.0
13 The ENA device exposes a lightweight management interface with a
17 The driver supports a range of ENA devices, is link-speed independent
21 Some ENA devices support SR-IOV. This driver is used for both the
22 SR-IOV Physical Function (PF) and Virtual Function (VF) devices.
25 processing by providing multiple Tx/Rx queue pairs (the maximum number
26 is advertised by the device via the Admin Queue), a dedicated MSI-X
27 interrupt vector per Tx/Rx queue pair, adaptive interrupt moderation,
32 Receive-side scaling (RSS) is supported for multi-core scaling.
35 monitoring mechanisms such as watchdog, enabling the device and driver
[all …]
/kernel/linux/linux-5.10/drivers/dma/
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 …]
/kernel/linux/linux-6.6/drivers/dma/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dxilinx_emaclite.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Xilinx EmacLite Linux driver for the Xilinx Ethernet MAC Lite device.
8 * 2007 - 2013 (c) 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 */
96 #define TX_TIMEOUT (60 * HZ) /* Tx timeout is 60 seconds. */
[all …]
/kernel/linux/linux-6.6/tools/spi/
Dspidev_test.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include
38 static const char *device = "/dev/spidev1.1"; variable
71 while (length-- > 0) { in hex_dump()
91 * Unescape - process hexadecimal escape character
92 * converts shell input "\x23" -> 0x23
118 static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len) in transfer() argument
123 .tx_buf = (unsigned long)tx, in transfer()
155 hex_dump(tx, len, 32, "TX"); in transfer()
175 printf("Usage: %s [-2348CDFHILMNORSZbdilopsv]\n", prog); in print_usage()
[all …]

12345678910>>...46