/Linux-v5.15/drivers/mailbox/ |
D | arm_mhuv2.c | 162 * @mbox: Mailbox controller belonging to the MHU frame. 206 int (*rx_startup)(struct mhuv2 *mhu, struct mbox_chan *chan); 207 void (*rx_shutdown)(struct mhuv2 *mhu, struct mbox_chan *chan); 208 void *(*read_data)(struct mhuv2 *mhu, struct mbox_chan *chan); 210 void (*tx_startup)(struct mhuv2 *mhu, struct mbox_chan *chan); 211 void (*tx_shutdown)(struct mhuv2 *mhu, struct mbox_chan *chan); 212 int (*last_tx_done)(struct mhuv2 *mhu, struct mbox_chan *chan); 213 int (*send_data)(struct mhuv2 *mhu, struct mbox_chan *chan, void *arg); 260 static int mhuv2_doorbell_rx_startup(struct mhuv2 *mhu, struct mbox_chan *chan) in mhuv2_doorbell_rx_startup() argument 265 &mhu->recv->ch_wn[priv->ch_wn_idx].mask_clear); in mhuv2_doorbell_rx_startup() [all …]
|
D | arm_mhu_db.c | 5 * Based on ARM MHU driver by Jassi Brar <jaswinder.singh@linaro.org> 47 * ARM MHU Mailbox allocated channel information 49 * @mhu: Pointer to parent mailbox device 54 struct arm_mhu *mhu; member 79 void __iomem *base = chan_info->mhu->mlink[chan_info->pchan].rx_reg; in mhu_db_mbox_clear_irq() 84 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 89 if (mhu->mlink[pchan].irq == irq) in mhu_db_mbox_irq_to_pchan_num() 95 mhu_db_mbox_irq_to_channel(struct arm_mhu *mhu, unsigned int pchan) in mhu_db_mbox_irq_to_channel() argument 100 struct mbox_controller *mbox = &mhu->mbox; in mhu_db_mbox_irq_to_channel() 101 void __iomem *base = mhu->mlink[pchan].rx_reg; in mhu_db_mbox_irq_to_channel() [all …]
|
D | platform_mhu.c | 118 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() 131 mhu->base = devm_ioremap_resource(dev, res); in platform_mhu_probe() 132 if (IS_ERR(mhu->base)) { in platform_mhu_probe() 134 return PTR_ERR(mhu->base); in platform_mhu_probe() 138 mhu->chan[i].con_priv = &mhu->mlink[i]; in platform_mhu_probe() 139 mhu->mlink[i].irq = platform_get_irq(pdev, i); in platform_mhu_probe() 140 if (mhu->mlink[i].irq < 0) { in platform_mhu_probe() 142 return mhu->mlink[i].irq; in platform_mhu_probe() [all …]
|
D | arm_mhu.c | 112 struct arm_mhu *mhu; in mhu_probe() local 116 if (!of_device_is_compatible(dev->of_node, "arm,mhu")) in mhu_probe() 120 mhu = devm_kzalloc(dev, sizeof(*mhu), GFP_KERNEL); in mhu_probe() 121 if (!mhu) in mhu_probe() 124 mhu->base = devm_ioremap_resource(dev, &adev->res); in mhu_probe() 125 if (IS_ERR(mhu->base)) in mhu_probe() 126 return PTR_ERR(mhu->base); in mhu_probe() 129 mhu->chan[i].con_priv = &mhu->mlink[i]; in mhu_probe() 130 mhu->mlink[i].irq = adev->irq[i]; in mhu_probe() 131 mhu->mlink[i].rx_reg = mhu->base + mhu_reg[i]; in mhu_probe() [all …]
|
D | Kconfig | 12 tristate "ARM MHU Mailbox" 15 Say Y here if you want to build the ARM MHU controller driver. 33 tristate "Platform MHU Mailbox" 37 Say Y here if you want to build a platform specific variant MHU
|
/Linux-v5.15/Documentation/devicetree/bindings/mailbox/ |
D | arm,mhu.yaml | 4 $id: http://devicetree.org/schemas/mailbox/arm,mhu.yaml# 7 title: ARM MHU Mailbox Controller 13 The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has 3 14 independent channels/links to communicate with remote processor(s). MHU links 21 The MHU hardware also allows operations in doorbell mode. The MHU drives the 37 - arm,mhu 38 - arm,mhu-doorbell 47 - const: arm,mhu 52 - const: arm,mhu-doorbell 96 compatible = "arm,mhu", "arm,primecell"; [all …]
|
D | arm,mhuv2.yaml | 14 The Arm Message Handling Unit (MHU) Version 2 is a mailbox controller that has 20 be written to or read from. If a pair of MHU controllers is implemented 27 An MHU controller must be specified along with the supported transport 39 may be transmitted through a shared memory region, wherein the MHU is used 111 mhu: mailbox@2b1f0000 { 142 mboxes = <&mhu 0 5>; // Channel Window Group 0, doorbell 5. 143 mboxes = <&mhu 1 7>; // Channel Window Group 1, doorbell 7. 144 mboxes = <&mhu 2 0>; // Channel Window Group 2, data transfer protocol with 1 window. 145 mboxes = <&mhu 3 0>; // Channel Window Group 3, data transfer protocol with 5 windows. 146 mboxes = <&mhu 4 0>; // Channel Window Group 4, data transfer protocol with 7 windows. [all …]
|
D | amlogic,meson-gxbb-mhu.yaml | 5 $id: "http://devicetree.org/schemas/mailbox/amlogic,meson-gxbb-mhu.yaml#" 14 The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller 16 MHU links are hardwired on a platform. A link raises interrupt for any 24 - amlogic,meson-gxbb-mhu 33 of MHU. 49 compatible = "amlogic,meson-gxbb-mhu";
|
/Linux-v5.15/Documentation/devicetree/bindings/clock/ |
D | fujitsu,mb86s70-crg11.txt | 17 mhu: mhu0@2b1f0000 { 19 compatible = "arm,mhu";
|
/Linux-v5.15/arch/arm64/boot/dts/arm/ |
D | juno-base.dtsi | 25 mailbox: mhu@2b1f0000 { 26 compatible = "arm,mhu", "arm,primecell";
|
/Linux-v5.15/drivers/firmware/ |
D | Kconfig | 18 Cores(AP) and the System Control Processor(SCP). The MHU peripheral
|
D | arm_scpi.c | 6 * and the Application Processors(AP). The Message Handling Unit(MHU)
|
/Linux-v5.15/arch/arm64/boot/dts/amlogic/ |
D | meson-gx.dtsi | 566 compatible = "amlogic,meson-gxbb-mhu";
|
D | meson-axg.dtsi | 1273 compatible = "amlogic,meson-gxbb-mhu";
|
/Linux-v5.15/drivers/firmware/arm_scmi/ |
D | driver.c | 6 * and the Application Processors(AP). The Message Handling Unit(MHU)
|