/linux-6.12.1/drivers/memory/ |
D | renesas-rpc-if.c | 220 struct rpcif_priv *rpc = context; in rpcif_reg_read() local 225 switch (rpc->xfer_size) { in rpcif_reg_read() 227 *val = readb(rpc->base + reg); in rpcif_reg_read() 231 *val = readw(rpc->base + reg); in rpcif_reg_read() 236 *val = readl(rpc->base + reg); in rpcif_reg_read() 245 if (rpc->xfer_size != 8) in rpcif_reg_read() 250 *val = readl(rpc->base + reg); in rpcif_reg_read() 256 struct rpcif_priv *rpc = context; in rpcif_reg_write() local 260 switch (rpc->xfer_size) { in rpcif_reg_write() 262 writeb(val, rpc->base + reg); in rpcif_reg_write() [all …]
|
/linux-6.12.1/arch/mips/pci/ |
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-6.12.1/drivers/mtd/hyperbus/ |
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 …]
|
D | Makefile | 5 obj-$(CONFIG_RPCIF_HYPERBUS) += rpc-if.o
|
/linux-6.12.1/drivers/clk/renesas/ |
D | rcar-cpg-lib.c | 144 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() 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-6.12.1/drivers/spi/ |
D | spi-rpc-if.c | 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 = in rpcif_spi_mem_dirmap_read() local 89 return rpcif_dirmap_read(rpc->dev, offs, len, buf); in rpcif_spi_mem_dirmap_read() 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 137 ctlr = devm_spi_alloc_host(&pdev->dev, sizeof(*rpc)); in rpcif_spi_probe() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | r535.c | 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() 74 rpc->hMemory = handle; in fbsr_memlist() 76 rpc->hClass = NV01_MEMORY_LIST_SYSTEM; in fbsr_memlist() 77 rpc->flags = NVDEF(NVOS02, FLAGS, PHYSICALITY, NONCONTIGUOUS) | in fbsr_memlist() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
D | r535.c | 371 struct nvfw_gsp_rpc *rpc = container_of(argv, typeof(*rpc), data); in r535_gsp_rpc_send() local 373 u32 fn = rpc->function; in r535_gsp_rpc_send() 378 nvkm_trace(&gsp->subdev, "rpc fn:%d len:0x%x/0x%zx\n", rpc->function, in r535_gsp_rpc_send() 379 rpc->length, rpc->length - sizeof(*rpc)); in r535_gsp_rpc_send() 381 rpc->data, rpc->length - sizeof(*rpc), true); in r535_gsp_rpc_send() 384 ret = r535_gsp_cmdq_push(gsp, rpc); in r535_gsp_rpc_send() 568 rpc_free_v03_00 *rpc; in r535_gsp_rpc_rm_free() local 573 rpc = nvkm_gsp_rpc_get(gsp, NV_VGPU_MSG_FUNCTION_FREE, sizeof(*rpc)); in r535_gsp_rpc_rm_free() 574 if (WARN_ON(IS_ERR_OR_NULL(rpc))) in r535_gsp_rpc_rm_free() 577 rpc->params.hRoot = client->object.handle; in r535_gsp_rpc_rm_free() [all …]
|
/linux-6.12.1/drivers/greybus/ |
D | es2.c | 881 struct arpc *rpc; in arpc_alloc() local 883 if (size + sizeof(*rpc->req) > ARPC_OUT_SIZE_MAX) in arpc_alloc() 886 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in arpc_alloc() 887 if (!rpc) in arpc_alloc() 890 INIT_LIST_HEAD(&rpc->list); in arpc_alloc() 891 rpc->req = kzalloc(sizeof(*rpc->req) + size, GFP_KERNEL); in arpc_alloc() 892 if (!rpc->req) in arpc_alloc() 895 rpc->resp = kzalloc(sizeof(*rpc->resp), GFP_KERNEL); in arpc_alloc() 896 if (!rpc->resp) in arpc_alloc() 899 rpc->req->type = type; in arpc_alloc() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
D | r535.c | 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() 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-6.12.1/drivers/md/ |
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-6.12.1/drivers/pci/pcie/ |
D | aer.c | 1275 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument 1278 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error() 1331 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local 1334 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr() 1337 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr() 1338 aer_isr_one_error(rpc, &e_src); in aer_isr() 1352 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local 1353 struct pci_dev *rp = rpc->rpd; in aer_irq() 1364 if (!kfifo_put(&rpc->aer_fifo, e_src)) in aer_irq() 1398 static void aer_enable_rootport(struct aer_rpc *rpc) in aer_enable_rootport() argument [all …]
|
/linux-6.12.1/drivers/media/platform/amphion/ |
D | vpu_core.c | 578 core->rpc.phys = res.start; in vpu_core_parse_dt() 579 core->rpc.length = resource_size(&res); in vpu_core_parse_dt() 581 if (core->rpc.length < core->res->rpc_size + core->res->fwlog_size) { 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() [all …]
|
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 …]
|
D | vpu_malone.c | 341 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_malone_init_rpc() argument 350 if (rpc->phys < boot_addr) in vpu_malone_init_rpc() 353 iface = rpc->virt; in vpu_malone_init_rpc() 354 base_phy_addr = rpc->phys - boot_addr; in vpu_malone_init_rpc() 361 iface->exec_area_size = rpc->length; in vpu_malone_init_rpc() 367 shared->cmd_mem_vir = rpc->virt + offset; in vpu_malone_init_rpc() 376 shared->msg_mem_vir = rpc->virt + offset; 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() [all …]
|
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-6.12.1/Documentation/filesystems/nfs/ |
D | index.rst | 13 rpc-cache 14 rpc-server-gss
|
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
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
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()
|
D | hw_atl_utils_fw2x.c | 360 struct hw_atl_utils_fw_rpc *rpc = NULL; in aq_fw2x_set_wol() local 381 err = hw_atl_utils_fw_rpc_wait(self, &rpc); in aq_fw2x_set_wol() 387 memset(rpc, 0, rpc_size); in aq_fw2x_set_wol() 388 info = &rpc->fw2x_offloads; in aq_fw2x_set_wol()
|
/linux-6.12.1/drivers/staging/most/dim2/ |
D | hal.c | 69 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-6.12.1/drivers/tee/optee/ |
D | Makefile | 6 optee-objs += rpc.o
|
/linux-6.12.1/arch/sparc/kernel/ |
D | process_64.c | 215 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-6.12.1/arch/arm64/boot/dts/realtek/ |
D | rtd139x.dtsi | 24 rpc_comm: rpc@2f000 { 28 rpc_ringbuf: rpc@1ffe000 {
|
/linux-6.12.1/include/memory/ |
D | renesas-rpc-if.h | 72 int rpcif_sw_init(struct rpcif *rpc, struct device *dev);
|