| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mailbox/ |
| D | apple,mailbox.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 11 - Sven Peter <sven@svenpeter.dev> 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/apple/ |
| D | t600x-nvme.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-6.6/net/rds/ |
| D | ib_recv.c | 14 * - 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 …]
|
| /kernel/linux/linux-5.10/net/rds/ |
| D | ib_recv.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 36 #include <linux/dma-mapping.h> 49 struct rds_ib_recv_work *recv; in rds_ib_recv_init_ring() local 52 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring() 55 recv->r_ibinc = NULL; in rds_ib_recv_init_ring() 56 recv->r_frag = NULL; in rds_ib_recv_init_ring() 58 recv->r_wr.next = NULL; in rds_ib_recv_init_ring() 59 recv->r_wr.wr_id = i; in rds_ib_recv_init_ring() 60 recv->r_wr.sg_list = recv->r_sge; in rds_ib_recv_init_ring() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/usbip/ |
| D | vhci_rx.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/usbip/ |
| D | vhci_rx.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
| D | intel_guc_ct.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
| D | stack.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
| D | stack.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/vsock/ |
| D | vsock_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vsock_test - vsock.ko test suite 36 .svm_cid = opts->peer_cid, in test_stream_connection_reset() 51 if (ret != -1) { in test_stream_connection_reset() 72 .svm_cid = opts->peer_cid, in test_stream_bind_only_client() 90 if (ret != -1) { in test_stream_bind_only_client() 139 fd = vsock_stream_connect(opts->peer_cid, 1234); in test_stream_client_close_client() 160 * -EPIPE error on send. in test_stream_client_close_server() 164 send_byte(fd, -EPIPE, 0); in test_stream_client_close_server() 174 fd = vsock_stream_connect(opts->peer_cid, 1234); in test_stream_server_close_client() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
| D | README | 15 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 …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
| D | README | 15 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 …]
|
| /kernel/linux/linux-6.6/drivers/mailbox/ |
| D | apple-mailbox.c | 1 // 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 19 #include <linux/apple-mailbox.h> 113 readl_relaxed(apple_mbox->regs + apple_mbox->hw->a2i_control); in apple_mbox_hw_can_send() 115 return !(mbox_ctrl & apple_mbox->hw->control_full); in apple_mbox_hw_can_send() 121 readl_relaxed(apple_mbox->regs + apple_mbox->hw->a2i_control); in apple_mbox_hw_send_empty() 123 return mbox_ctrl & apple_mbox->hw->control_empty; in apple_mbox_hw_send_empty() 130 return -EBUSY; in apple_mbox_hw_send() 132 dev_dbg(apple_mbox->dev, "> TX %016llx %08x\n", msg->msg0, msg->msg1); in apple_mbox_hw_send() [all …]
|
| D | tegra-hsp.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/soc/ixp4xx/ |
| D | ixp4xx-npe.c | 1 // 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 <chohnstaedt@innominate.com> 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 …]
|
| /kernel/linux/linux-5.10/drivers/soc/ixp4xx/ |
| D | ixp4xx-npe.c | 1 // 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 <chohnstaedt@innominate.com> 15 #include <linux/dma-mapping.h> 118 #define NPE_A_FIRMWARE "NPE-A" 119 #define NPE_B_FIRMWARE "NPE-B" 120 #define NPE_C_FIRMWARE "NPE-C" 164 return (__raw_readl(&npe->regs->exec_status_cmd) & STAT_RUN) != 0; in npe_running() 169 __raw_writel(data, &npe->regs->exec_data); in npe_cmd_write() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | so_txtime.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * The two streams can differ due to out-of-order delivery and drops. 73 iov.iov_base = &ts->data; in do_send_one() 79 if (ts->delay_us >= 0) { in do_send_one() 84 tdeliver = glob_tstart + ts->delay_us * 1000; in do_send_one() 87 cm->cmsg_level = SOL_SOCKET; in do_send_one() 88 cm->cmsg_type = SCM_TXTIME; in do_send_one() 89 cm->cmsg_len = CMSG_LEN(sizeof(tdeliver)); in do_send_one() 94 if (ret == -1) in do_send_one() 107 ret = recv(fdr, rbuf, sizeof(rbuf), 0); in do_recv_one() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/sn/ |
| D | ioc3.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/sn/ |
| D | ioc3.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/core/ |
| D | mad.c | 2 * 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> 63 struct ib_device *dev = qp_info->port_priv->device; in create_mad_addr_info() 64 u8 pnum = qp_info->port_priv->port_num; in create_mad_addr_info() 65 struct ib_ud_wr *wr = &mad_send_wr->send_wr; in create_mad_addr_info() 68 rdma_query_ah(wr->ah, &attr); in create_mad_addr_info() 71 entry->sl = attr.sl; in create_mad_addr_info() 72 ib_query_pkey(dev, pnum, wr->pkey_index, &pkey); in create_mad_addr_info() [all …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/core/ |
| D | mad.c | 2 * 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 …]
|
| /kernel/linux/linux-6.6/drivers/misc/ti-st/ |
| D | st_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Texas Instruments 31 pr_info("%s: id %d\n", __func__, new_proto->chnl_id); in add_channel_to_table() 33 st_gdata->list[new_proto->chnl_id] = new_proto; in add_channel_to_table() 34 st_gdata->is_registered[new_proto->chnl_id] = true; in add_channel_to_table() 40 pr_info("%s: id %d\n", __func__, proto->chnl_id); in remove_channel_from_table() 41 /* st_gdata->list[proto->chnl_id] = NULL; */ in remove_channel_from_table() 42 st_gdata->is_registered[proto->chnl_id] = false; in remove_channel_from_table() 48 * This is a wrapper function to tty->ops->write_room. 54 if (unlikely(st_gdata == NULL || st_gdata->tty == NULL)) { in st_get_uart_wr_room() [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
| D | client.h | 1 /* 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 */ 144 * ishtp_cl_cmp_id - tells if file private data have same id 145 * returns true - if ids are the same and not NULL [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/ |
| D | client.h | 1 /* 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 */ 144 * ishtp_cl_cmp_id - tells if file private data have same id 145 * returns true - if ids are the same and not NULL [all …]
|
| /kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/ |
| D | targethw.h | 1 /* 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 */
|