| /OK3568_Linux_fs/kernel/drivers/memory/ |
| H A 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> 45 #define RPCIF_DRCR_RBURST(v) ((((v) - 1) & 0x1F) << 16) 113 #define RPCIF_DMDMCR_DMCYC(v) ((((v) - 1) & 0x1F) << 0) 122 #define RPCIF_SMDMCR_DMCYC(v) ((((v) - 1) & 0x1F) << 0) 171 struct rpcif *rpc = context; in rpcif_reg_read() local 176 switch (rpc->xfer_size) { in rpcif_reg_read() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/pci/ |
| H A D | pci-rt3883.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Gabor Juhos <juhosg@openwrt.org> 21 #include <asm/mach-ralink/rt3883.h> 22 #include <asm/mach-ralink/ralink_regs.h> 76 hose = (struct pci_controller *) bus->sysdata; in pci_bus_to_rt3883_controller() 80 static inline u32 rt3883_pci_r32(struct rt3883_pci_controller *rpc, in rt3883_pci_r32() argument 83 return ioread32(rpc->base + reg); in rt3883_pci_r32() 86 static inline void rt3883_pci_w32(struct rt3883_pci_controller *rpc, in rt3883_pci_w32() argument 89 iowrite32(val, rpc->base + reg); in rt3883_pci_w32() 99 static u32 rt3883_pci_read_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_read_cfg32() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/hyperbus/ |
| H A 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, &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, &op, NULL, NULL); in rpcif_hb_prepare_write() 82 rpcif_hb_prepare_read(&hyperbus->rpc, &data, addr, 2); in rpcif_hb_read16() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/greybus/ |
| H A 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 * 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 95 * @arpc_endpoint_in: bulk in endpoint for APBridgeA RPC 138 return (struct es2_ap_dev *)&hd->hd_priv; in hd_to_es2() 149 struct usb_device *udev = es2->usb_dev; in output_sync() [all …]
|
| /OK3568_Linux_fs/buildroot/package/uhd/ |
| H A D | 0003-add-RISC-V-endian-detection.patch | 2 From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> 8 uhd/host/lib/deps/rpclib/include/rpc/msgpack/pack.hpp:190:2: error: #error msgpack-c supports only … 9 190 | #error msgpack-c supports only big endian and little endian 14 …rpc/msgpack/pack.hpp:236:46: error: there are no arguments to 'take8_8' that depend on a template … 23 Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> 24 --- 25 .../include/rpc/msgpack/predef/architecture.h | 1 + 26 .../rpc/msgpack/predef/architecture/riscv.h | 48 +++++++++++++++++++ 27 .../include/rpc/msgpack/predef/other/endian.h | 3 +- 28 3 files changed, 51 insertions(+), 1 deletion(-) [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/ |
| H A 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 <sergei.shtylyov@gmail.com> 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 …]
|
| /OK3568_Linux_fs/kernel/net/sunrpc/ |
| H A 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 46 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 51 * All RPC clients are linked into this list 85 spin_lock(&sn->rpc_client_lock); in rpc_register_client() 86 list_add(&clnt->cl_clients, &sn->all_clients); in rpc_register_client() [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 "Secure RPC: Disable insecure Kerberos encryption types" 43 with the Kerberos version 5 GSS-API mechanism (RFC 1964). The [all …]
|
| H A D | backchannel_rqst.c | 8 https://opensource.org/licenses/gpl-license.php. 20 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 47 return xprt->bc_alloc_count < xprt->bc_alloc_max; in xprt_need_to_requeue() 58 dprintk("RPC: free allocations for req= %p\n", req); in xprt_free_allocation() 59 WARN_ON_ONCE(test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); in xprt_free_allocation() 60 xbufp = &req->rq_rcv_buf; in xprt_free_allocation() 61 free_page((unsigned long)xbufp->head[0].iov_base); in xprt_free_allocation() 62 xbufp = &req->rq_snd_buf; in xprt_free_allocation() 63 free_page((unsigned long)xbufp->head[0].iov_base); in xprt_free_allocation() [all …]
|
| H A D | auth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Generic RPC client authentication API. 65 if (!val) in param_set_hashtbl_sz() 68 if (ret) in param_set_hashtbl_sz() 70 nbits = fls(num - 1); in param_set_hashtbl_sz() 71 if (nbits > MAX_HASHTABLE_BITS || nbits < 2) in param_set_hashtbl_sz() 73 *(unsigned int *)kp->arg = nbits; in param_set_hashtbl_sz() 76 return -EINVAL; in param_set_hashtbl_sz() 83 nbits = *(unsigned int *)kp->arg; in param_get_hashtbl_sz() 95 MODULE_PARM_DESC(auth_hashtable_size, "RPC credential cache hashtable size"); [all …]
|
| H A D | xprtsock.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Client-side transport implementation for sockets. 164 * Wait duration for a reply from the RPC portmapper. 169 * Delay if a UDP socket connect error occurs. This is most likely some 181 * increase over time if the server is down or not responding. 186 * TCP idle timeout; client drops the transport socket if it is idle 188 * holding port numbers when there is no RPC traffic. 192 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 203 dprintk("RPC: %s\n", msg); in xs_pktdump() 205 if (!(j & 31)) { in xs_pktdump() [all …]
|
| H A D | rpcb_clnt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * In-kernel rpcbind client supporting versions 2, 3, and 4 of the rpcbind 6 * Based on RFC 1833: "Binding Protocols for ONC RPC Version 2" and 150 rpc_wake_up_status(&xprt->binding, status); in rpcb_wake_rpcbind_waiters() 157 rpcb_wake_rpcbind_waiters(map->r_xprt, map->r_status); in rpcb_map_release() 158 xprt_put(map->r_xprt); in rpcb_map_release() 159 kfree(map->r_addr); in rpcb_map_release() 168 spin_lock(&sn->rpcb_clnt_lock); in rpcb_get_local() 169 if (sn->rpcb_users) in rpcb_get_local() 170 sn->rpcb_users++; in rpcb_get_local() [all …]
|
| H A D | timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Estimate RPC request round trip time. 7 * Based on packet round-trip and variance estimator algorithms described 12 * This RTT estimator is used only for RPC over datagram protocols. 30 * rpc_init_rtt - Initialize an RPC RTT estimator context 40 rt->timeo = timeo; in rpc_init_rtt() 42 if (timeo > RPC_RTO_INIT) in rpc_init_rtt() 43 init = (timeo - RPC_RTO_INIT) << 3; in rpc_init_rtt() 45 rt->srtt[i] = init; in rpc_init_rtt() 46 rt->sdrtt[i] = RPC_RTO_INIT; in rpc_init_rtt() [all …]
|
| /OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/ |
| H A 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. 63 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 77 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 85 static unsigned int max_memreg = RPCRDMA_LAST - 1; [all …]
|
| H A 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 …]
|
| H A D | rpc_rdma.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 guts of the RPC RDMA protocol, and 47 * to the Linux RPC framework lives. 57 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) 61 /* Returns size of largest RPC-over-RDMA header in a Call message 63 * The largest Call header contains a full-size Read list and a [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | meson.build | 24 if not conf_data.get('HAVE_REALLOCARRAY') 27 if not conf_data.get('HAVE_STRCASECMP') 30 if not conf_data.get('HAVE_STRCASESTR') 33 if not conf_data.get('HAVE_STRLCAT') 36 if not conf_data.get('HAVE_STRLCPY') 39 if not conf_data.get('HAVE_STRNDUP') 42 if not conf_data.get('HAVE_TIMINGSAFE_MEMCMP') 45 if not conf_data.get('HAVE_POLL') 49 if conf_data.get('BUSFAULT') 53 if get_option('xdmcp') [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/sunrpc/ |
| H A 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. 41 * This is the RPC task struct 58 struct rpc_wait_queue *tk_waitqueue; /* RPC wait queue we're on */ 61 struct rpc_wait tk_wait; /* RPC wait */ 64 int tk_rpc_status; /* Result of last RPC operation */ 67 * RPC call state 69 struct rpc_message tk_msg; /* RPC call info */ 73 struct rpc_clnt * tk_client; /* RPC client */ [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers/ |
| H A D | 0001-Link-with-libtirpc.patch | 3 Date: Fri, 11 May 2018 12:20:03 -0700 6 Signed-off-by: Khem Raj <raj.khem@gmail.com> 7 --- 8 Upstream-Status: Pending 10 configure | 2 +- 11 rpc.rusersd/rusers_proc.c | 7 +------ 12 rpc.rusersd/rusersd.c | 6 +----- 13 rup/rup.c | 2 +- 14 4 files changed, 4 insertions(+), 13 deletions(-) 16 --- a/configure [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/renesas/ |
| H A D | rcar-gen3-cpg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Gen3 Clock Pulse Generator 5 * Copyright (C) 2015-2018 Glider bvba 8 * Based on clk-rcar-gen3.c 16 #include <linux/clk-provider.h> 25 #include "renesas-cpg-mssr.h" 26 #include "rcar-gen3-cpg.h" 63 csn->saved = readl(csn->reg); in cpg_simple_notifier_call() 67 writel(csn->saved, csn->reg); in cpg_simple_notifier_call() 76 csn->nb.notifier_call = cpg_simple_notifier_call; in cpg_simple_notifier_register() [all …]
|
| /OK3568_Linux_fs/kernel/include/memory/ |
| H A D | renesas-rpc-if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Renesas RPC-IF core driver 7 * Copyright (C) 2019-2020 Cogent Embedded, Inc. 80 int rpcif_sw_init(struct rpcif *rpc, struct device *dev); 81 void rpcif_hw_init(struct rpcif *rpc, bool hyperflash); 82 void rpcif_enable_rpm(struct rpcif *rpc); 83 void rpcif_disable_rpm(struct rpcif *rpc); 84 void rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs, 86 int rpcif_manual_xfer(struct rpcif *rpc); 87 ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf);
|