| /linux/arch/mips/pci/ |
| H A D | pci-rt3883.c | 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 108 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_read_cfg32() 110 return rt3883_pci_r32(rpc, RT3883_PCI_REG_CFGDATA); in rt3883_pci_read_cfg32() 113 static void rt3883_pci_write_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_write_cfg32() argument 121 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_write_cfg32() 122 rt3883_pci_w32(rpc, val, RT3883_PCI_REG_CFGDATA); in rt3883_pci_write_cfg32() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| H A D | rpc.c | 22 #include <rm/rpc.h> 36 * RPC via the GSP command queue, GSP writes the status of the submitted 37 * RPC in the status queue. 44 * - RPC message header (struct nvfw_gsp_rpc), which maintains the info 45 * of the RPC. E.g., the RPC function number. 47 * - The payload, where the RPC message stays. E.g. the params of a 48 * specific RPC function. Some RPC functions also have their headers 60 * | GSP RPC Header | 85 * - gsp_msg(msg): GSP message element (element header + GSP RPC header + 87 * - gsp_rpc(rpc): GSP RPC (RPC header + payload) [all …]
|
| H A D | gsp.c | 22 #include <rm/rpc.h> 215 GspStaticConfigInfo *rpc; in r535_gsp_get_static_info() local 217 rpc = nvkm_gsp_rpc_rd(gsp, NV_VGPU_MSG_FUNCTION_GET_GSP_STATIC_INFO, sizeof(*rpc)); in r535_gsp_get_static_info() 218 if (IS_ERR(rpc)) in r535_gsp_get_static_info() 219 return PTR_ERR(rpc); in r535_gsp_get_static_info() 223 gsp->internal.client.object.handle = rpc->hInternalClient; in r535_gsp_get_static_info() 228 gsp->internal.device.object.handle = rpc->hInternalDevice; in r535_gsp_get_static_info() 232 gsp->internal.device.subdevice.handle = rpc->hInternalSubdevice; in r535_gsp_get_static_info() 234 gsp->bar.rm_bar1_pdb = rpc in r535_gsp_get_static_info() 331 rpc_unloading_guest_driver_v1F_07 *rpc; r535_gsp_rpc_unloading_guest_driver() local 634 PACKED_REGISTRY_TABLE *rpc; r535_gsp_rpc_set_registry() local 1285 struct rpc_ucode_libos_print_v1e_08 *rpc = repv; r535_gsp_msg_libos_print() local [all...] |
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | renesas,rpc-if.yaml | 4 $id: http://devicetree.org/schemas/memory-controllers/renesas,rpc-if.yaml# 7 title: Renesas Reduced Pin Count Interface (RPC-IF) 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. 30 - renesas,r8a774a1-rpc-if # RZ/G2M 31 - renesas,r8a774b1-rpc-if # RZ/G2N 32 - renesas,r8a774c0-rpc-if # RZ/G2E 33 - renesas,r8a774e1-rpc-if # RZ/G2H 34 - renesas,r8a7795-rpc-if # R-Car H3 35 - renesas,r8a7796-rpc-if # R-Car M3-W [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-rpc-if.c | 3 // RPC-IF SPI/QSPI/Octa driver 15 #include <memory/renesas-rpc-if.h> 23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare() local 61 rpcif_prepare(rpc->dev, &rpc_op, offs, len); in rpcif_spi_mem_prepare() 81 struct rpcif *rpc = spi_controller_get_devdata(desc->mem->spi->controller); in xspi_spi_mem_dirmap_write() local 88 return xspi_dirmap_write(rpc->dev, offs, len, buf); in xspi_spi_mem_dirmap_write() 94 struct rpcif *rpc = in rpcif_spi_mem_dirmap_read() local 102 return rpcif_dirmap_read(rpc->dev, offs, len, buf); in rpcif_spi_mem_dirmap_read() 107 struct rpcif *rpc = in rpcif_spi_mem_dirmap_create() local 116 if (!rpc->dirmap) in rpcif_spi_mem_dirmap_create() [all …]
|
| /linux/drivers/mtd/hyperbus/ |
| H A D | rpc-if.c | 3 * Linux driver for RPC-IF HyperFlash 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() 84 rpcif_manual_xfer(hyperbus->rpc.dev); in rpcif_hb_read16() 95 rpcif_hb_prepare_write(&hyperbus->rpc, addr, &data, 2); in rpcif_hb_write16() [all …]
|
| /linux/drivers/clk/renesas/ |
| H A D | rcar-cpg-lib.c | 130 * One notifier covers both RPC and RPCD2 clocks as they are both 144 struct rpc_clock *rpc; in cpg_rpc_clk_register() local 147 rpc = kzalloc_obj(*rpc); in cpg_rpc_clk_register() 148 if (!rpc) in cpg_rpc_clk_register() 151 rpc->div.reg = rpcckcr; in cpg_rpc_clk_register() 152 rpc->div.width = 3; in cpg_rpc_clk_register() 153 rpc->div.table = cpg_rpc_div_table; in cpg_rpc_clk_register() 154 rpc->div.lock = &cpg_lock; in cpg_rpc_clk_register() 156 rpc->gate.reg = rpcckcr; in cpg_rpc_clk_register() 157 rpc->gate.bit_idx = 8; in cpg_rpc_clk_register() [all …]
|
| /linux/drivers/fwctl/pds/ |
| H A D | main.c | 282 struct fwctl_rpc_pds *rpc, in pdsfc_validate_rpc() argument 291 /* validate rpc in_len & out_len based in pdsfc_validate_rpc() 294 if (rpc->in.len > le32_to_cpu(pdsfc->ident.max_req_sz)) { in pdsfc_validate_rpc() 296 rpc->in.len, le32_to_cpu(pdsfc->ident.max_req_sz)); in pdsfc_validate_rpc() 300 if (rpc->out.len > le32_to_cpu(pdsfc->ident.max_resp_sz)) { in pdsfc_validate_rpc() 302 rpc->out.len, le32_to_cpu(pdsfc->ident.max_resp_sz)); in pdsfc_validate_rpc() 308 if (pdsfc->endpoint_info[i].endpoint == rpc->in.ep) { in pdsfc_validate_rpc() 314 dev_dbg(dev, "Invalid endpoint %d\n", rpc->in.ep); in pdsfc_validate_rpc() 325 rpc->in.ep); in pdsfc_validate_rpc() 338 if (PDS_FWCTL_RPC_OPCODE_CMP(rpc->in.op, le32_to_cpu(op_entry[i].id))) { in pdsfc_validate_rpc() [all …]
|
| /linux/fs/lockd/ |
| H A D | svcproc.c | 36 * to its XDR type for the RPC dispatch layer. 230 * @rqstp: RPC transaction context 233 * %rpc_success: RPC executed successfully 235 * RPC synopsis: 245 * @rqstp: RPC transaction context 248 * %rpc_success: RPC executed successfully. 249 * %rpc_drop_reply: Do not send an RPC reply. 251 * RPC synopsis: 364 * @rqstp: RPC transaction context 367 * %rpc_success: RPC executed successfully. [all …]
|
| H A D | svc4proc.c | 31 * to its XDR type for the RPC dispatch layer. 206 * @rqstp: RPC transaction context 209 * %rpc_success: RPC executed successfully 211 * RPC synopsis: 222 * @rqstp: RPC transaction context 225 * %rpc_success: RPC executed successfully. 226 * %rpc_drop_reply: Do not send an RPC reply. 228 * RPC synopsis: 343 * @rqstp: RPC transaction context 346 * %rpc_success: RPC executed successfully. [all …]
|
| /linux/include/linux/sunrpc/ |
| H A D | metrics.h | 5 * Declarations for RPC client per-operation metrics 9 * RPC client per-operation statistics provide latency and retry 10 * information about each type of RPC procedure in a given RPC program. 21 * The counters are maintained in a single array per RPC client, indexed 47 om_ntrans, /* count of RPC transmissions */ 52 * given RPC procedure type. This indicates how much load a 54 * counts include the RPC and ULP headers, and the request 61 * The length of time an RPC request waits in queue before 67 om_rtt, /* RPC RTT */ 68 om_execute; /* RPC execution */
|
| H A D | svc.h | 5 * RPC server declarations. 28 * RPC service thread pool. 31 * a single one of these per RPC service, but on NUMA machines those 63 * RPC service. 65 * An RPC service is a ``daemon,'' possibly multithreaded, which 66 * receives and processes incoming RPC messages. 70 * We currently do not support more than one RPC program per daemon. 73 struct svc_program * sv_programs; /* RPC programs */ 74 struct svc_stat * sv_stats; /* RPC statistics */ 109 * Maximum payload size supported by a kernel RPC server. [all …]
|
| /linux/drivers/greybus/ |
| H A D | es2.c | 95 * @arpc_endpoint_in: bulk in endpoint for APBridgeA RPC 877 struct arpc *rpc; in arpc_alloc() local 879 if (size + sizeof(*rpc->req) > ARPC_OUT_SIZE_MAX) in arpc_alloc() 882 rpc = kzalloc_obj(*rpc); in arpc_alloc() 883 if (!rpc) in arpc_alloc() 886 INIT_LIST_HEAD(&rpc->list); in arpc_alloc() 887 rpc->req = kzalloc(sizeof(*rpc->req) + size, GFP_KERNEL); in arpc_alloc() 888 if (!rpc->req) in arpc_alloc() 891 rpc->resp = kzalloc_obj(*rpc->resp); in arpc_alloc() 892 if (!rpc->resp) in arpc_alloc() [all …]
|
| H A D | arpc.h | 10 /* APBridgeA RPC (ARPC) */ 21 __le16 id; /* RPC unique id */ 23 __u8 type; /* RPC type */ 28 __le16 id; /* RPC unique id */ 29 __u8 result; /* Result of RPC */
|
| /linux/net/sunrpc/ |
| H A D | stats.c | 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 49 "rpc %u %u %u\n", in rpc_proc_show() 80 * Get RPC server stats 96 "rpc %u %u %u %u %u\n", in svc_seq_show() 121 * @clnt: RPC program, version, and xprt 284 * Register/unregister RPC proc files [all …]
|
| H A D | clnt.c | 5 * This file contains the high-level RPC interface. 9 * - RPC header generation and argument serialization. 129 pr_info("RPC: pipefs directory doesn't exist: %s\n", dir_name); in rpc_setup_pipedir_sb() 140 printk(KERN_INFO "RPC: Couldn't create pipefs entry" in rpc_setup_pipedir_sb() 324 dprintk("RPC: Couldn't create auth handle (flavor %u)\n", in rpc_client_register() 523 * rpc_create - create an RPC client and transport with one call 526 * Creates and initializes an RPC transport and an RPC client. 607 * By default, kernel RPC client connects from a reserved port. in rpc_create() 632 * This function clones the RPC client structure. It allows us to share the 679 * rpc_clone_client - Clone an RPC client structure [all …]
|
| H A D | Kconfig | 20 tristate "Secure RPC: Kerberos V mechanism" 26 Choose Y here to enable Secure RPC using the Kerberos version 5 29 Secure RPC calls with Kerberos require an auxiliary user-space 37 bool "RPC: Enable dprintk debugging" 43 logging of different aspects of the kernel RPC activity. 51 bool "RPC: Send dfprintk() output to the trace buffer" 65 tristate "RPC-over-RDMA transport"
|
| H A D | xprt.c | 5 * This is a generic RPC call interface supporting congestion avoidance, 13 * - Next, the caller puts together the RPC message, stuffs it into 26 * - When the caller receives a notification from RPC that a reply arrived, 27 * it should release the RPC slot, and process the reply. 32 * Support for async RPC is done through a set of RPC-specific scheduling 95 * call this interface to make itself known to the RPC client. 116 printk(KERN_INFO "RPC: Registered %s transport module.\n", in xprt_register_transport() 144 "RPC: Unregistered %s transport module.\n", in xprt_unregister_transport() 217 request_module("rpc%s", netid); in xprt_class_find_by_netid() 494 * @req: pointer to RPC request [all …]
|
| /linux/tools/net/sunrpc/xdrgen/generators/ |
| H A D | program.py | 4 """Generate code for an RPC program's procedures""" 16 """Emit procedure numbers for each RPC version's procedures""" 37 """Emit declarations for each RPC version's procedures""" 66 """Emit server argument decoders for each RPC version's procedures""" 82 """Emit client result decoders for each RPC version's procedures""" 96 """Emit client argument encoders for each RPC version's procedures""" 110 """Emit server result encoders for each RPC version's procedures""" 124 """Generate source code for an RPC program's procedures""" 132 """Emit procedure numbers for each of an RPC programs's procedures""" 143 """Emit a declaration pair for each of an RPC programs's procedures""" [all …]
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | rpc-server-gss.rst | 2 rpcsec_gss support for kernel RPC servers 6 implement RPCGSS authentication in kernel RPC servers such as the NFS 50 to talk to a custom daemon called rpc.svcgssd that is provide by the 67 NFS Server New RPC Upcall Mechanism 70 The newer upcall mechanism uses RPC over a unix socket to a daemon 73 The gss_proxy RPC protocol is currently documented `here 76 This upcall mechanism uses the kernel rpc client and connects to the gssproxy 86 /proc/net/rpc/use-gss-proxy. If gss-proxy dies, it must repeat both 92 from /proc/net/rpc/use-gss-proxy and checking that it contains a
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_recvfrom.c | 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 65 * I/O. svc_rdma_recvfrom then returns zero, since the RPC message 76 * of the RPC Call message, using the RDMA Read sink pages kept in 79 * the length of the completed RPC Call message. 244 * or svc_process could drop an RPC, before the Reply is sent. 318 * posted Receive and one RPC in process. in svc_rdma_post_recvs() [all …]
|
| H A D | transport.c | 45 * This file contains the top-level implementation of an RPC RDMA 49 * transport switch. All others are RPC RDMA internal. 219 * transport while a fresh connection is being established. RPC tasks 306 * @args: rpc transport arguments in xprt_setup_rdma() 394 * @xprt: controlling RPC transport in xprt_rdma_set_port() 417 * xprt_rdma_timer - invoked when an RPC times out 418 * @xprt: controlling RPC transport 419 * @task: RPC task that timed out 421 * Invoked when the transport is still connected, but an RPC 476 * @task: RPC schedule in xprt_rdma_connect() [all...] |
| H A D | rpc_rdma.c | 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 80 /* Returns size of largest RPC-over-RDMA header in a Reply message 104 * The max_inline fields contain the maximum size of an RPC message 106 * for every RPC. 119 * plus the RPC call fit under the transport's inline limit. If the 123 * A Read chunk is also required if sending the RPC call inline would 165 * size of the non-payload part of the RPC Reply is larger than 512 /* Prepare an SGE for the RPC in rpcrdma_prepare_hdr_sge() [all...] |
| H A D | svc_rdma_sendto.c | 48 * RPC server when an RPC Reply is ready to be transmitted to a client. 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 529 * svc_rdma_encode_read_list - Encode RPC Reply's Read chunk list 530 * @sctxt: Send context for the RPC Reply 539 /* RPC-over-RDMA version 1 replies never have a Read list. */ in svc_rdma_encode_read_list() 545 * @sctxt: Send context for the RPC Reply 579 * @sctxt: Send context for the RPC Reply 620 * svc_rdma_encode_write_list - Encode RPC Reply's Write chunk list 621 * @rctxt: Reply context with information about the RPC Call [all …]
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | gsp.h | 40 * When sending a GSP RPC command, there can be multiple cases of handling 41 * the GSP RPC messages, which are the reply of GSP RPC commands, according 42 * to the requirement of the callers and the nature of the GSP RPC commands. 45 * caller after the GSP RPC command is issued. 48 * but don't emit RPC sequence number. 51 * RPC message after the GSP RPC command is issued. 243 /* A linked list of registry items. The registry RPC will be built from it. */ 246 /* The size of the registry RPC */ 281 return gsp->rm->api->rpc->get(gsp, fn, argc); in nvkm_gsp_rpc_get() 288 return gsp->rm->api->rpc->push(gsp, argv, policy, repc); in nvkm_gsp_rpc_push() [all …]
|