Home
last modified time | relevance | path

Searched +full:recv +full:- +full:empty (Results 1 – 25 of 126) sorted by relevance

123456

/linux-6.14.4/Documentation/devicetree/bindings/mailbox/
Dapple,mailbox.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hector Martin <[email protected]>
11 - Sven Peter <[email protected]>
15 messages between the main CPU and a co-processor. Multiple instances
17 One of the two FIFOs is used to send data to a co-processor while the other
25 - description:
30 - enum:
31 - apple,t8103-asc-mailbox
[all …]
/linux-6.14.4/arch/arm64/boot/dts/apple/
Dt600x-nvme.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
9 compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
11 interrupt-parent = <&aic>;
16 interrupt-names = "send-empty", "send-not-empty",
17 "recv-empty", "recv-not-empty";
18 power-domains = <&DIE_NODE(ps_ans2)>;
19 #mbox-cells = <0>;
23 compatible = "apple,t6000-sart";
25 power-domains = <&DIE_NODE(ps_ans2)>;
29 compatible = "apple,t6000-nvme-ans2", "apple,nvme-ans2";
[all …]
/linux-6.14.4/net/rds/
Dib_recv.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
37 #include <linux/dma-mapping.h>
50 struct rds_ib_recv_work *recv; in rds_ib_recv_init_ring() local
53 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
56 recv->r_ibinc = NULL; in rds_ib_recv_init_ring()
57 recv->r_frag = NULL; in rds_ib_recv_init_ring()
59 recv->r_wr.next = NULL; in rds_ib_recv_init_ring()
60 recv->r_wr.wr_id = i; in rds_ib_recv_init_ring()
61 recv->r_wr.sg_list = recv->r_sge; in rds_ib_recv_init_ring()
[all …]
/linux-6.14.4/drivers/usb/usbip/
Dvhci_rx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2003-2008 Takahiro Hirofuchi
12 /* get URB from transmitted urb queue. caller must hold vdev->priv_lock */
19 list_for_each_entry_safe(priv, tmp, &vdev->priv_rx, list) { in pickup_urb_and_free_priv()
20 if (priv->seqnum != seqnum) in pickup_urb_and_free_priv()
23 urb = priv->urb; in pickup_urb_and_free_priv()
24 status = urb->status; in pickup_urb_and_free_priv()
29 case -ENOENT: in pickup_urb_and_free_priv()
31 case -ECONNRESET: in pickup_urb_and_free_priv()
32 dev_dbg(&urb->dev->dev, in pickup_urb_and_free_priv()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2016-2019 Intel Corporation
31 if (!(ct)->dead_ct_reported) { \
32 (ct)->dead_ct_reason |= 1 << CT_DEAD_##reason; \
33 queue_work(system_unbound_wq, &(ct)->dead_ct_worker); \
61 * +--------+-----------------------------------------------+------+
65 * +--------+-----------------------------------------------+ 4K |
66 * | 0x0800 | G2H `CTB Descriptor`_ (recv) | |
67 * +--------+-----------------------------------------------+------+
70 * +--------+-----------------------------------------------+------+
[all …]
/linux-6.14.4/drivers/isdn/mISDN/
Dstack.c1 // SPDX-License-Identifier: GPL-2.0-only
27 __func__, hh->prim, hh->id, skb); in _queue_message()
28 skb_queue_tail(&st->msgq, skb); in _queue_message()
29 if (likely(!test_bit(mISDN_STACK_STOPPED, &st->status))) { in _queue_message()
30 test_and_set_bit(mISDN_STACK_WORK, &st->status); in _queue_message()
31 wake_up_interruptible(&st->workq); in _queue_message()
38 _queue_message(ch->st, skb); in mISDN_queue_message()
47 mutex_lock(&st->lmutex); in get_channel4id()
48 list_for_each_entry(ch, &st->layer2, list) { in get_channel4id()
49 if (id == ch->nr) in get_channel4id()
[all …]
/linux-6.14.4/drivers/infiniband/ulp/rtrs/
DREADME15 RTRS provides I/O fail-over and load-balancing capabilities by using
17 Documentation/ABI/testing/sysfs-class-rtrs-client).
26 --------
64 ------------------------
93 (i.e. steps 1-4 finished for all paths requested for a session)
95 6. Server and client exchange periodically heartbeat messages (empty rdma
105 RTRS_MSG_CON_REQ ------------------->
106 <------------------- RTRS_MSG_CON_RSP
109 RTRS_MSG_INFO_REQ ------------------->
110 <------------------- RTRS_MSG_INFO_RSP
[all …]
/linux-6.14.4/drivers/soc/apple/
Dmailbox.c1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
9 * exchange 64+32 bit messages between the main CPU and a co-processor.
13 * Both the main CPU and the co-processor see the same set of registers but
107 spin_lock_irqsave(&mbox->tx_lock, flags); in apple_mbox_send()
108 mbox_ctrl = readl_relaxed(mbox->regs + mbox->hw->a2i_control); in apple_mbox_send()
110 while (mbox_ctrl & mbox->hw->control_full) { in apple_mbox_send()
113 mbox->regs + mbox->hw->a2i_control, mbox_ctrl, in apple_mbox_send()
114 !(mbox_ctrl & mbox->hw->control_full), 100, in apple_mbox_send()
118 spin_unlock_irqrestore(&mbox->tx_lock, flags); in apple_mbox_send()
126 * FIFO is empty. It will also keep firing if the FIFO was empty in apple_mbox_send()
[all …]
/linux-6.14.4/drivers/mailbox/
Dtegra-hsp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016-2025, NVIDIA CORPORATION. All rights reserved.
17 #include <dt-bindings/mailbox/tegra186-hsp.h>
73 void (*recv)(struct tegra_hsp_channel *channel); member
136 return readl(hsp->regs + offset); in tegra_hsp_readl()
142 writel(value, hsp->regs + offset); in tegra_hsp_writel()
148 return readl(channel->regs + offset); in tegra_hsp_channel_readl()
154 writel(value, channel->regs + offset); in tegra_hsp_channel_writel()
161 value = tegra_hsp_channel_readl(&db->channel, HSP_DB_ENABLE); in tegra_hsp_doorbell_can_ring()
171 list_for_each_entry(entry, &hsp->doorbells, list) in __tegra_hsp_doorbell_get()
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/
Dcq.c2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
52 spin_lock_irqsave(&ctx->lock, flags); in mlx5_cq_tasklet_cb()
53 list_splice_tail_init(&ctx->list, &ctx->process_list); in mlx5_cq_tasklet_cb()
54 spin_unlock_irqrestore(&ctx->lock, flags); in mlx5_cq_tasklet_cb()
56 list_for_each_entry_safe(mcq, temp, &ctx->process_list, in mlx5_cq_tasklet_cb()
58 list_del_init(&mcq->tasklet_ctx.list); in mlx5_cq_tasklet_cb()
59 mcq->tasklet_ctx.comp(mcq, NULL); in mlx5_cq_tasklet_cb()
65 if (!list_empty(&ctx->process_list)) in mlx5_cq_tasklet_cb()
[all …]
/linux-6.14.4/drivers/soc/ixp4xx/
Dixp4xx-npe.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - Intel IXP4xx Developer's Manual and other e-papers
9 * - Intel IXP400 Access Library Software (BSD license)
10 * - previous works by Christian Hohnstaedt <[email protected]>
15 #include <linux/dma-mapping.h>
121 #define NPE_A_FIRMWARE "NPE-A"
122 #define NPE_B_FIRMWARE "NPE-B"
123 #define NPE_C_FIRMWARE "NPE-C"
167 return (__raw_readl(&npe->regs->exec_status_cmd) & STAT_RUN) != 0; in npe_running()
172 __raw_writel(data, &npe->regs->exec_data); in npe_cmd_write()
[all …]
/linux-6.14.4/arch/mips/include/asm/sn/
Dioc3.h1 /* SPDX-License-Identifier: GPL-2.0 */
50 u8 fill0[0x151 - 0x142 - 1];
56 u8 fill1[0x159 - 0x153 - 1];
62 u8 fill2[0x16a - 0x15b - 1];
67 u8 fill3[0x170 - 0x16b - 1];
153 u32 pad1[(0x20000 - 0x00154) / 4];
157 u32 pad2[(0x40000 - 0x20180) / 4];
160 u32 ssram[(0x80000 - 0x40000) / 4];
163 0x80000 - Access to the generic devices selected with DEV0
165 0xA0000 - Access to the generic devices selected with DEV1
[all …]
/linux-6.14.4/drivers/infiniband/core/
Dmad.c2 * Copyright (c) 2004-2007 Voltaire, Inc. All rights reserved.
18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
40 #include <linux/dma-mapping.h>
62 struct ib_ud_wr *wr = &mad_send_wr->send_wr; in create_mad_addr_info()
65 rdma_query_ah(wr->ah, &attr); in create_mad_addr_info()
68 entry->sl = attr.sl; in create_mad_addr_info()
69 entry->rqpn = wr->remote_qpn; in create_mad_addr_info()
70 entry->rqkey = wr->remote_qkey; in create_mad_addr_info()
71 entry->dlid = rdma_ah_get_dlid(&attr); in create_mad_addr_info()
[all …]
/linux-6.14.4/drivers/hid/intel-ish-hid/ishtp/
Dclient.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2003-2016, Intel Corporation.
12 #include "ishtp-dev.h"
63 /* Rx in-process list */
76 * if we get a FC, and the list is not empty, we must know whether we
78 * if so -need to increase FC counter, otherwise, need to start sending
80 * (!)This is for counting-FC implementation only. Within single-FC the
95 /* Send/recv stats */
141 * ishtp_cl_cmp_id - tells if file private data have same id
142 * returns true - if ids are the same and not NULL
[all …]
/linux-6.14.4/tools/testing/selftests/net/
Dso_txtime.c1 // SPDX-License-Identifier: GPL-2.0
8 * mode using the '-r' option. Receiver will compare arrival timestamps to
10 * queue. The streams can differ due to out-of-order delivery and drops.
82 iov.iov_base = &ts->data; in do_send_one()
90 if (ts->delay_us >= 0) { in do_send_one()
95 tdeliver = glob_tstart + ts->delay_us * 1000; in do_send_one()
100 cm->cmsg_level = SOL_SOCKET; in do_send_one()
101 cm->cmsg_type = SCM_TXTIME; in do_send_one()
102 cm->cmsg_len = CMSG_LEN(sizeof(tdeliver)); in do_send_one()
107 if (ret == -1) in do_send_one()
[all …]
/linux-6.14.4/drivers/net/fddi/skfp/h/
Dtargethw.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
37 #define OI_STAT_PRESENT 1 /* entry present but not empty */
123 struct mac_counter mac_ct ; /* recv., lost, error */
/linux-6.14.4/net/smc/
Dsmc_core.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
29 * also is the default value for SMC-R v1 and v2.0
32 * SMC-R v2.1 and later negotiation, vendors or
34 * 16-255 as needed.
95 struct smc_ib_device *smcibdev; /* ib-device */
96 u8 ibport; /* port - values 1 | 2 */
125 u8 *wr_rx_bufs; /* WR recv payload buffers */
126 struct ib_recv_wr *wr_rx_ibs; /* WR recv meta data */
127 struct ib_sge *wr_rx_sges; /* WR recv scatter meta data */
[all …]
/linux-6.14.4/Documentation/networking/
Drds.rst1 .. SPDX-License-Identifier: GPL-2.0
14 http://oss.oracle.com/pipermail/rds-devel/2007-November/000228.html
22 cluster - so in a cluster with N processes you need N sockets, in contrast
23 to N*N if you use a connection-oriented socket transport like TCP.
25 RDS is not Infiniband-specific; it was designed to support different
29 The high-level semantics of RDS from the application's point of view are
39 transport has to be IP-based. In fact, RDS over IB uses a
59 a active-active HA scenario), but only as long as the address
72 to create RDS sockets. SOL_RDS is the socket-level to be used
87 This is a soft limit rather than a hard limit - RDS will
[all …]
Dipvs-sysctl.rst1 .. SPDX-License-Identifier: GPL-2.0
4 IPvs-sysctl
10 am_droprate - INTEGER
16 amemthresh - INTEGER
25 backup_only - BOOLEAN
26 - 0 - disabled (default)
27 - not 0 - enabled
32 conn_reuse_mode - INTEGER
33 1 - default
52 conntrack - BOOLEAN
[all …]
/linux-6.14.4/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c1 // SPDX-License-Identifier: GPL-2.0
111 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage()
112 "[-m mode] [-M mark] [-o option] [-p port] [-P mode] [-r num] [-R num] " in die_usage()
113 "[-s MPTCP|TCP] [-S num] [-t num] [-T num] [-w sec] connect_address\n"); in die_usage()
114 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage()
115 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage()
116 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage()
120 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage()
121 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num " in die_usage()
123 fprintf(stderr, "\t-j -- add additional sleep at connection start and tear down " in die_usage()
[all …]
/linux-6.14.4/drivers/perf/
Dxgene_pmu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * APM X-Gene SoC PMU (Performance Monitor Unit)
79 #define GET_CNTR(ev) (ev->hw.idx)
80 #define GET_EVENTID(ev) (ev->hw.config & 0xFFULL)
81 #define GET_AGENTID(ev) (ev->hw.config_base & 0xFFFFFFFFUL)
82 #define GET_AGENT1ID(ev) ((ev->hw.config_base >> 32) & 0xFFFFFFFFUL)
172 XGENE_PMU_FORMAT_ATTR(l3c_eventid, "config:0-7"),
173 XGENE_PMU_FORMAT_ATTR(l3c_agentid, "config1:0-9"),
178 XGENE_PMU_FORMAT_ATTR(iob_eventid, "config:0-7"),
179 XGENE_PMU_FORMAT_ATTR(iob_agentid, "config1:0-63"),
[all …]
/linux-6.14.4/tools/testing/selftests/mqueue/
Dmq_perf_tests.c47 " %s [-c #[,#..] -f] path\n"
49 " -c # Skip most tests and go straight to a high queue depth test\n"
59 " -f Only usable with continuous mode. Pin ourself to the CPUs\n"
99 mqd_t queue = -1;
120 "re-run the tests using fake mode in order to check "
136 "the no-mqueue work and mqueue work tests",
192 if (queue != -1) in shutdown()
283 * open_queue - open the global queue for testing
284 * @attr - An attr struct specifying the desired queue traits
285 * @result - An attr struct that lists the actual traits the queue has
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_maps.c1 // SPDX-License-Identifier: GPL-2.0-only
55 /* -1 is an invalid flag. */ in test_hashmap()
56 assert(bpf_map_update_elem(fd, &key, &value, -1) < 0 && in test_hashmap()
120 /* Check that map is empty. */ in test_hashmap()
187 /* -1 is an invalid flag. */ in test_hashmap_percpu()
188 assert(bpf_map_update_elem(fd, &key, value, -1) < 0 && in test_hashmap_percpu()
254 /* Check that map is empty. */ in test_hashmap_percpu()
317 assert(value[0] - 1 == key); in test_hashmap_walk()
443 bpf_percpu(values, nr_cpus - 1) == 0); in test_arraymap_percpu()
483 printf("Failed to create per-cpu arraymap '%s'!\n", in test_arraymap_percpu_many_keys()
[all …]
/linux-6.14.4/drivers/net/wireless/ath/ath6kl/
Dhif.c2 * Copyright (c) 2007-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
23 #include "hif-ops.h"
37 buf = req->virt_dma_buf; in ath6kl_hif_cp_scat_dma_buf()
39 for (i = 0; i < req->scat_entries; i++) { in ath6kl_hif_cp_scat_dma_buf()
41 memcpy(req->scat_list[i].buf, buf, in ath6kl_hif_cp_scat_dma_buf()
42 req->scat_list[i].len); in ath6kl_hif_cp_scat_dma_buf()
44 memcpy(buf, req->scat_list[i].buf, in ath6kl_hif_cp_scat_dma_buf()
45 req->scat_list[i].len); in ath6kl_hif_cp_scat_dma_buf()
47 buf += req->scat_list[i].len; in ath6kl_hif_cp_scat_dma_buf()
[all …]
/linux-6.14.4/drivers/net/ethernet/altera/
Daltera_sgdma.c1 // SPDX-License-Identifier: GPL-2.0-only
56 priv->txctrlreg = SGDMA_CTRLREG_ILASTD | in sgdma_initialize()
59 priv->rxctrlreg = SGDMA_CTRLREG_IDESCRIP | in sgdma_initialize()
63 INIT_LIST_HEAD(&priv->txlisthd); in sgdma_initialize()
64 INIT_LIST_HEAD(&priv->rxlisthd); in sgdma_initialize()
66 priv->rxdescphys = (dma_addr_t) 0; in sgdma_initialize()
67 priv->txdescphys = (dma_addr_t) 0; in sgdma_initialize()
69 priv->rxdescphys = dma_map_single(priv->device, in sgdma_initialize()
70 (void __force *)priv->rx_dma_desc, in sgdma_initialize()
71 priv->rxdescmem, DMA_BIDIRECTIONAL); in sgdma_initialize()
[all …]

123456