Home
last modified time | relevance | path

Searched +full:rdma +full:- +full:fifo +full:- +full:size (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_rdma.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/soc/mediatek/mtk-cmdq.h>
52 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size) argument
78 * struct mtk_disp_rdma - DISP_RDMA driver structure
96 writel(0x0, priv->regs + DISP_REG_RDMA_INT_STATUS); in mtk_disp_rdma_irq_handler()
98 if (!priv->vblank_cb) in mtk_disp_rdma_irq_handler()
101 priv->vblank_cb(priv->vblank_cb_data); in mtk_disp_rdma_irq_handler()
109 struct mtk_disp_rdma *rdma = dev_get_drvdata(dev); in rdma_update_bits() local
110 unsigned int tmp = readl(rdma->regs + reg); in rdma_update_bits()
113 writel(tmp, rdma->regs + reg); in rdma_update_bits()
[all …]
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * SCSI RDMA Protocol lib functions
17 #include <linux/dma-mapping.h>
30 q->pool = kcalloc(max, sizeof(struct iu_entry *), GFP_KERNEL); in srp_iu_pool_alloc()
31 if (!q->pool) in srp_iu_pool_alloc()
32 return -ENOMEM; in srp_iu_pool_alloc()
33 q->items = kcalloc(max, sizeof(struct iu_entry), GFP_KERNEL); in srp_iu_pool_alloc()
34 if (!q->items) in srp_iu_pool_alloc()
37 spin_lock_init(&q->lock); in srp_iu_pool_alloc()
38 kfifo_init(&q->queue, (void *)q->pool, max * sizeof(void *)); in srp_iu_pool_alloc()
[all …]
/linux/net/rds/
H A Dsend.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
70 if (cp->cp_xmit_rm) { in rds_send_path_reset()
71 rm = cp->cp_xmit_rm; in rds_send_path_reset()
72 cp->cp_xmit_rm = NULL; in rds_send_path_reset()
73 /* Tell the user the RDMA op is no longer mapped by the in rds_send_path_reset()
76 * no ongoing RDMA to/from that memory */ in rds_send_path_reset()
81 cp->cp_xmit_sg = 0; in rds_send_path_reset()
82 cp->cp_xmit_hdr_off = 0; in rds_send_path_reset()
83 cp->cp_xmit_data_off = 0; in rds_send_path_reset()
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dverbs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (c) 2014-2017 Oracle. All rights reserved.
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
9 * COPYING in the main directory of this source tree, or the BSD-type
61 #include <rdma/ib_cm.h>
78 rpcrdma_regbuf_alloc_node(size_t size, enum dma_data_direction direction,
81 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction);
91 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
92 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
97 if (atomic_inc_return(&ep->re_receiving) > 1) in rpcrdma_xprt_drain()
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "meson-gx.dtsi"
8 #include <dt-bindings/clock/gxbb-clkc.h>
9 #include <dt-bindings/clock/gxbb-aoclkc.h>
10 #include <dt-bindings/gpio/meson-gxl-gpio.h>
11 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>
14 compatible = "amlogic,meson-gxl";
18 compatible = "amlogic,meson-gxl-usb-ctrl";
21 #address-cells = <2>;
22 #size-cells = <2>;
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
8 #include <dt-bindings/clock/mt8192-clk.h>
9 #include <dt-bindings/gce/mt8192-gce.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/memory/mt8192-larb-port.h>
13 #include <dt-bindings/pinctrl/mt8192-pinfunc.h>
14 #include <dt-bindings/phy/phy.h>
15 #include <dt-bindings/power/mt8192-power.h>
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright(c) 2018 - 2020 Intel Corporation.
16 * DOC: TID RDMA READ protocol
18 * This is an end-to-end protocol at the hfi1 level between two nodes that
20 * converts a qualified RDMA READ request into a TID RDMA READ request on
22 * differently. To be qualified, the RDMA READ request should meet the
24 * -- The total data length should be greater than 256K;
25 * -- The total data length should be a multiple of 4K page size;
26 * -- Each local scatter-gather entry should be 4K page aligned;
27 * -- Each local scatter-gather entry should be a multiple of 4K page size;
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Dt4.h2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
17 * - Redistributions in binary form must reproduce the above
43 #define T4_PAGESIZE_MASK 0xffff000 /* 4KB-128MB */
49 __be32 rsvd1; /* flit 0 - hw owns */
54 u8 qp_err; /* flit 1 - sw owns */
70 #define T4_MAX_SEND_SGE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \
72 #define T4_MAX_SEND_INLINE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \
74 #define T4_MAX_WRITE_INLINE ((T4_SQ_NUM_BYTES - \
75 sizeof(struct fw_ri_rdma_write_wr) - \
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c2 * Broadcom NetXtreme-E RoCE driver.
4 * Copyright (c) 2016 - 2017, Broadcom. All rights reserved. The term
53 #include <rdma/ib_verbs.h>
54 #include <rdma/ib_user_verbs.h>
55 #include <rdma/ib_umem.h>
56 #include <rdma/ib_addr.h>
67 #include <rdma/bnxt_re-abi.h>
98 res = &rdev->qplib_res; in bnxt_re_set_db_offset()
99 en_dev = rdev->en_dev; in bnxt_re_set_db_offset()
100 cctx = rdev->chip_ctx; in bnxt_re_set_db_offset()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
63 (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_TP_WR) | \
64 FW_WR_IMMDLEN_V(sizeof(*w) - sizeof(w->wr))); \
65 (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(sizeof(*w), 16)) | \
67 (w)->wr.wr_lo = cpu_to_be64(0); \
76 (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_ULPTX_WR) | \
78 (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(wrlen, 16)) | \
80 (w)->wr.wr_lo = cpu_to_be64(0); \
[all …]
H A Dt4_hw.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
43 * t4_wait_op_done_val - wait until an operation is completed
46 * @mask: a single-bit field within @reg that indicates completion
55 * operation completes and -EAGAIN otherwise.
68 if (--attempts == 0) in t4_wait_op_done_val()
69 return -EAGAIN; in t4_wait_op_done_val()
83 * t4_set_reg_field - set a register field to a value
102 * t4_read_indirect - read indirectly addressed registers
[all …]
H A Dcxgb4_debugfs.c4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
54 /* generic seq_file support for showing a table of size rows x width. */
57 pos -= tb->skip_first; in seq_tab_get_idx()
58 return pos >= tb->rows ? NULL : &tb->data[pos * tb->width]; in seq_tab_get_idx()
63 struct seq_tab *tb = seq->private; in seq_tab_start()
65 if (tb->skip_first && *pos == 0) in seq_tab_start()
73 v = seq_tab_get_idx(seq->private, *pos + 1); in seq_tab_next()
84 const struct seq_tab *tb = seq->private; in seq_tab_show()
[all …]
H A Dcxgb4_main.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
109 /* Include PCI Device IDs for both PF4 and PF0-3 so our PCI probe() routine is
126 #define FW4_CFNAME "cxgb4/t4-config.txt"
127 #define FW5_CFNAME "cxgb4/t5-config.txt"
128 #define FW6_CFNAME "cxgb4/t6-config.txt"
144 * order MSI-X, MSI, legacy INTx interrupts. This parameter determines which
154 MODULE_PARM_DESC(msi, "whether to use INTx (0), MSI (1) or MSI-X (2)");
158 * offset by 2 bytes in order to have the IP headers line up on 4-byte
[all …]
/linux/init/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 - Re-run Kconfig when the compiler is updated
13 - Ensure full rebuild when the compiler is updated
14 include/linux/compiler-version.h contains this option in the comment
16 auto-generated dependency. When the compiler is updated, syncconfig
20 def_bool $(success,test "$(cc-name)" = GCC)
24 default $(cc-version) if CC_IS_GCC
28 def_bool $(success,test "$(cc-name)" = Clang)
32 default $(cc-version) if CC_IS_CLANG
36 def_bool $(success,test "$(as-name)" = GNU)
[all …]
/linux/drivers/infiniband/hw/qib/
H A Dqib_sdma.c3 * Copyright (c) 2007 - 2012 QLogic Corporation. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
70 kref_get(&ss->kref); in sdma_get()
78 complete(&ss->comp); in sdma_complete()
83 kref_put(&ss->kref, sdma_complete); in sdma_put()
89 wait_for_completion(&ss->comp); in sdma_finalput()
105 list_for_each_entry_safe(txp, txp_next, &ppd->sdma_activelist, list) { in clear_sdma_activelist()
106 list_del_init(&txp->list); in clear_sdma_activelist()
107 if (txp->flags & QIB_SDMA_TXREQ_F_FREEDESC) { in clear_sdma_activelist()
[all …]
/linux/fs/smb/client/
H A Dcifsglob.h1 /* SPDX-License-Identifier: LGPL-2.1 */
58 * max attribute cache timeout (jiffies) - 2^30
112 #define CIFS_DFS_ROOT_SES(ses) ((ses)->dfs_root_ses ?: (ses))
225 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
227 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */
229 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */
230 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */
342 * message field DataRemaining for out-of-band data read (e.g through
343 * Memory Registration RDMA write in SMBD).
371 /* set negotiated write size */
[all …]
H A Dsmb2ops.c1 // SPDX-License-Identifier: GPL-2.0
38 server->credits += server->echo_credits + server->oplock_credits; in change_conf()
39 if (server->credits > server->max_credits) in change_conf()
40 server->credits = server->max_credits; in change_conf()
41 server->oplock_credits = server->echo_credits = 0; in change_conf()
42 switch (server->credits) { in change_conf()
46 server->echoes = false; in change_conf()
47 server->oplocks = false; in change_conf()
50 server->echoes = true; in change_conf()
51 server->oplocks = false; in change_conf()
[all …]
/linux/mm/
H A Dmemory-failure.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * hardware as being corrupted usually due to a multi-bit ECC memory or cache
11 * not-yet-corrupted-by-suspicious pages without killing anything.
23 * - You know how to test it.
24 * - You have a test that can be added to mce-test
25 * https://git.kernel.org/cgit/utils/cpu/mce/mce-test.git/
26 * - The case actually shows up as a frequent (top 10) page state in
27 * tools/mm/page-types when running a real workload.
41 #include <linux/page-flags.h>
50 #include <linux/backing-dev.h>
[all …]
/linux/include/linux/
H A Dmm_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 #include <linux/page-flags-layout.h>
47 * page->mapping, you must restore it to NULL before freeing the page.
62 * double-word aligned. Because struct slab currently just reinterprets the
63 * bits of struct page, we align all struct pages to double-word boundaries,
79 * avoid collision and false-positive PageTail().
85 * lruvec->lru_lock. Sometimes used as a generic list
103 /* See page-flags.h for PAGE_MAPPING_FLAGS */
110 * @private: Mapping-private opaque data.
151 union { /* This union is 4 bytes in size. */
[all …]
/linux/drivers/scsi/
H A Dadvansys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters
5 * Copyright (c) 1995-2000 Advanced System Products, Inc.
6 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc.
34 #include <linux/dma-mapping.h>
75 #define PortAddr unsigned int /* port address size */
109 #define ASC_CHIP_LATEST_VER_EISA ((ASC_CHIP_MIN_VER_EISA - 1) + 3)
125 * Narrow boards only support 12-byte commands, while wide boards
126 * extend to 16-byte commands.
391 #define ASC_IERR_BIST_PRE_TEST 0x0800 /* BIST pre-test error */
[all …]
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005 - 2016 Broadcom
7 * linux-drivers@emulex.com
36 MODULE_PARM_DESC(rx_frag_size, "Size of a fragment that holds rcvd data.");
38 /* Per-module error detection/recovery workq shared across all functions.
77 "RDMA ",
146 struct be_dma_mem *mem = &q->dma_mem; in be_queue_free()
148 if (mem->va) { in be_queue_free()
149 dma_free_coherent(&adapter->pdev->dev, mem->size, mem->va, in be_queue_free()
150 mem->dma); in be_queue_free()
[all …]