Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/memory/
Drenesas-rpc-if.c171 struct rpcif *rpc = context; in rpcif_reg_read() local
176 switch (rpc->xfer_size) { in rpcif_reg_read()
178 *val = readb(rpc->base + reg); in rpcif_reg_read()
182 *val = readw(rpc->base + reg); in rpcif_reg_read()
187 *val = readl(rpc->base + reg); in rpcif_reg_read()
196 if (rpc->xfer_size != 8) in rpcif_reg_read()
201 *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 …]
/kernel/linux/linux-5.10/arch/mips/pci/
Dpci-rt3883.c80 static inline u32 rt3883_pci_r32(struct rt3883_pci_controller *rpc, in rt3883_pci_r32() argument
83 return ioread32(rpc->base + reg); in rt3883_pci_r32()
86 static inline void rt3883_pci_w32(struct rt3883_pci_controller *rpc, in rt3883_pci_w32() argument
89 iowrite32(val, rpc->base + reg); in rt3883_pci_w32()
99 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
124 rt3883_pci_w32(rpc, address, RT3883_PCI_REG_CFGADDR); in rt3883_pci_write_cfg32()
125 rt3883_pci_w32(rpc, val, RT3883_PCI_REG_CFGDATA); in rt3883_pci_write_cfg32()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/greybus/
Des2.c884 struct arpc *rpc; in arpc_alloc() local
886 if (size + sizeof(*rpc->req) > ARPC_OUT_SIZE_MAX) in arpc_alloc()
889 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in arpc_alloc()
890 if (!rpc) in arpc_alloc()
893 INIT_LIST_HEAD(&rpc->list); in arpc_alloc()
894 rpc->req = kzalloc(sizeof(*rpc->req) + size, GFP_KERNEL); in arpc_alloc()
895 if (!rpc->req) in arpc_alloc()
898 rpc->resp = kzalloc(sizeof(*rpc->resp), GFP_KERNEL); in arpc_alloc()
899 if (!rpc->resp) in arpc_alloc()
902 rpc->req->type = type; in arpc_alloc()
[all …]
/kernel/linux/linux-5.10/include/memory/
Drenesas-rpc-if.h80 int rpcif_sw_init(struct rpcif *rpc, struct device *dev);
81 void rpcif_hw_init(struct rpcif *rpc, bool hyperflash);
82 void rpcif_enable_rpm(struct rpcif *rpc);
83 void rpcif_disable_rpm(struct rpcif *rpc);
84 void rpcif_prepare(struct rpcif *rpc, const struct rpcif_op *op, u64 *offs,
86 int rpcif_manual_xfer(struct rpcif *rpc);
87 ssize_t rpcif_dirmap_read(struct rpcif *rpc, u64 offs, size_t len, void *buf);
/kernel/linux/linux-5.10/drivers/clk/renesas/
Drcar-gen3-cpg.c452 struct rpc_clock *rpc; in cpg_rpc_clk_register() local
455 rpc = kzalloc(sizeof(*rpc), GFP_KERNEL); in cpg_rpc_clk_register()
456 if (!rpc) in cpg_rpc_clk_register()
459 rpc->div.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
460 rpc->div.width = 3; in cpg_rpc_clk_register()
461 rpc->div.table = cpg_rpc_div_table; in cpg_rpc_clk_register()
462 rpc->div.lock = &cpg_lock; in cpg_rpc_clk_register()
464 rpc->gate.reg = base + CPG_RPCCKCR; in cpg_rpc_clk_register()
465 rpc->gate.bit_idx = 8; in cpg_rpc_clk_register()
466 rpc->gate.flags = CLK_GATE_SET_TO_DISABLE; in cpg_rpc_clk_register()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-era-target.c1177 struct rpc { struct
1303 struct rpc *rpc, *tmp; in process_rpc_calls() local
1310 list_for_each_entry_safe(rpc, tmp, &calls, list) { in process_rpc_calls()
1311 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls()
1318 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls()
1319 rpc->result = r; in process_rpc_calls()
1322 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls()
1323 complete(&rpc->complete); in process_rpc_calls()
1356 static int perform_rpc(struct era *era, struct rpc *rpc) in perform_rpc() argument
1358 rpc->result = 0; in perform_rpc()
[all …]
/kernel/linux/linux-5.10/drivers/pci/pcie/
Daer.c1115 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument
1118 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1171 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1174 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1177 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1178 aer_isr_one_error(rpc, &e_src); in aer_isr()
1192 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1193 struct pci_dev *rp = rpc->rpd; in aer_irq()
1204 if (!kfifo_put(&rpc->aer_fifo, e_src)) in aer_irq()
1252 static void aer_enable_rootport(struct aer_rpc *rpc) in aer_enable_rootport() argument
[all …]
/kernel/linux/linux-5.10/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.)
/kernel/linux/linux-5.10/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()
Dhw_atl_utils_fw2x.c360 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/tee/optee/
DMakefile5 optee-objs += rpc.o
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dasm.h55 #define NESTED(symbol, framesize, rpc) \ argument
61 symbol: .frame sp, framesize, rpc; \
/kernel/linux/linux-5.10/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 {
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprocess_64.c227 rp->rpc = rw->ins[7]; in __global_reg_self()
231 rp->rpc = 0; in __global_reg_self()
294 (void *) gp->rpc); in arch_trigger_cpumask_backtrace()
297 gp->tpc, gp->o7, gp->i7, gp->rpc); in arch_trigger_cpumask_backtrace()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drtd1195.dtsi43 rpc_comm: rpc@b000 {
51 rpc_ringbuf: rpc@1ffe000 {
/kernel/linux/linux-5.10/fs/nfs/
Dsuper.c714 struct rpc_clnt *rpc; in nfs_umount_begin() local
718 rpc = server->client_acl; in nfs_umount_begin()
719 if (!IS_ERR(rpc)) in nfs_umount_begin()
720 rpc_killall_tasks(rpc); in nfs_umount_begin()
721 rpc = server->client; in nfs_umount_begin()
722 if (!IS_ERR(rpc)) in nfs_umount_begin()
723 rpc_killall_tasks(rpc); in nfs_umount_begin()

12