Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,rdma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,rdma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Philipp Zabel <p.zabel@pengutronix.de>
14 Mediatek Read Direct Memory Access(RDMA) component used to read the
15 data into DMA. It provides real time data to the back-end panel
18 RDMA device node must be siblings to the central MMSYS_CONFIG node.
26 - enum:
[all …]
Dmediatek,merge.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Philipp Zabel <p.zabel@pengutronix.de>
14 Mediatek display merge, namely MERGE, is used to merge two slice-per-line
15 inputs into one side-by-side output.
24 - enum:
25 - mediatek,mt8173-disp-merge
26 - mediatek,mt8195-disp-merge
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_disp_rdma.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/soc/mediatek/mtk-cmdq.h>
48 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size) argument
58 * struct mtk_disp_rdma - DISP_RDMA driver structure
59 * @ddp_comp - structure containing type enum and hardware resources
60 * @crtc - associated crtc to report irq events to
76 struct mtk_ddp_comp *rdma = &priv->ddp_comp; in mtk_disp_rdma_irq_handler() local
79 writel(0x0, rdma->regs + DISP_REG_RDMA_INT_STATUS); in mtk_disp_rdma_irq_handler()
81 if (!priv->crtc) in mtk_disp_rdma_irq_handler()
84 mtk_crtc_ddp_irq(priv->crtc, rdma); in mtk_disp_rdma_irq_handler()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi_tgt/
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 …]
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c2 * Copyright (c) 2006-2008 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
74 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_activated()
78 * cxgb3_register_client - register an offload client
89 list_add_tail(&client->client_list, &client_list); in cxgb3_register_client()
91 if (client->add) { in cxgb3_register_client()
94 client->add(tdev); in cxgb3_register_client()
103 * cxgb3_unregister_client - unregister an offload client
114 list_del(&client->client_list); in cxgb3_unregister_client()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c2 * Copyright (c) 2006-2008 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
74 return test_bit(OFFLOAD_DEVMAP_BIT, &adapter->open_device_map); in offload_activated()
78 * cxgb3_register_client - register an offload client
89 list_add_tail(&client->client_list, &client_list); in cxgb3_register_client()
91 if (client->add) { in cxgb3_register_client()
94 client->add(tdev); in cxgb3_register_client()
103 * cxgb3_unregister_client - unregister an offload client
114 list_del(&client->client_list); in cxgb3_unregister_client()
[all …]
/kernel/linux/linux-5.10/net/rds/
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 …]
/kernel/linux/linux-6.6/net/rds/
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 …]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
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
58 #include <asm-generic/barrier.h>
61 #include <rdma/ib_cm.h>
90 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction,
101 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
102 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
107 ib_drain_rq(id->qp); in rpcrdma_xprt_drain()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
86 /* Light-L2 RX Producers in Tstorm RAM */
105 /* Light-L2 RX Producers in Tstorm RAM */
964 /* Event Ring VF-PF Channel data */
1092 /* Mstorm non-triggering VF zone */
1239 /* RDMA TX Stats */
1245 /* Pstorm non-triggering VF zone */
1265 /* RDMA RX Stats */
[all …]
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
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
58 #include <asm-generic/barrier.h>
61 #include <rdma/ib_cm.h>
79 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction);
89 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
90 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
95 if (atomic_inc_return(&ep->re_receiving) > 1) in rpcrdma_xprt_drain()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/
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 …]
Dmt8183.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/clock/mt8183-clk.h>
9 #include <dt-bindings/gce/mt8183-gce.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/memory/mt8183-larb-port.h>
13 #include <dt-bindings/power/mt8183-power.h>
14 #include <dt-bindings/reset/mt8183-resets.h>
15 #include <dt-bindings/phy/phy.h>
16 #include <dt-bindings/thermal/thermal.h>
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/
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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
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 …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmeson8b.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 #include <dt-bindings/clock/meson8-ddr-clkc.h>
8 #include <dt-bindings/clock/meson8b-clkc.h>
9 #include <dt-bindings/gpio/meson8b-gpio.h>
10 #include <dt-bindings/power/meson8-power.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
12 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
17 #address-cells = <1>;
18 #size-cells = <0>;
22 compatible = "arm,cortex-a5";
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
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>
66 #include <rdma/bnxt_re-abi.h>
100 res = &rdev->qplib_res; in bnxt_re_set_db_offset()
101 en_dev = rdev->en_dev; in bnxt_re_set_db_offset()
102 cctx = rdev->chip_ctx; in bnxt_re_set_db_offset()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
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 …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/amlogic/
Dmeson8b.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 #include <dt-bindings/clock/meson8-ddr-clkc.h>
8 #include <dt-bindings/clock/meson8b-clkc.h>
9 #include <dt-bindings/gpio/meson8b-gpio.h>
10 #include <dt-bindings/power/meson8-power.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
12 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
13 #include <dt-bindings/thermal/thermal.h>
18 #address-cells = <1>;
19 #size-cells = <0>;
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ddevice.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
45 #include <rdma/rdma_netlink.h>
46 #include <rdma/ib_addr.h>
47 #include <rdma/ib_cache.h>
48 #include <rdma/rdma_counter.h>
103 if (refcount_dec_and_test(&client->uses)) in ib_client_put()
104 complete(&client->uses_zero); in ib_client_put()
131 * rdma_dev_access_netns() - Return whether an rdma device can be accessed
133 * @dev: Pointer to rdma device which needs to be checked
[all …]

123