Home
last modified time | relevance | path

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

1234

/linux/drivers/memory/
H A Drenesas-rpc-if.c47 int (*hw_init)(struct rpcif_priv *rpc, bool hyperflash);
48 void (*prepare)(struct rpcif_priv *rpc, const struct rpcif_op *op,
50 int (*manual_xfer)(struct rpcif_priv *rpc);
51 size_t (*dirmap_read)(struct rpcif_priv *rpc, u64 offs, size_t len,
97 struct rpcif_priv *rpc = context; in rpcif_reg_read() local
102 switch (rpc->xfer_size) { in rpcif_reg_read()
104 *val = readb(rpc->base + reg); in rpcif_reg_read()
108 *val = readw(rpc->base + reg); in rpcif_reg_read()
113 *val = readl(rpc->base + reg); in rpcif_reg_read()
122 if (rpc->xfer_size != 8) in rpcif_reg_read()
[all …]
/linux/arch/mips/pci/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
H A Drpc.c251 struct nvfw_gsp_rpc *rpc = (struct nvfw_gsp_rpc *)mqe->data; in r535_gsp_msgq_recv_one_elem() local
253 if (rpc->function != NV_VGPU_MSG_FUNCTION_CONTINUATION_RECORD) { in r535_gsp_msgq_recv_one_elem()
256 r535_gsp_msg_dump(gsp, rpc, NV_DBG_ERROR); in r535_gsp_msgq_recv_one_elem()
291 struct nvfw_gsp_rpc *rpc; in r535_gsp_msgq_recv() local
297 rpc = (struct nvfw_gsp_rpc *)mqe->data; in r535_gsp_msgq_recv()
299 if (WARN_ON(rpc->length > max_rpc_size)) in r535_gsp_msgq_recv()
302 buf = kvmalloc(max_t(u32, rpc->length, expected), GFP_KERNEL); in r535_gsp_msgq_recv()
308 info.gsp_rpc_len = rpc->length; in r535_gsp_msgq_recv()
326 rpc = r535_gsp_msgq_peek(gsp, sizeof(*rpc), info.retries); in r535_gsp_msgq_recv()
327 if (IS_ERR_OR_NULL(rpc)) { in r535_gsp_msgq_recv()
[all …]
H A Dgsp.c215 GspStaticConfigInfo *rpc; in r535_gsp_get_static_info() local
217 rpc = nvkm_gsp_rpc_rd(gsp, NV_VGPU_MSG_FUNCTION_GET_GSP_STATIC_INFO, sizeof(*rpc)); in r535_gsp_get_static_info()
218 if (IS_ERR(rpc)) in r535_gsp_get_static_info()
219 return PTR_ERR(rpc); in r535_gsp_get_static_info()
223 gsp->internal.client.object.handle = rpc->hInternalClient; in r535_gsp_get_static_info()
228 gsp->internal.device.object.handle = rpc->hInternalDevice; in r535_gsp_get_static_info()
232 gsp->internal.device.subdevice.handle = rpc->hInternalSubdevice; in r535_gsp_get_static_info()
234 gsp->bar.rm_bar1_pdb = rpc->bar1PdeBase; in r535_gsp_get_static_info()
235 gsp->bar.rm_bar2_pdb = rpc->bar2PdeBase; in r535_gsp_get_static_info()
237 r535_gsp_get_static_info_fb(gsp, &rpc->fbRegionInfoParams); in r535_gsp_get_static_info()
[all …]
/linux/drivers/mtd/hyperbus/
H A 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->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 …]
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()
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/drivers/greybus/
H A 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/drivers/md/
H A Ddm-era-target.c1196 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/drivers/pci/pcie/
H A Daer.c1550 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1553 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1556 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1557 aer_isr_one_error(rpc->rpd, &e_src); in aer_isr()
1571 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1572 struct pci_dev *rp = rpc->rpd; in aer_irq()
1583 if (!kfifo_put(&rpc->aer_fifo, e_src)) in aer_irq()
1617 static void aer_enable_rootport(struct aer_rpc *rpc) in aer_enable_rootport() argument
1619 struct pci_dev *pdev = rpc->rpd; in aer_enable_rootport()
1649 static void aer_disable_rootport(struct aer_rpc *rpc) in aer_disable_rootport() argument
[all …]
/linux/drivers/media/platform/amphion/
H A Dvpu_windsor.c555 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 …]
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
H 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/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()
H A 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()
/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/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 {
H A Drtd129x.dtsi25 rpc_comm: rpc@1f000 {
29 rpc_ringbuf: rpc@1ffe000 {
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dgsp.h275 return gsp->rm->api->rpc->get(gsp, fn, argc); in nvkm_gsp_rpc_get()
282 return gsp->rm->api->rpc->push(gsp, argv, policy, repc); in nvkm_gsp_rpc_push()
311 gsp->rm->api->rpc->done(gsp, repv); in nvkm_gsp_rpc_done()
/linux/fs/nfs/
H A Dsuper.c757 struct rpc_clnt *rpc; in nfs_umount_begin() local
761 rpc = server->client_acl; in nfs_umount_begin()
762 if (!IS_ERR(rpc)) in nfs_umount_begin()
763 rpc_killall_tasks(rpc); in nfs_umount_begin()
764 rpc = server->client; in nfs_umount_begin()
765 if (!IS_ERR(rpc)) in nfs_umount_begin()
766 rpc_killall_tasks(rpc); in nfs_umount_begin()
/linux/arch/arm/boot/dts/realtek/
H A Drtd1195.dtsi43 rpc_comm: rpc@b000 {
51 rpc_ringbuf: rpc@1ffe000 {
/linux/arch/mips/include/asm/
H A Dasm.h57 #define NESTED(symbol, framesize, rpc) \
63 symbol: .frame sp, framesize, rpc; \

1234