Home
last modified time | relevance | path

Searched refs:mhu (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/mailbox/
H A Darm_mhuv2.c207 int (*rx_startup)(struct mhuv2 *mhu, struct mbox_chan *chan);
208 void (*rx_shutdown)(struct mhuv2 *mhu, struct mbox_chan *chan);
209 void *(*read_data)(struct mhuv2 *mhu, struct mbox_chan *chan);
211 void (*tx_startup)(struct mhuv2 *mhu, struct mbox_chan *chan);
212 void (*tx_shutdown)(struct mhuv2 *mhu, struct mbox_chan *chan);
213 int (*last_tx_done)(struct mhuv2 *mhu, struct mbox_chan *chan);
214 int (*send_data)(struct mhuv2 *mhu, struct mbox_chan *chan, void *arg);
261 static int mhuv2_doorbell_rx_startup(struct mhuv2 *mhu, struct mbox_chan *chan) in mhuv2_doorbell_rx_startup() argument
266 &mhu->recv->ch_wn[priv->ch_wn_idx].mask_clear); in mhuv2_doorbell_rx_startup()
270 static void mhuv2_doorbell_rx_shutdown(struct mhuv2 *mhu, in mhuv2_doorbell_rx_shutdown() argument
[all …]
H A Darm_mhu_db.c53 struct arm_mhu *mhu; member
78 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq()
83 static unsigned int mhu_db_mbox_irq_to_pchan_num(struct arm_mhu *mhu, int irq) in mhu_db_mbox_irq_to_pchan_num() argument
88 if (mhu->mlink[pchan].irq == irq) in mhu_db_mbox_irq_to_pchan_num()
94 mhu_db_mbox_irq_to_channel(struct arm_mhu *mhu, unsigned int pchan) in mhu_db_mbox_irq_to_channel() argument
99 struct mbox_controller *mbox = &mhu->mbox; in mhu_db_mbox_irq_to_channel()
100 void __iomem *base = mhu->mlink[pchan].rx_reg; in mhu_db_mbox_irq_to_channel()
126 struct arm_mhu *mhu = data; in mhu_db_mbox_rx_handler() local
127 unsigned int pchan = mhu_db_mbox_irq_to_pchan_num(mhu, irq); in mhu_db_mbox_rx_handler()
129 while (NULL != (chan = mhu_db_mbox_irq_to_channel(mhu, pchan))) { in mhu_db_mbox_rx_handler()
[all …]
H A Dplatform_mhu.c119 struct platform_mhu *mhu; in platform_mhu_probe() local
126 mhu = devm_kzalloc(dev, sizeof(*mhu), GFP_KERNEL); in platform_mhu_probe()
127 if (!mhu) in platform_mhu_probe()
130 mhu->base = devm_platform_ioremap_resource(pdev, 0); in platform_mhu_probe()
131 if (IS_ERR(mhu->base)) { in platform_mhu_probe()
133 return PTR_ERR(mhu->base); in platform_mhu_probe()
137 mhu->chan[i].con_priv = &mhu->mlink[i]; in platform_mhu_probe()
138 mhu->mlink[i].irq = platform_get_irq(pdev, i); in platform_mhu_probe()
139 if (mhu->mlink[i].irq < 0) in platform_mhu_probe()
140 return mhu->mlink[i].irq; in platform_mhu_probe()
[all …]
H A Darm_mhu.c113 struct arm_mhu *mhu; in mhu_probe() local
121 mhu = devm_kzalloc(dev, sizeof(*mhu), GFP_KERNEL); in mhu_probe()
122 if (!mhu) in mhu_probe()
125 mhu->base = devm_ioremap_resource(dev, &adev->res); in mhu_probe()
126 if (IS_ERR(mhu->base)) in mhu_probe()
127 return PTR_ERR(mhu->base); in mhu_probe()
130 mhu->chan[i].con_priv = &mhu->mlink[i]; in mhu_probe()
131 mhu->mlink[i].irq = adev->irq[i]; in mhu_probe()
132 mhu->mlink[i].rx_reg = mhu->base + mhu_reg[i]; in mhu_probe()
133 mhu->mlink[i].tx_reg = mhu->mlink[i].rx_reg + TX_REG_OFFSET; in mhu_probe()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0035-corstone1000-purge-U-Boot-specific-DT-nodes.patch38 + { .node_path = "/soc/mhu@1b000000" },
39 + { .node_path = "/soc/mhu@1b010000" },
40 + { .node_path = "/soc/mhu@1b020000" },
41 + { .node_path = "/soc/mhu@1b030000" },
H A D0051-corstone1000-purge-remoteproc-dts-node.patch23 { .node_path = "/soc/mhu@1b010000" },
24 { .node_path = "/soc/mhu@1b020000" },
25 { .node_path = "/soc/mhu@1b030000" },
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dfujitsu,mb86s70-crg11.txt17 mhu: mhu0@2b1f0000 {
19 compatible = "arm,mhu";
/openbmc/qemu/include/hw/arm/
H A Darmsse.h180 ARMSSEMHU mhu[2]; member
/openbmc/qemu/hw/arm/
H A Dmusca.c73 UnimplementedDeviceState mhu[2]; member
472 { "mhu0", make_unimp_dev, &mms->mhu[0], 0x42600000, 0x100000 }, in musca_init()
473 { "mhu1", make_unimp_dev, &mms->mhu[1], 0x42700000, 0x100000 }, in musca_init()
H A Darmsse.c807 object_initialize_child(obj, "mhu0", &s->mhu[0], TYPE_ARMSSE_MHU); in armsse_init()
808 object_initialize_child(obj, "mhu1", &s->mhu[1], TYPE_ARMSSE_MHU); in armsse_init()
1380 assert(info->num_cpus == ARRAY_SIZE(s->mhu)); in armsse_realize()
1382 for (i = 0; i < ARRAY_SIZE(s->mhu); i++) { in armsse_realize()
1385 SysBusDevice *mhu_sbd = SYS_BUS_DEVICE(&s->mhu[i]); in armsse_realize()
1387 if (!sysbus_realize(SYS_BUS_DEVICE(&s->mhu[i]), errp)) { in armsse_realize()
/openbmc/linux/arch/arm64/boot/dts/arm/
H A Djuno-scmi.dtsi188 compatible = "arm,mhu-doorbell", "arm,primecell";
H A Djuno-base.dtsi25 mailbox: mhu@2b1f0000 {
26 compatible = "arm,mhu", "arm,primecell";
/openbmc/u-boot/arch/arm/dts/
H A Dmeson-gx.dtsi452 compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
H A Dmeson-axg.dtsi979 compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
/openbmc/qemu/hw/misc/
H A Dmeson.build121 system_ss.add(when: 'CONFIG_ARMSSE_MHU', if_true: files('armsse-mhu.c'))
H A Dtrace-events284 # armsse-mhu.c
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gx.dtsi574 compatible = "amlogic,meson-gxbb-mhu";
H A Dmeson-axg.dtsi1275 compatible = "amlogic,meson-gxbb-mhu";
/openbmc/qemu/
H A DMAINTAINERS834 F: hw/misc/armsse-mhu.c
835 F: include/hw/misc/armsse-mhu.h
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]