/openbmc/linux/Documentation/devicetree/bindings/display/mediatek/ |
H A D | mediatek,rdma.yaml | 1 # 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 …]
|
H A D | mediatek,merge.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_rdma.c | 1 // 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 …]
|
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.c | 1 // 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 …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_offload.c | 2 * 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 …]
|
/openbmc/linux/net/rds/ |
H A D | send.c | 14 * - 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 …]
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 1 // 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8192.dtsi | 1 // 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 …]
|
H A D | mt8183.dtsi | 1 // 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 …]
|
H A D | mt8195.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/clock/mt8195-clk.h> 9 #include <dt-bindings/gce/mt8195-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8195-memory-port.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/power/mt8195-power.h> [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxl.dtsi | 1 // 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 …]
|
H A D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 13 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | tid_rdma.c | 1 // 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 …]
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | main.c | 2 * 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 …]
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | t4.h | 2 * 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 …]
|
H A D | qp.c | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 34 #include <rdma/uverbs_ioctl.h> 40 MODULE_PARM_DESC(db_delay_usecs, "Usecs to delay awaiting db fifo to drain"); 44 MODULE_PARM_DESC(ocqp_support, "Support on-chip SQs (default=1)"); 66 xa_lock_irq(&dev->qps); in alloc_ird() 67 if (ird <= dev->avail_ird) in alloc_ird() 68 dev->avail_ird -= ird; in alloc_ird() 70 ret = -ENOMEM; in alloc_ird() [all …]
|
/openbmc/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8b.dtsi | 1 // 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 …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | device.c | 15 * - 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> 104 if (refcount_dec_and_test(&client->uses)) in ib_client_put() 105 complete(&client->uses_zero); in ib_client_put() 132 * rdma_dev_access_netns() - Return whether an rdma device can be accessed 134 * @dev: Pointer to rdma device which needs to be checked [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.h | 4 * 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 D | t4_hw.c | 4 * 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 …]
|
/openbmc/linux/init/ |
H A D | Kconfig | 1 # 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 …]
|
/openbmc/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 2 * s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC 3 * Copyright(c) 2002-2010 Exar Corp. 33 * This is also an array of size 8. 38 * Tx descriptors that can be associated with each corresponding FIFO. 47 * Default is '2' - which means disable in promisc mode 48 * and enable in non-promiscuous mode. 60 #include <linux/dma-mapping.h> 78 #include <linux/io-64-nonatomic-lo-hi.h> 89 #include "s2io-regs.h" 104 ret = ((!(rxdp->Control_1 & RXD_OWN_XENA)) && in RXD_IS_UP2DT() [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_sdma.c | 3 * 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 …]
|
/openbmc/linux/fs/smb/client/ |
H A D | cifsglob.h | 1 /* 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)) 183 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */ 185 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */ 187 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */ 188 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */ 257 size_t rq_iter_size; /* Amount of data in ->rq_iter */ 307 * message field DataRemaining for out-of-band data read (e.g through 308 * Memory Registration RDMA write in SMBD). [all …]
|
/openbmc/linux/include/linux/ |
H A D | mm_types.h | 1 /* 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. 64 * double-word aligned. Because struct slab currently just reinterprets the 65 * bits of struct page, we align all struct pages to double-word boundaries, 81 * avoid collision and false-positive PageTail(). 87 * lruvec->lru_lock. Sometimes used as a generic list 105 /* See page-flags.h for PAGE_MAPPING_FLAGS */ 112 * @private: Mapping-private opaque data. 130 * dma_addr_upper: might require a 64-bit [all …]
|