/linux-6.14.4/drivers/memory/ |
D | renesas-rpc-if.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas RPC-IF core driver 5 * Copyright (C) 2018-2019 Renesas Solutions Corp. 7 * Copyright (C) 2019-2020 Cogent Embedded, Inc. 19 #include <memory/renesas-rpc-if.h> 43 #define RPCIF_DRCR_RBURST(v) ((((v) - 1) & 0x1F) << 16) 111 #define RPCIF_DMDMCR_DMCYC(v) ((((v) - 1) & 0x1F) << 0) 120 #define RPCIF_SMDMCR_DMCYC(v) ((((v) - 1) & 0x1F) << 0) 128 #define RPCIF_PHYADD 0x0070 /* R/W available on R-Car E3/D3/V3M and RZ/G2{E,L} */ 129 #define RPCIF_PHYWR 0x0074 /* R/W available on R-Car E3/D3/V3M and RZ/G2{E,L} */ [all …]
|
/linux-6.14.4/arch/mips/pci/ |
D | pci-rt3883.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Gabor Juhos <[email protected]> 22 #include <asm/mach-ralink/rt3883.h> 23 #include <asm/mach-ralink/ralink_regs.h> 77 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_rt3883_controller() 81 static inline u32 rt3883_pci_r32(struct rt3883_pci_controller *rpc, in rt3883_pci_r32() argument 84 return ioread32(rpc->base + reg); in rt3883_pci_r32() 87 static inline void rt3883_pci_w32(struct rt3883_pci_controller *rpc, in rt3883_pci_w32() argument 90 iowrite32(val, rpc->base + reg); in rt3883_pci_w32() 100 static u32 rt3883_pci_read_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_read_cfg32() argument [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/memory-controllers/ |
D | renesas,rpc-if.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/renesas,rpc-if.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas Reduced Pin Count Interface (RPC-IF) 10 - Sergei Shtylyov <[email protected]> 13 Renesas RPC-IF allows a SPI flash or HyperFlash connected to the SoC to 16 The flash chip itself should be represented by a subnode of the RPC-IF node. 19 - if it contains "jedec,spi-nor", then SPI is used; 20 - if it contains "cfi-flash", then HyperFlash is used. [all …]
|
/linux-6.14.4/drivers/mtd/hyperbus/ |
D | rpc-if.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Linux driver for RPC-IF HyperFlash 5 * Copyright (C) 2019-2020 Cogent Embedded, Inc. 18 #include <memory/renesas-rpc-if.h> 21 struct rpcif rpc; member 46 static void rpcif_hb_prepare_read(struct rpcif *rpc, void *to, in rpcif_hb_prepare_read() argument 59 rpcif_prepare(rpc->dev, &op, NULL, NULL); in rpcif_hb_prepare_read() 62 static void rpcif_hb_prepare_write(struct rpcif *rpc, unsigned long to, in rpcif_hb_prepare_write() argument 73 rpcif_prepare(rpc->dev, &op, NULL, NULL); in rpcif_hb_prepare_write() 82 rpcif_hb_prepare_read(&hyperbus->rpc, &data, addr, 2); in rpcif_hb_read16() [all …]
|
/linux-6.14.4/drivers/spi/ |
D | spi-rpc-if.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // RPC-IF SPI/QSPI/Octa driver 7 // Copyright (C) 2019 - 2020 Cogent Embedded, Inc. 13 #include <linux/spi/spi-mem.h> 15 #include <memory/renesas-rpc-if.h> 23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare() local 26 rpc_op.cmd.opcode = spi_op->cmd.opcode; in rpcif_spi_mem_prepare() 27 rpc_op.cmd.buswidth = spi_op->cmd.buswidth; in rpcif_spi_mem_prepare() 29 if (spi_op->addr.nbytes) { in rpcif_spi_mem_prepare() 30 rpc_op.addr.buswidth = spi_op->addr.buswidth; in rpcif_spi_mem_prepare() [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
D | r535.c | 50 #include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h> 84 return -EBUSY; in r535_rpc_status_to_errno() 86 return -ENOMEM; in r535_rpc_status_to_errno() 88 return -EINVAL; in r535_rpc_status_to_errno() 96 u32 size, rptr = *gsp->msgq.rptr; in r535_gsp_msgq_wait() 102 if (WARN_ON(!size || size >= gsp->msgq.cnt)) in r535_gsp_msgq_wait() 103 return ERR_PTR(-EINVAL); in r535_gsp_msgq_wait() 106 u32 wptr = *gsp->msgq.wptr; in r535_gsp_msgq_wait() 108 used = wptr + gsp->msgq.cnt - rptr; in r535_gsp_msgq_wait() 109 if (used >= gsp->msgq.cnt) in r535_gsp_msgq_wait() [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | r535.c | 33 #include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h> 61 struct nvkm_gsp_client *client = device->object.client; in fbsr_memlist() 62 struct nvkm_gsp *gsp = client->gsp; in fbsr_memlist() 64 rpc_alloc_memory_v13_01 *rpc; in fbsr_memlist() local 67 rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_ALLOC_MEMORY, in fbsr_memlist() 68 sizeof(*rpc) + pages * sizeof(rpc->pteDesc.pte_pde[0])); in fbsr_memlist() 69 if (IS_ERR(rpc)) in fbsr_memlist() 70 return PTR_ERR(rpc); in fbsr_memlist() 72 rpc->hClient = client->object.handle; in fbsr_memlist() 73 rpc->hDevice = device->object.handle; in fbsr_memlist() [all …]
|
/linux-6.14.4/drivers/clk/renesas/ |
D | rcar-cpg-lib.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Gen3 Clock Pulse Generator Library 5 * Copyright (C) 2015-2018 Glider bvba 8 * Based on clk-rcar-gen3.c 14 #include <linux/clk-provider.h> 23 #include "rcar-cpg-lib.h" 48 csn->saved = readl(csn->reg); in cpg_simple_notifier_call() 52 writel(csn->saved, csn->reg); in cpg_simple_notifier_call() 61 csn->nb.notifier_call = cpg_simple_notifier_call; in cpg_simple_notifier_register() 62 raw_notifier_chain_register(notifiers, &csn->nb); in cpg_simple_notifier_register() [all …]
|
/linux-6.14.4/drivers/greybus/ |
D | es2.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2014-2015 Google Inc. 6 * Copyright 2014-2015 Linaro Ltd. 48 * Adjust if we are having stalls in the USB buffer due to not enough urbs in 54 * Adjust if we get messages saying we are out of urbs in the system log. 75 * struct es2_ap_dev - ES2 USB Bridge to AP structure 83 * @cport_out_urb_busy: array of flags to see if the @cport_out_urb is busy or 88 * @cdsi1_in_use: true if cport CDSI1 is in use 95 * @arpc_endpoint_in: bulk in endpoint for APBridgeA RPC 138 return (struct es2_ap_dev *)&hd->hd_priv; in hd_to_es2() [all …]
|
/linux-6.14.4/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_hw_stats.c | 1 // SPDX-License-Identifier: GPL-2.0 14 stat->u.old_reg_value_32 = rd32(fbd, reg); in fbnic_hw_stat_rst32() 23 stat->value += new_reg_value - stat->u.old_reg_value_32; in fbnic_hw_stat_rd32() 24 stat->u.old_reg_value_32 = new_reg_value; in fbnic_hw_stat_rd32() 35 diff = upper - prev_upper; in fbnic_stat_rd64() 36 if (!diff) in fbnic_stat_rd64() 39 if (diff > 1) in fbnic_stat_rd64() 40 dev_warn_once(fbd->dev, in fbnic_stat_rd64() 60 stat->u.old_reg_value_64 = fbnic_stat_rd64(fbd, reg, offset); in fbnic_hw_stat_rst64() 69 stat->value += new_reg_value - stat->u.old_reg_value_64; in fbnic_hw_stat_rd64() [all …]
|
/linux-6.14.4/tools/net/sunrpc/xdrgen/generators/ |
D | program.py | 4 """Generate code for an RPC program's procedures""" 14 ) -> None: 15 """Emit procedure numbers for each RPC version's procedures""" 21 if procedure.name not in excluded_apis: 35 ) -> None: 36 """Emit declarations for each RPC version's procedures""" 39 if procedure.name not in excluded_apis: 41 if len(arguments) > 0: 49 if procedure.name not in excluded_apis: 51 if len(results) > 0: [all …]
|
/linux-6.14.4/net/sunrpc/ |
D | stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * procfs-based user access to generic RPC statistics. The stats files 6 * reside in /proc/net/rpc. 9 * If you implement an RPC service that has its own stats routine which 10 * appends the generic RPC stats, make sure you don't exceed the PAGE_SIZE 35 * Get RPC client stats 38 const struct rpc_stat *statp = seq->private; in rpc_proc_show() 39 const struct rpc_program *prog = statp->program; in rpc_proc_show() 44 statp->netcnt, in rpc_proc_show() 45 statp->netudpcnt, in rpc_proc_show() [all …]
|
D | clnt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * This file contains the high-level RPC interface. 9 * - RPC header generation and argument serialization. 10 * - Credential refresh. 11 * - TCP connect handling. 12 * - Retry of operation when it is suspected the operation failed because 47 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 82 spin_lock(&sn->rpc_client_lock); in rpc_register_client() 83 list_add(&clnt->cl_clients, &sn->all_clients); in rpc_register_client() 84 spin_unlock(&sn->rpc_client_lock); in rpc_register_client() [all …]
|
D | backchannel_rqst.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 33 return xprt->bc_alloc_count < xprt->bc_alloc_max; in xprt_need_to_requeue() 44 dprintk("RPC: free allocations for req= %p\n", req); in xprt_free_allocation() 45 WARN_ON_ONCE(test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); in xprt_free_allocation() 46 xbufp = &req->rq_rcv_buf; in xprt_free_allocation() 47 free_page((unsigned long)xbufp->head[0].iov_base); in xprt_free_allocation() 48 xbufp = &req->rq_snd_buf; in xprt_free_allocation() 49 free_page((unsigned long)xbufp->head[0].iov_base); in xprt_free_allocation() 55 buf->head[0].iov_len = PAGE_SIZE; in xprt_bc_reinit_xdr_buf() [all …]
|
D | xprt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * This is a generic RPC call interface supporting congestion avoidance, 10 * - When a process places a call, it allocates a request slot if 13 * - Next, the caller puts together the RPC message, stuffs it into 15 * - xprt_transmit sends the message and installs the caller on the 16 * transport's wait list. At the same time, if a reply is expected, 19 * - When a packet arrives, the data_ready handler walks the list of 20 * pending requests for that transport. If a matching XID is found, the 22 * - When no reply arrives within the timeout interval, the timer is 25 * of -ETIMEDOUT. [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 tristate "Secure RPC: Kerberos V mechanism" 27 Choose Y here to enable Secure RPC using the Kerberos version 5 28 GSS-API mechanism (RFC 1964). 30 Secure RPC calls with Kerberos require an auxiliary user-space 31 daemon which may be found in the Linux nfs-utils package 32 available from http://linux-nfs.org/. In addition, user-space 35 If unsure, say Y. 38 bool "Enable Kerberos enctypes based on AES and SHA-1" 47 SHA-1 digests. These include aes128-cts-hmac-sha1-96 and [all …]
|
/linux-6.14.4/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (c) 2016-2018 Oracle. All rights reserved. 5 * Copyright (c) 2005-2006 Network Appliance, Inc. All rights reserved. 10 * COPYING in the main directory of this source tree, or the BSD-type 40 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 * free pages (rq_pages) that will contain the incoming RPC message. 56 * the RPC Call is ready to be processed by the Upper Layer. 57 * svc_rdma_recvfrom returns the length of the RPC Call message, 58 * completing the reception of the RPC Call. 61 * svc_rdma_recvfrom must post RDMA Reads to pull the RPC Call's [all …]
|
D | transport.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 39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 45 * This file contains the top-level implementation of an RPC RDMA 49 * transport switch. All others are RPC RDMA internal. 74 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 82 static unsigned int max_memreg = RPCRDMA_LAST - 1; 152 snprintf(buf, sizeof(buf), "%08x", ntohl(sin->sin_addr.s_addr)); in xprt_rdma_format_addresses4() [all …]
|
D | svc_rdma_sendto.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (c) 2016-2018 Oracle. All rights reserved. 5 * Copyright (c) 2005-2006 Network Appliance, Inc. All rights reserved. 10 * COPYING in the main directory of this source tree, or the BSD-type 40 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 * RPC server when an RPC Reply is ready to be transmitted to a client. 50 * The passed-in svc_rqst contains a struct xdr_buf which holds an 51 * XDR-encoded RPC Reply message. sendto must construct the RPC-over-RDMA 53 * a Send WR conveying the transport header and the RPC message itself to 75 * DMA-unmap the pages under I/O for that Write segment. The Write [all …]
|
D | rpc_rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (c) 2014-2020, Oracle and/or its affiliates. 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 39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 45 * This file contains the guts of the RPC RDMA protocol, and 47 * to the Linux RPC framework lives. 57 /* Returns size of largest RPC-over-RDMA header in a Call message 59 * The largest Call header contains a full-size Read list and a 80 /* Returns size of largest RPC-over-RDMA header in a Reply message [all …]
|
/linux-6.14.4/include/linux/sunrpc/ |
D | sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Scheduling primitives for kernel Sun RPC. 22 * This is the actual RPC procedure call info. 46 to_increment; /* if !exponential */ 52 * This is the RPC task struct 69 struct rpc_wait_queue *tk_waitqueue; /* RPC wait queue we're on */ 72 struct rpc_wait tk_wait; /* RPC wait */ 76 * RPC call state 78 struct rpc_message tk_msg; /* RPC call info */ 82 struct rpc_clnt * tk_client; /* RPC client */ [all …]
|
D | svc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * RPC server declarations. 28 * RPC service thread pool. 31 * a single one of these per RPC service, but on NUMA machines those 33 * have one pool per NUMA node. This optimisation reduces cross- 34 * node traffic on multi-node NUMA NFS servers. 53 SP_TASK_PENDING, /* still work to do even if no xprt is queued */ 60 * RPC service. 62 * An RPC service is a ``daemon,'' possibly multithreaded, which 63 * receives and processes incoming RPC messages. [all …]
|
/linux-6.14.4/drivers/media/platform/amphion/ |
D | vpu_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2020-2021 NXP 31 writel(val, core->base + reg); in csr_writel() 36 return readl(core->base + reg); in csr_readl() 44 if (!core->fw.virt) { in vpu_core_load_firmware() 45 dev_err(core->dev, "firmware buffer is not ready\n"); in vpu_core_load_firmware() 46 return -EINVAL; in vpu_core_load_firmware() 49 ret = request_firmware(&pfw, core->res->fwname, core->dev); in vpu_core_load_firmware() 50 dev_dbg(core->dev, "request_firmware %s : %d\n", core->res->fwname, ret); in vpu_core_load_firmware() 51 if (ret) { in vpu_core_load_firmware() [all …]
|
/linux-6.14.4/Documentation/filesystems/nfs/ |
D | localio.rst | 8 The LOCALIO auxiliary RPC protocol allows the Linux NFS client and 9 server to reliably handshake to determine if they are on the same 15 bypass the network RPC protocol for read, write and commit operations. 16 Due to this XDR and RPC bypass, these operations will operate faster. 26 But unlike the LOCALIO protocol, the sockaddr-based matching didn't 39 using XDR and RPC for reads, writes and commits can be extreme, e.g.: 42 - With LOCALIO: 48 - Without LOCALIO: 55 - With LOCALIO: 61 - Without LOCALIO: [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
D | r535.c | 31 #include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h> 38 ioread32_native(bar->flushBAR2); in r535_bar_flush() 49 rpc_update_bar_pde_v15_00 *rpc; in r535_bar_bar2_update_pde() local 51 rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_UPDATE_BAR_PDE, sizeof(*rpc)); in r535_bar_bar2_update_pde() 52 if (WARN_ON(IS_ERR_OR_NULL(rpc))) in r535_bar_bar2_update_pde() 53 return -EIO; in r535_bar_bar2_update_pde() 55 rpc->info.barType = NV_RPC_UPDATE_PDE_BAR_2; in r535_bar_bar2_update_pde() 56 rpc->info.entryValue = addr ? ((addr >> 4) | 2) : 0; /* PD3 entry format! */ in r535_bar_bar2_update_pde() 57 rpc->info.entryLevelShift = 47; //XXX: probably fetch this from mmu! in r535_bar_bar2_update_pde() 59 return nvkm_gsp_rpc_wr(gsp, rpc, true); in r535_bar_bar2_update_pde() [all …]
|