Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/memory/
Drenesas-rpc-if.c172 int rpcif_sw_init(struct rpcif *rpc, struct device *dev) in rpcif_sw_init() argument
178 rpc->dev = dev; in rpcif_sw_init()
185 rpc->regmap = devm_regmap_init_mmio(&pdev->dev, base, in rpcif_sw_init()
187 if (IS_ERR(rpc->regmap)) { in rpcif_sw_init()
190 PTR_ERR(rpc->regmap)); in rpcif_sw_init()
191 return PTR_ERR(rpc->regmap); in rpcif_sw_init()
195 rpc->dirmap = devm_ioremap_resource(&pdev->dev, res); in rpcif_sw_init()
196 if (IS_ERR(rpc->dirmap)) in rpcif_sw_init()
197 rpc->dirmap = NULL; in rpcif_sw_init()
198 rpc->size = resource_size(res); in rpcif_sw_init()
[all …]
/Linux-v5.15/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
109 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_read_cfg32()
110 ret = rt3883_pci_r32(rpc, RT3883_PCI_REG_CFGDATA); in rt3883_pci_read_cfg32()
115 static void rt3883_pci_write_cfg32(struct rt3883_pci_controller *rpc, in rt3883_pci_write_cfg32() argument
123 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_write_cfg32()
124 rt3883_pci_w32(rpc, val, RT3883_PCI_REG_CFGDATA); in rt3883_pci_write_cfg32()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/include/memory/
Drenesas-rpc-if.h79 int rpcif_sw_init(struct rpcif *rpc, struct device *dev);
80 void rpcif_hw_init(struct rpcif *rpc, bool hyperflash);
81 void rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs,
83 int rpcif_manual_xfer(struct rpcif *rpc);
84 ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf);
86 static inline void rpcif_enable_rpm(struct rpcif *rpc) in rpcif_enable_rpm() argument
88 pm_runtime_enable(rpc->dev); in rpcif_enable_rpm()
91 static inline void rpcif_disable_rpm(struct rpcif *rpc) in rpcif_disable_rpm() argument
93 pm_runtime_disable(rpc->dev); in rpcif_disable_rpm()
/Linux-v5.15/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-v5.15/drivers/clk/renesas/
Drcar-gen3-cpg.c326 struct rpc_clock *rpc; in cpg_rpc_clk_register() local
329 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in cpg_rpc_clk_register()
330 if (!rpc) in cpg_rpc_clk_register()
333 rpc->div.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
334 rpc->div.width = 3; in cpg_rpc_clk_register()
335 rpc->div.table = cpg_rpc_div_table; in cpg_rpc_clk_register()
336 rpc->div.lock = &cpg_lock; in cpg_rpc_clk_register()
338 rpc->gate.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
339 rpc->gate.bit_idx = 8; in cpg_rpc_clk_register()
340 rpc->gate.flags = CLK_GATE_SET_TO_DISABLE; in cpg_rpc_clk_register()
[all …]
/Linux-v5.15/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-v5.15/drivers/pci/pcie/
Daer.c1116 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument
1119 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1172 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1175 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1178 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1179 aer_isr_one_error(rpc, &e_src); in aer_isr()
1193 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1194 struct pci_dev *rp = rpc->rpd; in aer_irq()
1205 if (!kfifo_put(&rpc->aer_fifo, e_src)) in aer_irq()
1256 static void aer_enable_rootport(struct aer_rpc *rpc) in aer_enable_rootport() argument
[all …]
/Linux-v5.15/Documentation/filesystems/nfs/
Dindex.rst10 rpc-cache
11 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
Dnfs41-server.rst13 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-v5.15/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-v5.15/drivers/tee/optee/
DMakefile5 optee-objs += rpc.o
/Linux-v5.15/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-v5.15/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
568 if (rpc) { in hw_atl_utils_fw_rpc_wait()
574 &self->rpc, in hw_atl_utils_fw_rpc_wait()
582 *rpc = &self->rpc; in hw_atl_utils_fw_rpc_wait()
Dhw_atl_utils_fw2x.c363 struct hw_atl_utils_fw_rpc *rpc = NULL; in aq_fw2x_set_wol() local
384 err = hw_atl_utils_fw_rpc_wait(self, &rpc); in aq_fw2x_set_wol()
390 memset(rpc, 0, rpc_size); in aq_fw2x_set_wol()
391 info = &rpc->fw2x_offloads; in aq_fw2x_set_wol()
/Linux-v5.15/arch/mips/include/asm/
Dasm.h55 #define NESTED(symbol, framesize, rpc) \ argument
61 symbol: .frame sp, framesize, rpc; \
/Linux-v5.15/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 {
Drtd16xx.dtsi22 rpc_comm: rpc@2f000 {
26 rpc_ringbuf: rpc@1ffe000 {
/Linux-v5.15/arch/sparc/kernel/
Dprocess_64.c224 rp->rpc = rw->ins[7]; in __global_reg_self()
228 rp->rpc = 0; in __global_reg_self()
291 (void *) gp->rpc); in arch_trigger_cpumask_backtrace()
294 gp->tpc, gp->o7, gp->i7, gp->rpc); in arch_trigger_cpumask_backtrace()
/Linux-v5.15/arch/arm/boot/dts/
Drtd1195.dtsi43 rpc_comm: rpc@b000 {
51 rpc_ringbuf: rpc@1ffe000 {
/Linux-v5.15/fs/nfs/
Dsuper.c731 struct rpc_clnt *rpc; in nfs_umount_begin() local
735 rpc = server->client_acl; in nfs_umount_begin()
736 if (!IS_ERR(rpc)) in nfs_umount_begin()
737 rpc_killall_tasks(rpc); in nfs_umount_begin()
738 rpc = server->client; in nfs_umount_begin()
739 if (!IS_ERR(rpc)) in nfs_umount_begin()
740 rpc_killall_tasks(rpc); in nfs_umount_begin()

123