Home
last modified time | relevance | path

Searched full:mhu (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/mailbox/
H A Darm_mhuv3.c268 int (*rx_startup)(struct mhuv3 *mhu, struct mbox_chan *chan);
269 void (*rx_shutdown)(struct mhuv3 *mhu, struct mbox_chan *chan);
270 void *(*read_data)(struct mhuv3 *mhu, struct mbox_chan *chan);
271 void (*rx_complete)(struct mhuv3 *mhu, struct mbox_chan *chan);
272 void (*tx_startup)(struct mhuv3 *mhu, struct mbox_chan *chan);
273 void (*tx_shutdown)(struct mhuv3 *mhu, struct mbox_chan *chan);
274 int (*last_tx_done)(struct mhuv3 *mhu, struct mbox_chan *chan);
275 int (*send_data)(struct mhuv3 *mhu, struct mbox_chan *chan, void *arg);
314 struct mbox_chan *(*mbox_of_xlate)(struct mhuv3 *mhu,
317 void (*combined_irq_setup)(struct mhuv3 *mhu);
[all …]
H A Darm_mhuv2.c162 * @mbox: Mailbox controller belonging to the MHU frame.
207 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()
[all …]
H A Darm_mhu_db.c5 * Based on ARM MHU driver by Jassi Brar <jaswinder.singh@linaro.org>
46 * struct mhu_db_channel - ARM MHU Mailbox allocated channel information
48 * @mhu: Pointer to parent mailbox device
53 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()
[all …]
H A Dplatform_mhu.c118 struct platform_mhu *mhu; in platform_mhu_probe() local
125 mhu = devm_kzalloc(dev, sizeof(*mhu), GFP_KERNEL); in platform_mhu_probe()
126 if (!mhu) in platform_mhu_probe()
129 mhu->base = devm_platform_ioremap_resource(pdev, 0); in platform_mhu_probe()
130 if (IS_ERR(mhu->base)) { in platform_mhu_probe()
132 return PTR_ERR(mhu->base); in platform_mhu_probe()
136 mhu->chan[i].con_priv = &mhu->mlink[i]; in platform_mhu_probe()
137 mhu->mlink[i].irq = platform_get_irq(pdev, i); in platform_mhu_probe()
138 if (mhu->mlink[i].irq < 0) in platform_mhu_probe()
139 return mhu->mlink[i].irq; in platform_mhu_probe()
[all …]
H A DKconfig12 tristate "ARM MHU Mailbox"
15 Say Y here if you want to build the ARM MHU controller driver.
76 tristate "Platform MHU Mailbox"
80 Say Y here if you want to build a platform specific variant MHU
/linux/Documentation/devicetree/bindings/mailbox/
H A Damlogic,meson-gxbb-mhu.yaml5 $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/arch/arm64/boot/dts/arm/
H A Dmorello.dtsi285 mailbox: mhu@45000000 {
286 compatible = "arm,mhu-doorbell", "arm,primecell";
H A Djuno-scmi.dtsi188 compatible = "arm,mhu-doorbell", "arm,primecell";
H A Djuno-base.dtsi24 mailbox: mhu@2b1f0000 {
25 compatible = "arm,mhu", "arm,primecell";
/linux/drivers/firmware/
H A Darm_scpi.c6 * and the Application Processors(AP). The Message Handling Unit(MHU)
/linux/drivers/firmware/arm_scmi/
H A Ddriver.c6 * and the Application Processors(AP). The Message Handling Unit(MHU)