Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/memory/
H A Drenesas-rpc-if.c220 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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/qemu/hw/pci-bridge/
H A Dpcie_root_port.c23 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(d); in rp_aer_vector_update() local
25 if (rpc->aer_vector) { in rp_aer_vector_update()
26 pcie_aer_root_set_vector(d, rpc->aer_vector(d)); in rp_aer_vector_update()
67 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(d); in rp_realize() local
78 rc = pci_bridge_ssvid_init(d, rpc->ssvid_offset, dc->vendor_id, in rp_realize()
79 rpc->ssid, errp); in rp_realize()
85 if (rpc->interrupts_init) { in rp_realize()
86 rc = rpc->interrupts_init(d, errp); in rp_realize()
92 rc = pcie_cap_init(d, rpc->exp_offset, PCI_EXP_TYPE_ROOT_PORT, in rp_realize()
112 rc = pcie_aer_init(d, PCI_ERR_VER, rpc->aer_offset, in rp_realize()
[all …]
H A Dcxl_root_port.c150 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(dev); in cxl_rp_realize() local
157 rpc->parent_realize(dev, &local_err); in cxl_rp_realize()
166 rpc->parent_class.exit(pci_dev); in cxl_rp_realize()
192 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(obj); in cxl_rp_reset_hold() local
195 if (rpc->parent_phases.hold) { in cxl_rp_reset_hold()
196 rpc->parent_phases.hold(obj, type); in cxl_rp_reset_hold()
241 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(d); in cxl_rp_aer_vector_update() local
243 if (rpc->aer_vector) { in cxl_rp_aer_vector_update()
244 pcie_aer_root_set_vector(d, rpc->aer_vector(d)); in cxl_rp_aer_vector_update()
271 PCIERootPortClass *rpc = PCIE_ROOT_PORT_CLASS(oc); in cxl_root_port_class_init() local
[all …]
H A Dioh3420.c103 PCIERootPortClass *rpc = PCIE_ROOT_PORT_CLASS(klass); in ioh3420_class_init() local
110 rpc->aer_vector = ioh3420_aer_vector; in ioh3420_class_init()
111 rpc->interrupts_init = ioh3420_interrupts_init; in ioh3420_class_init()
112 rpc->interrupts_uninit = ioh3420_interrupts_uninit; in ioh3420_class_init()
113 rpc->exp_offset = IOH_EP_EXP_OFFSET; in ioh3420_class_init()
114 rpc->aer_offset = IOH_EP_AER_OFFSET; in ioh3420_class_init()
115 rpc->ssvid_offset = IOH_EP_SSVID_OFFSET; in ioh3420_class_init()
116 rpc->ssid = IOH_EP_SSVID_SSID; in ioh3420_class_init()
H A Dgen_pcie_root_port.c81 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(d); in gen_rp_realize() local
84 rpc->parent_realize(dev, &local_err); in gen_rp_realize()
102 rpc->parent_class.exit(d); in gen_rp_realize()
155 PCIERootPortClass *rpc = PCIE_ROOT_PORT_CLASS(klass); in gen_rp_dev_class_init() local
163 device_class_set_parent_realize(dc, gen_rp_realize, &rpc->parent_realize); in gen_rp_dev_class_init()
165 rpc->aer_vector = gen_rp_aer_vector; in gen_rp_dev_class_init()
166 rpc->interrupts_init = gen_rp_interrupts_init; in gen_rp_dev_class_init()
167 rpc->interrupts_uninit = gen_rp_interrupts_uninit; in gen_rp_dev_class_init()
168 rpc->aer_offset = GEN_PCIE_ROOT_PORT_AER_OFFSET; in gen_rp_dev_class_init()
169 rpc->acs_offset = GEN_PCIE_ROOT_PORT_ACS_OFFSET; in gen_rp_dev_class_init()
/openbmc/linux/drivers/spi/
H A Dspi-rpc-if.c23 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 && 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->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 …]
/openbmc/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 …]
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/
H A Dmusl.patch6 Index: gnome-keyring-2.32.1/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
8 --- gnome-keyring-2.32.1.orig/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
9 +++ gnome-keyring-2.32.1/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
/openbmc/openbmc/poky/meta/recipes-extended/quota/
H A Dquota_4.09.bb24 CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}"
25 LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}"
28 PACKAGECONFIG ??= "tcp-wrappers rpc bsd"
29 PACKAGECONFIG:libc-musl = "tcp-wrappers rpc"
32 PACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/jsonrpc/
H A Djsonrpc_1.4.1.bb1 SUMMARY = "C++ framework for json-rpc 1.0 and 2.0"
5 HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp"
12 SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp;branch=master;protocol=https"
29 sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${libdir}/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets.cmake
32 FILES:${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake"
/openbmc/u-boot/arch/arm/dts/
H A Dr8a77995-u-boot.dtsi11 rpc: rpc@0xee200000 { label
12 compatible = "renesas,rpc-r8a77995", "renesas,rpc";
H A Dr8a77965-u-boot.dtsi15 rpc: rpc@0xee200000 { label
16 compatible = "renesas,rpc-r8a77965", "renesas,rpc";
H A Dr8a77970-u-boot.dtsi15 rpc: rpc@0xee200000 { label
16 compatible = "renesas,rpc-r8a77970", "renesas,rpc";
H A Dr8a7796-u-boot.dtsi15 rpc: rpc@0xee200000 { label
16 compatible = "renesas,rpc-r8a7796", "renesas,rpc";
H A Dr8a7795-u-boot.dtsi15 rpc: rpc@0xee200000 { label
16 compatible = "renesas,rpc-r8a7795", "renesas,rpc";
H A Dr8a77990-u-boot.dtsi11 rpc: rpc@0xee200000 { label
12 compatible = "renesas,rpc-r8a77990", "renesas,rpc";
/openbmc/qemu/hw/pci-host/
H A Dpnv_phb.c213 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(obj); in pnv_phb_root_port_reset_hold() local
218 if (rpc->parent_phases.hold) { in pnv_phb_root_port_reset_hold()
219 rpc->parent_phases.hold(obj, type); in pnv_phb_root_port_reset_hold()
242 PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(dev); in pnv_phb_root_port_realize() local
281 rpc->parent_realize(dev, &local_err); in pnv_phb_root_port_realize()
316 PCIERootPortClass *rpc = PCIE_ROOT_PORT_CLASS(klass); in pnv_phb_root_port_class_init() local
322 &rpc->parent_realize); in pnv_phb_root_port_class_init()
324 NULL, &rpc->parent_phases); in pnv_phb_root_port_class_init()
332 rpc->exp_offset = 0x48; in pnv_phb_root_port_class_init()
333 rpc->aer_offset = 0x100; in pnv_phb_root_port_class_init()
/openbmc/linux/drivers/md/
H A Ddm-era-target.c1196 struct rpc { struct
1326 struct rpc *rpc, *tmp; in process_rpc_calls() local
1333 list_for_each_entry_safe(rpc, tmp, &calls, list) { in process_rpc_calls()
1334 rpc->result = rpc->fn0 ? rpc->fn0(era->md) : rpc->fn1(era->md, rpc->arg); in process_rpc_calls()
1341 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls()
1342 rpc->result = r; in process_rpc_calls()
1345 list_for_each_entry_safe(rpc, tmp, &calls, list) in process_rpc_calls()
1346 complete(&rpc->complete); in process_rpc_calls()
1379 static int perform_rpc(struct era *era, struct rpc *rpc) in perform_rpc() argument
1381 rpc->result = 0; in perform_rpc()
[all …]
/openbmc/linux/drivers/pci/pcie/
H A Daer.c1137 static void aer_isr_one_error(struct aer_rpc *rpc, in aer_isr_one_error() argument
1140 struct pci_dev *pdev = rpc->rpd; in aer_isr_one_error()
1193 struct aer_rpc *rpc = get_service_data(dev); in aer_isr() local
1196 if (kfifo_is_empty(&rpc->aer_fifo)) in aer_isr()
1199 while (kfifo_get(&rpc->aer_fifo, &e_src)) in aer_isr()
1200 aer_isr_one_error(rpc, &e_src); in aer_isr()
1214 struct aer_rpc *rpc = get_service_data(pdev); in aer_irq() local
1215 struct pci_dev *rp = rpc->rpd; in aer_irq()
1226 if (!kfifo_put(&rpc->aer_fifo, e_src)) in aer_irq()
1238 static void aer_enable_rootport(struct aer_rpc *rpc) in aer_enable_rootport() argument
[all …]
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_core.c578 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 …]
/openbmc/openbmc/poky/meta/recipes-connectivity/nfs-utils/nfs-utils/
H A Dbugfix-adjust-statd-service-name.patch9 Upstream uses 'rpc-statd.service' and Yocto introduced 'nfs-statd.service'
31 - if systemctl start rpc-statd.service; then
33 # Ensure systemd knows not to stop rpc.statd or its dependencies
35 - systemctl add-wants --runtime remote-fs.target rpc-statd.service
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openl2tp/openl2tp/
H A D0001-l2tp_api-Included-needed-headers.patch26 +#include <rpc/types.h>
27 +#include <rpc/xdr.h>
28 #include <rpc/pmap_clnt.h>

123456