Home
last modified time | relevance | path

Searched refs:rpc (Results 1 – 25 of 92) sorted by relevance

1234

/linux/drivers/memory/
H A Drenesas-rpc-if.c516 regmap_write(rpc->regmap, RPCIF_SMCMR, rpc->command); in rpcif_manual_xfer()
517 regmap_write(rpc->regmap, RPCIF_SMOPR, rpc->option); in rpcif_manual_xfer()
518 regmap_write(rpc->regmap, RPCIF_SMDMCR, rpc->dummy); in rpcif_manual_xfer()
519 regmap_write(rpc->regmap, RPCIF_SMDRENR, rpc->ddr); in rpcif_manual_xfer()
520 regmap_write(rpc->regmap, RPCIF_SMADR, rpc->smadr); in rpcif_manual_xfer()
577 memcpy_fromio(rpc->buffer, rpc->dirmap, rpc->xferlen); in rpcif_manual_xfer()
692 regmap_write(rpc->regmap, RPCIF_DROPR, rpc->option); in rpcif_dirmap_read()
695 regmap_write(rpc->regmap, RPCIF_DRDMCR, rpc->dummy); in rpcif_dirmap_read()
696 regmap_write(rpc->regmap, RPCIF_DRDRENR, rpc->ddr); in rpcif_dirmap_read()
736 rpc = devm_kzalloc(dev, sizeof(*rpc), GFP_KERNEL); in rpcif_probe()
[all …]
/linux/arch/mips/pci/
H A Dpci-rt3883.c210 rpc->irq_domain = in rt3883_pci_irq_init()
213 rpc); in rt3883_pci_irq_init()
214 if (!rpc->irq_domain) { in rt3883_pci_irq_init()
379 if (!rpc->pcie_ready) { in rt3883_pci_preinit()
412 rpc = devm_kzalloc(dev, sizeof(*rpc), GFP_KERNEL); in rt3883_pci_probe()
413 if (!rpc) in rt3883_pci_probe()
417 if (IS_ERR(rpc->base)) in rt3883_pci_probe()
485 rpc->pci_controller.io_resource = &rpc->io_res; in rt3883_pci_probe()
486 rpc->pci_controller.mem_resource = &rpc->mem_res; in rt3883_pci_probe()
492 rt3883_pci_w32(rpc, rpc->mem_res.start, RT3883_PCI_REG_MEMBASE); in rt3883_pci_probe()
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Drenesas,rpc-if.yaml30 - 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
40 - renesas,r8a77990-rpc-if # R-Car E3
53 - renesas,r9a07g043-rpc-if # RZ/G2UL
55 - renesas,r9a07g054-rpc-if # RZ/V2L
56 - const: renesas,rzg2l-rpc-if
110 - renesas,rzg2l-rpc-if
[all …]
/linux/drivers/mtd/hyperbus/
H A Drpc-if.c21 struct rpcif rpc; member
59 rpcif_prepare(rpc->dev, &op, NULL, NULL); in rpcif_hb_prepare_read()
73 rpcif_prepare(rpc->dev, &op, NULL, NULL); in rpcif_hb_prepare_write()
84 rpcif_manual_xfer(hyperbus->rpc.dev); in rpcif_hb_read16()
97 rpcif_manual_xfer(hyperbus->rpc.dev); in rpcif_hb_write16()
133 pm_runtime_enable(hyperbus->rpc.dev); in rpcif_hb_probe()
135 error = rpcif_hw_init(hyperbus->rpc.dev, true); in rpcif_hb_probe()
139 hyperbus->hbdev.map.size = hyperbus->rpc.size; in rpcif_hb_probe()
140 hyperbus->hbdev.map.virt = hyperbus->rpc.dirmap; in rpcif_hb_probe()
153 pm_runtime_disable(hyperbus->rpc.dev); in rpcif_hb_probe()
[all …]
H A DMakefile5 obj-$(CONFIG_RPCIF_HYPERBUS) += rpc-if.o
/linux/drivers/clk/renesas/
H A Drcar-cpg-lib.c144 struct rpc_clock *rpc; in cpg_rpc_clk_register() local
147 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); 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()
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()
159 rpc->gate.lock = &cpg_lock; in cpg_rpc_clk_register()
161 rpc->csn.reg = rpcckcr; in cpg_rpc_clk_register()
[all …]
/linux/drivers/spi/
H A Dspi-rpc-if.c81 struct rpcif *rpc = in rpcif_spi_mem_dirmap_read() local
94 struct rpcif *rpc = in rpcif_spi_mem_dirmap_create() local
103 if (!rpc->dirmap) in rpcif_spi_mem_dirmap_create()
115 struct rpcif *rpc = in rpcif_spi_mem_exec_op() local
120 return rpcif_manual_xfer(rpc->dev); in rpcif_spi_mem_exec_op()
134 struct rpcif *rpc; in rpcif_spi_probe() local
141 rpc = spi_controller_get_devdata(ctlr); in rpcif_spi_probe()
142 error = rpcif_sw_init(rpc, parent); in rpcif_spi_probe()
150 pm_runtime_enable(rpc->dev); in rpcif_spi_probe()
172 pm_runtime_disable(rpc->dev); in rpcif_spi_probe()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dr535.c64 rpc_alloc_memory_v13_01 *rpc; in fbsr_memlist() local
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()
74 rpc->hMemory = handle; in fbsr_memlist()
87 rpc->pteAdjust = 0; in fbsr_memlist()
88 rpc->length = size; in fbsr_memlist()
89 rpc->pageCount = pages; in fbsr_memlist()
90 rpc->pteDesc.idr = 0; in fbsr_memlist()
91 rpc->pteDesc.reserved1 = 0; in fbsr_memlist()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c379 rpc->length, rpc->length - sizeof(*rpc)); in r535_gsp_rpc_send()
381 rpc->data, rpc->length - sizeof(*rpc), true); in r535_gsp_rpc_send()
598 rpc = nvkm_gsp_rpc_push(gsp, rpc, true, sizeof(*rpc) + repc); in r535_gsp_rpc_rm_alloc_push()
600 return rpc; in r535_gsp_rpc_rm_alloc_push()
627 return rpc; in r535_gsp_rpc_rm_alloc_get()
655 rpc = nvkm_gsp_rpc_push(gsp, rpc, true, repc); in r535_gsp_rpc_rm_ctrl_push()
688 return rpc; in r535_gsp_rpc_rm_ctrl_get()
720 rpc->length = sizeof(*rpc) + argc; in r535_gsp_rpc_get()
731 u32 rpc_size = rpc->length - sizeof(*rpc); in r535_gsp_rpc_push()
739 rpc->length = sizeof(*rpc) + max_rpc_size; in r535_gsp_rpc_push()
[all …]
/linux/drivers/greybus/
H A Des2.c886 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in arpc_alloc()
887 if (!rpc) in arpc_alloc()
891 rpc->req = kzalloc(sizeof(*rpc->req) + size, GFP_KERNEL); in arpc_alloc()
895 rpc->resp = kzalloc(sizeof(*rpc->resp), GFP_KERNEL); in arpc_alloc()
900 rpc->req->size = cpu_to_le16(sizeof(*rpc->req) + size); in arpc_alloc()
905 return rpc; in arpc_alloc()
910 kfree(rpc); in arpc_alloc()
919 kfree(rpc); in arpc_free()
959 rpc->req, le16_to_cpu(rpc->req->size), in arpc_send()
982 if (!rpc) in arpc_sync()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dr535.c49 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()
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()
/linux/drivers/md/
H A Ddm-era-target.c1196 struct rpc { struct
1325 struct rpc *rpc, *tmp; in process_rpc_calls() local
1333 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls()
1378 static int perform_rpc(struct era *era, struct rpc *rpc) in perform_rpc() argument
1395 struct rpc rpc; in in_worker0() local
1397 rpc.fn0 = fn; in in_worker0()
1398 rpc.fn1 = NULL; in in_worker0()
1406 struct rpc rpc; in in_worker1() local
1408 rpc.fn0 = NULL; in in_worker1()
1409 rpc.fn1 = fn; in in_worker1()
[all …]
/linux/drivers/pci/pcie/
H A Daer.c1278 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1353 struct pci_dev *rp = rpc->rpd; in aer_irq()
1453 aer_disable_rootport(rpc); in aer_remove()
1465 struct aer_rpc *rpc; in aer_probe() local
1480 if (!rpc) in aer_probe()
1483 rpc->rpd = port; in aer_probe()
1484 INIT_KFIFO(rpc->aer_fifo); in aer_probe()
1485 set_service_data(dev, rpc); in aer_probe()
1495 aer_enable_rootport(rpc); in aer_probe()
1504 aer_disable_rootport(rpc); in aer_suspend()
[all …]
/linux/drivers/media/platform/amphion/
H A Dvpu_core.c578 core->rpc.phys = res.start; in vpu_core_parse_dt()
579 core->rpc.length = resource_size(&res); in vpu_core_parse_dt()
583 &core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
589 core->rpc.virt = memremap(core->rpc.phys, core->rpc.length, MEMREMAP_WC); in vpu_core_parse_dt()
590 memset(core->rpc.virt, 0, core->rpc.length); in vpu_core_parse_dt()
592 ret = vpu_iface_check_memory_region(core, core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
595 &core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
600 core->log.phys = core->rpc.phys + core->res->rpc_size; in vpu_core_parse_dt()
601 core->log.virt = core->rpc.virt + core->res->rpc_size; in vpu_core_parse_dt()
606 core->rpc.length = core->res->rpc_size; in vpu_core_parse_dt()
[all …]
H A Dvpu_windsor.c565 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()
612 hcs->ctrls[i].expert = rpc->virt + offset; in vpu_windsor_init_rpc()
616 hcs->ctrls[i].param = rpc->virt + offset; in vpu_windsor_init_rpc()
620 hcs->ctrls[i].pool = rpc->virt + offset; in vpu_windsor_init_rpc()
628 hcs->ctrls[i].dsa = rpc->virt + offset; in vpu_windsor_init_rpc()
[all …]
H A Dvpu_malone.c350 if (rpc->phys < boot_addr) in vpu_malone_init_rpc()
353 iface = rpc->virt; in vpu_malone_init_rpc()
361 iface->exec_area_size = rpc->length; in vpu_malone_init_rpc()
385 hc->codec_param = rpc->virt + offset; in vpu_malone_init_rpc()
390 hc->jpg = rpc->virt + offset; in vpu_malone_init_rpc()
395 hc->seq_mem = rpc->virt + offset; in vpu_malone_init_rpc()
400 hc->pic_mem = rpc->virt + offset; in vpu_malone_init_rpc()
405 hc->gop_mem = rpc->virt + offset; in vpu_malone_init_rpc()
410 hc->qmeter_mem = rpc->virt + offset; in vpu_malone_init_rpc()
416 hc->dbglog_mem = rpc->virt + offset; in vpu_malone_init_rpc()
[all …]
H A Dvpu_rpc.h53 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 Dindex.rst13 rpc-cache
14 rpc-server-gss
H A Drpc-server-gss.rst50 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
/linux/Documentation/netlink/specs/
H A Dnfsd.yaml11 name: rpc-status
131 name: rpc-status-get
132 doc: dump pending nfsd rpc
133 attribute-set: rpc-status
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c524 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/staging/most/dim2/
H A Dhal.c69 u16 rpc; member
388 g.atx_dbr.rpc = dim2_rpc(ch_addr); in dbrcnt_init()
389 g.atx_dbr.wpc = g.atx_dbr.rpc; in dbrcnt_init()
409 while (norm_pc(dbr->rpc) != cur_rpc) { in dim_dbr_space()
410 dbr->rest_size += dbr->sz_queue[norm_pc(dbr->rpc)]; in dim_dbr_space()
411 dbr->rpc++; in dim_dbr_space()
414 if ((u16)(dbr->wpc - dbr->rpc) >= CDT0_RPC_MASK) in dim_dbr_space()
/linux/drivers/tee/optee/
H A DMakefile6 optee-objs += rpc.o
/linux/arch/sparc/kernel/
H A Dprocess_64.c215 rp->rpc = rw->ins[7]; in __global_reg_self()
219 rp->rpc = 0; in __global_reg_self()
282 (void *) gp->rpc); in arch_trigger_cpumask_backtrace()
285 gp->tpc, gp->o7, gp->i7, gp->rpc); in arch_trigger_cpumask_backtrace()
/linux/arch/arm64/boot/dts/realtek/
H A Drtd139x.dtsi24 rpc_comm: rpc@2f000 {
28 rpc_ringbuf: rpc@1ffe000 {

1234