| /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 | 251 struct nvfw_gsp_rpc *rpc = (struct nvfw_gsp_rpc *)mqe->data; in r535_gsp_msgq_recv_one_elem() local 253 if (rpc->function != NV_VGPU_MSG_FUNCTION_CONTINUATION_RECORD) { in r535_gsp_msgq_recv_one_elem() 256 r535_gsp_msg_dump(gsp, rpc, NV_DBG_ERROR); in r535_gsp_msgq_recv_one_elem() 291 struct nvfw_gsp_rpc *rpc; in r535_gsp_msgq_recv() local 297 rpc = (struct nvfw_gsp_rpc *)mqe->data; in r535_gsp_msgq_recv() 299 if (WARN_ON(rpc->length > max_rpc_size)) in r535_gsp_msgq_recv() 302 buf = kvmalloc(max_t(u32, rpc->length, expected), GFP_KERNEL); in r535_gsp_msgq_recv() 308 info.gsp_rpc_len = rpc->length; in r535_gsp_msgq_recv() 326 rpc = r535_gsp_msgq_peek(gsp, sizeof(*rpc), info.retries); in r535_gsp_msgq_recv() 327 if (IS_ERR_OR_NULL(rpc)) { in r535_gsp_msgq_recv() [all …]
|
| H A D | fbsr.c | 58 rpc_alloc_memory_v13_01 *rpc; in r535_fbsr_memlist() local 61 rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_ALLOC_MEMORY, in r535_fbsr_memlist() 62 sizeof(*rpc) + pages * sizeof(rpc->pteDesc.pte_pde[0])); in r535_fbsr_memlist() 63 if (IS_ERR(rpc)) in r535_fbsr_memlist() 64 return PTR_ERR(rpc); in r535_fbsr_memlist() 66 rpc->hClient = client->object.handle; in r535_fbsr_memlist() 67 rpc->hDevice = device->object.handle; in r535_fbsr_memlist() 68 rpc->hMemory = handle; in r535_fbsr_memlist() 70 rpc->hClass = NV01_MEMORY_LIST_SYSTEM; in r535_fbsr_memlist() 71 rpc->flags = NVDEF(NVOS02, FLAGS, PHYSICALITY, NONCONTIGUOUS) | in r535_fbsr_memlist() [all …]
|
| H A D | bar.c | 55 rpc_update_bar_pde_v15_00 *rpc; in r535_bar_bar2_update_pde() local 57 rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_UPDATE_BAR_PDE, sizeof(*rpc)); in r535_bar_bar2_update_pde() 58 if (WARN_ON(IS_ERR_OR_NULL(rpc))) in r535_bar_bar2_update_pde() 61 rpc->info.barType = NV_RPC_UPDATE_PDE_BAR_2; in r535_bar_bar2_update_pde() 62 rpc->info.entryValue = pdbe; in r535_bar_bar2_update_pde() 63 rpc->info.entryLevelShift = page_shift; in r535_bar_bar2_update_pde() 65 return nvkm_gsp_rpc_wr(gsp, rpc, NVKM_GSP_RPC_REPLY_RECV); in r535_bar_bar2_update_pde()
|
| H A D | gsp.c | 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->bar1PdeBase; in r535_gsp_get_static_info() 235 gsp->bar.rm_bar2_pdb = rpc->bar2PdeBase; in r535_gsp_get_static_info() 237 r535_gsp_get_static_info_fb(gsp, &rpc->fbRegionInfoParams); in r535_gsp_get_static_info() [all …]
|
| /linux/drivers/mtd/hyperbus/ |
| H A D | rpc-if.c | 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() 97 rpcif_manual_xfer(hyperbus->rpc.dev); in rpcif_hb_write16() 106 rpcif_hb_prepare_read(&hyperbus->rpc, to, from, len); in rpcif_hb_copy_from() [all …]
|
| H A D | Makefile | 5 obj-$(CONFIG_RPCIF_HYPERBUS) += rpc-if.o
|
| /linux/drivers/clk/renesas/ |
| H A D | rcar-cpg-lib.c | 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() 158 rpc->gate.flags = CLK_GATE_SET_TO_DISABLE; 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 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() 345 dev_dbg(dev, "Invalid operation %d for endpoint %d\n", rpc->in.op, rpc->in.ep); in pdsfc_validate_rpc() [all …]
|
| /linux/drivers/greybus/ |
| H A D | es2.c | 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() 895 rpc->req->type = type; in arpc_alloc() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/ |
| H A D | gsp.c | 79 GspStaticConfigInfo *rpc; in r570_gsp_get_static_info() local 84 rpc = nvkm_gsp_rpc_rd(gsp, NV_VGPU_MSG_FUNCTION_GET_GSP_STATIC_INFO, sizeof(*rpc)); in r570_gsp_get_static_info() 85 if (IS_ERR(rpc)) in r570_gsp_get_static_info() 86 return PTR_ERR(rpc); in r570_gsp_get_static_info() 90 gsp->internal.client.object.handle = rpc->hInternalClient; in r570_gsp_get_static_info() 96 gsp->internal.device.object.handle = rpc->hInternalDevice; in r570_gsp_get_static_info() 100 gsp->internal.device.subdevice.handle = rpc->hInternalSubdevice; in r570_gsp_get_static_info() 102 gsp->bar.rm_bar1_pdb = rpc->bar1PdeBase; in r570_gsp_get_static_info() 103 gsp->bar.rm_bar2_pdb = rpc->bar2PdeBase; in r570_gsp_get_static_info() 105 r535_gsp_get_static_info_fb(gsp, &rpc->fbRegionInfoParams); in r570_gsp_get_static_info() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-era-target.c | 1196 struct rpc { struct 1325 struct rpc *rpc, *tmp; in process_rpc_calls() local 1332 list_for_each_entry_safe(rpc, tmp, &calls, list) { in process_rpc_calls() 1333 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls() 1340 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls() 1341 rpc->result = r; in process_rpc_calls() 1344 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls() 1345 complete(&rpc->complete); in process_rpc_calls() 1378 static int perform_rpc(struct era *era, struct rpc *rpc) in perform_rpc() argument 1380 rpc->result = 0; in perform_rpc() [all …]
|
| /linux/drivers/media/platform/amphion/ |
| H A D | vpu_windsor.c | 555 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_windsor_init_rpc() argument 565 if (rpc->phys < boot_addr) in vpu_windsor_init_rpc() 568 base_phy_addr = rpc->phys - boot_addr; in vpu_windsor_init_rpc() 569 iface = rpc->virt; in vpu_windsor_init_rpc() 575 iface->exec_area_size = rpc->length; in vpu_windsor_init_rpc() 580 shared->cmd_mem_vir = rpc->virt + offset; in vpu_windsor_init_rpc() 589 shared->msg_mem_vir = rpc->virt + offset; in vpu_windsor_init_rpc() 601 ctrl = rpc->virt + (iface->ctrl_iface[i] - base_phy_addr); in vpu_windsor_init_rpc() 604 hcs->ctrls[i].yuv_desc = rpc->virt + offset; in vpu_windsor_init_rpc() 608 hcs->ctrls[i].stream_desc = rpc->virt + offset; in vpu_windsor_init_rpc() [all …]
|
| H A D | vpu_rpc.h | 53 struct vpu_buffer *rpc, dma_addr_t boot_addr); 196 struct vpu_buffer *rpc, in vpu_iface_init() argument 204 ops->init_rpc(shared, rpc, boot_addr); in vpu_iface_init() 207 if (rpc->bytesused > rpc->length) in vpu_iface_init()
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | index.rst | 13 rpc-cache 14 rpc-server-gss
|
| H A D | rpc-server-gss.rst | 50 to talk to a custom daemon called rpc.svcgssd that is provide by the 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
|
| H A D | nfs41-server.rst | 13 control file, the nfsd service must be taken down. You can use rpc.nfsd 14 for this; see rpc.nfsd(8). 19 on or off; rpc.nfsd does this correctly.)
|
| /linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| H A D | hw_atl_utils.c | 524 err = hw_atl_write_fwcfg_dwords(self, (u32 *)(void *)&self->rpc, in hw_atl_utils_fw_rpc_call() 539 struct hw_atl_utils_fw_rpc **rpc) in hw_atl_utils_fw_rpc_wait() argument 562 if (sw.len > sizeof(self->rpc)) { in hw_atl_utils_fw_rpc_wait() 573 if (rpc) { in hw_atl_utils_fw_rpc_wait() 575 if (fw.len > sizeof(self->rpc)) { in hw_atl_utils_fw_rpc_wait() 584 &self->rpc, in hw_atl_utils_fw_rpc_wait() 592 *rpc = &self->rpc; in hw_atl_utils_fw_rpc_wait()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | fw.rs | 798 rpc <- RpcMessageHeader::init(cmd_size, function), in init() 818 num::u32_as_usize(self.inner.rpc.length) in payload_length() 829 self.inner.rpc.sequence in sequence() 836 .rpc in function() 839 .map_err(|_| self.inner.rpc.function) in function()
|
| /linux/arch/arm64/boot/dts/realtek/ |
| H A D | rtd139x.dtsi | 24 rpc_comm: rpc@2f000 { 28 rpc_ringbuf: rpc@1ffe000 {
|
| H A D | rtd129x.dtsi | 25 rpc_comm: rpc@1f000 { 29 rpc_ringbuf: rpc@1ffe000 {
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | gsp.h | 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() 317 gsp->rm->api->rpc->done(gsp, repv); in nvkm_gsp_rpc_done()
|
| /linux/fs/nfs/ |
| H A D | super.c | 739 struct rpc_clnt *rpc; in nfs_umount_begin() local 743 rpc = server->client_acl; in nfs_umount_begin() 744 if (!IS_ERR(rpc)) in nfs_umount_begin() 745 rpc_killall_tasks(rpc); in nfs_umount_begin() 746 rpc = server->client; in nfs_umount_begin() 747 if (!IS_ERR(rpc)) in nfs_umount_begin() 748 rpc_killall_tasks(rpc); in nfs_umount_begin()
|
| /linux/arch/arm/boot/dts/realtek/ |
| H A D | rtd1195.dtsi | 43 rpc_comm: rpc@b000 { 51 rpc_ringbuf: rpc@1ffe000 {
|
| /linux/arch/mips/include/asm/ |
| H A D | asm.h | 57 #define NESTED(symbol, framesize, rpc) \ 63 symbol: .frame sp, framesize, rpc; \
|