Home
last modified time | relevance | path

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

1234

/Linux-v6.1/drivers/memory/
Drenesas-rpc-if.c172 struct rpcif *rpc = context; in rpcif_reg_read() local
177 switch (rpc->xfer_size) { in rpcif_reg_read()
179 *val = readb(rpc->base + reg); in rpcif_reg_read()
183 *val = readw(rpc->base + reg); in rpcif_reg_read()
188 *val = readl(rpc->base + reg); in rpcif_reg_read()
197 if (rpc->xfer_size != 8) in rpcif_reg_read()
202 *val = readl(rpc->base + reg); in rpcif_reg_read()
208 struct rpcif *rpc = context; in rpcif_reg_write() local
212 switch (rpc->xfer_size) { in rpcif_reg_write()
214 writeb(val, rpc->base + reg); in rpcif_reg_write()
[all …]
/Linux-v6.1/arch/mips/pci/
Dpci-rt3883.c81 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-v6.1/drivers/mtd/hyperbus/
Drpc-if.c21 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()
84 rpcif_manual_xfer(&hyperbus->rpc); in rpcif_hb_read16()
95 rpcif_hb_prepare_write(&hyperbus->rpc, addr, &data, 2); in rpcif_hb_write16()
97 rpcif_manual_xfer(&hyperbus->rpc); in rpcif_hb_write16()
106 rpcif_hb_prepare_read(&hyperbus->rpc, to, from, len); in rpcif_hb_copy_from()
[all …]
DMakefile5 obj-$(CONFIG_RPCIF_HYPERBUS) += rpc-if.o
/Linux-v6.1/drivers/clk/renesas/
Drcar-cpg-lib.c131 struct rpc_clock *rpc; in cpg_rpc_clk_register() local
134 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in cpg_rpc_clk_register()
135 if (!rpc) in cpg_rpc_clk_register()
138 rpc->div.reg = rpcckcr; in cpg_rpc_clk_register()
139 rpc->div.width = 3; in cpg_rpc_clk_register()
140 rpc->div.table = cpg_rpc_div_table; in cpg_rpc_clk_register()
141 rpc->div.lock = &cpg_lock; in cpg_rpc_clk_register()
143 rpc->gate.reg = rpcckcr; in cpg_rpc_clk_register()
144 rpc->gate.bit_idx = 8; in cpg_rpc_clk_register()
145 rpc->gate.flags = CLK_GATE_SET_TO_DISABLE; in cpg_rpc_clk_register()
[all …]
/Linux-v6.1/drivers/spi/
Dspi-rpc-if.c23 struct rpcif *rpc = spi_controller_get_devdata(spi_dev->controller); in rpcif_spi_mem_prepare() local
61 rpcif_prepare(rpc, &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, offs, len, buf); in rpcif_spi_mem_dirmap_read()
94 struct rpcif *rpc = in rpcif_spi_mem_dirmap_create() local
103 if (!rpc->dirmap && desc->info.op_tmpl.data.dir == SPI_MEM_DATA_IN) in rpcif_spi_mem_dirmap_create()
115 struct rpcif *rpc = in rpcif_spi_mem_exec_op() local
120 return rpcif_manual_xfer(rpc); in rpcif_spi_mem_exec_op()
134 struct rpcif *rpc; in rpcif_spi_probe() local
137 ctlr = devm_spi_alloc_master(&pdev->dev, sizeof(*rpc)); in rpcif_spi_probe()
[all …]
/Linux-v6.1/include/memory/
Drenesas-rpc-if.h87 int rpcif_sw_init(struct rpcif *rpc, struct device *dev);
88 int rpcif_hw_init(struct rpcif *rpc, bool hyperflash);
89 void rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs,
91 int rpcif_manual_xfer(struct rpcif *rpc);
92 ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf);
94 static inline void rpcif_enable_rpm(struct rpcif *rpc) in rpcif_enable_rpm() argument
96 pm_runtime_enable(rpc->dev); in rpcif_enable_rpm()
99 static inline void rpcif_disable_rpm(struct rpcif *rpc) in rpcif_disable_rpm() argument
101 pm_runtime_disable(rpc->dev); in rpcif_disable_rpm()
/Linux-v6.1/drivers/greybus/
Des2.c881 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-v6.1/drivers/md/
Ddm-era-target.c1181 struct rpc { struct
1307 struct rpc *rpc, *tmp; in process_rpc_calls() local
1314 list_for_each_entry_safe(rpc, tmp, &calls, list) { in process_rpc_calls()
1315 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls()
1322 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls()
1323 rpc->result = r; in process_rpc_calls()
1326 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls()
1327 complete(&rpc->complete); in process_rpc_calls()
1360 static int perform_rpc(struct era *era, struct rpc *rpc) in perform_rpc() argument
1362 rpc->result = 0; in perform_rpc()
[all …]
/Linux-v6.1/drivers/media/platform/amphion/
Dvpu_core.c576 core->rpc.phys = res.start; in vpu_core_parse_dt()
577 core->rpc.length = resource_size(&res); in vpu_core_parse_dt()
579 if (core->rpc.length < core->res->rpc_size + core->res->fwlog_size) { in vpu_core_parse_dt()
581 &core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
587 core->rpc.virt = memremap(core->rpc.phys, core->rpc.length, MEMREMAP_WC); in vpu_core_parse_dt()
588 memset(core->rpc.virt, 0, core->rpc.length); in vpu_core_parse_dt()
590 ret = vpu_iface_check_memory_region(core, core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
593 &core->rpc.phys, core->rpc.length); in vpu_core_parse_dt()
598 core->log.phys = core->rpc.phys + core->res->rpc_size; in vpu_core_parse_dt()
599 core->log.virt = core->rpc.virt + core->res->rpc_size; in vpu_core_parse_dt()
[all …]
Dvpu_windsor.c556 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_windsor_init_rpc() argument
566 if (rpc->phys < boot_addr) in vpu_windsor_init_rpc()
569 base_phy_addr = rpc->phys - boot_addr; in vpu_windsor_init_rpc()
570 iface = rpc->virt; in vpu_windsor_init_rpc()
576 iface->exec_area_size = rpc->length; in vpu_windsor_init_rpc()
581 shared->cmd_mem_vir = rpc->virt + offset; in vpu_windsor_init_rpc()
590 shared->msg_mem_vir = rpc->virt + offset; in vpu_windsor_init_rpc()
602 ctrl = rpc->virt + (iface->ctrl_iface[i] - base_phy_addr); in vpu_windsor_init_rpc()
605 hcs->ctrls[i].yuv_desc = rpc->virt + offset; in vpu_windsor_init_rpc()
609 hcs->ctrls[i].stream_desc = rpc->virt + offset; in vpu_windsor_init_rpc()
[all …]
Dvpu_malone.c346 struct vpu_buffer *rpc, dma_addr_t boot_addr) in vpu_malone_init_rpc() argument
355 if (rpc->phys < boot_addr) in vpu_malone_init_rpc()
358 iface = rpc->virt; in vpu_malone_init_rpc()
359 base_phy_addr = rpc->phys - boot_addr; in vpu_malone_init_rpc()
366 iface->exec_area_size = rpc->length; in vpu_malone_init_rpc()
372 shared->cmd_mem_vir = rpc->virt + offset; in vpu_malone_init_rpc()
381 shared->msg_mem_vir = rpc->virt + offset; in vpu_malone_init_rpc()
390 hc->codec_param = rpc->virt + offset; in vpu_malone_init_rpc()
395 hc->jpg = rpc->virt + offset; in vpu_malone_init_rpc()
400 hc->seq_mem = rpc->virt + offset; in vpu_malone_init_rpc()
[all …]
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-v6.1/drivers/pci/pcie/
Daer.c1126 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument
1129 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1182 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1185 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1188 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1189 aer_isr_one_error(rpc, &e_src); in aer_isr()
1203 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1204 struct pci_dev *rp = rpc->rpd; in aer_irq()
1215 if (!kfifo_put(&rpc->aer_fifo, e_src)) in aer_irq()
1263 static void aer_enable_rootport(struct aer_rpc *rpc) in aer_enable_rootport() argument
[all …]
/Linux-v6.1/Documentation/filesystems/nfs/
Dindex.rst12 rpc-cache
13 rpc-server-gss
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-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/
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-v6.1/drivers/staging/most/dim2/
Dhal.c69 u16 rpc; member
389 g.atx_dbr.rpc = dim2_rpc(ch_addr); in dbrcnt_init()
390 g.atx_dbr.wpc = g.atx_dbr.rpc; in dbrcnt_init()
410 while (norm_pc(dbr->rpc) != cur_rpc) { in dim_dbr_space()
411 dbr->rest_size += dbr->sz_queue[norm_pc(dbr->rpc)]; in dim_dbr_space()
412 dbr->rpc++; in dim_dbr_space()
415 if ((u16)(dbr->wpc - dbr->rpc) >= CDT0_RPC_MASK) in dim_dbr_space()
/Linux-v6.1/drivers/tee/optee/
DMakefile6 optee-objs += rpc.o
/Linux-v6.1/tools/io_uring/
Dio_uring-bench.c568 unsigned long rpc = 0, ipc = 0; in main() local
575 rpc = (this_done - done) / (this_call - calls); in main()
578 rpc = ipc = -1; in main()
581 this_done - done, rpc, ipc, s->inflight, in main()
/Linux-v6.1/arch/sparc/kernel/
Dprocess_64.c214 rp->rpc = rw->ins[7]; in __global_reg_self()
218 rp->rpc = 0; in __global_reg_self()
281 (void *) gp->rpc); in arch_trigger_cpumask_backtrace()
284 gp->tpc, gp->o7, gp->i7, gp->rpc); in arch_trigger_cpumask_backtrace()
/Linux-v6.1/arch/arm64/boot/dts/realtek/
Drtd139x.dtsi24 rpc_comm: rpc@2f000 {
28 rpc_ringbuf: rpc@1ffe000 {
Drtd129x.dtsi25 rpc_comm: rpc@1f000 {
29 rpc_ringbuf: rpc@1ffe000 {
/Linux-v6.1/arch/arm/boot/dts/
Drtd1195.dtsi43 rpc_comm: rpc@b000 {
51 rpc_ringbuf: rpc@1ffe000 {
/Linux-v6.1/arch/mips/include/asm/
Dasm.h56 #define NESTED(symbol, framesize, rpc) \ argument
62 symbol: .frame sp, framesize, rpc; \

1234