Home
last modified time | relevance | path

Searched refs:mhu (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/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
279 mhuv2_doorbell_read_data(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_doorbell_read_data() argument
288 mhuv2_doorbell_last_tx_done(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_doorbell_last_tx_done() argument
297 mhuv2_doorbell_send_data(struct mhuv2 *mhu, struct mbox_chan *chan, void *arg) mhuv2_doorbell_send_data() argument
325 mhuv2_data_transfer_rx_startup(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_data_transfer_rx_startup() argument
339 mhuv2_data_transfer_rx_shutdown(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_data_transfer_rx_shutdown() argument
348 mhuv2_data_transfer_read_data(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_data_transfer_read_data() argument
385 mhuv2_data_transfer_tx_startup(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_data_transfer_tx_startup() argument
398 mhuv2_data_transfer_tx_shutdown(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_data_transfer_tx_shutdown() argument
408 mhuv2_data_transfer_last_tx_done(struct mhuv2 *mhu, struct mbox_chan *chan) mhuv2_data_transfer_last_tx_done() argument
445 mhuv2_data_transfer_send_data(struct mhuv2 *mhu, struct mbox_chan *chan, void *arg) mhuv2_data_transfer_send_data() argument
500 get_irq_chan_comb(struct mhuv2 *mhu, u32 __iomem *reg) get_irq_chan_comb() argument
540 struct mhuv2 *mhu = data; mhuv2_sender_interrupt() local
621 get_irq_chan_comb_rx(struct mhuv2 *mhu) get_irq_chan_comb_rx() argument
645 get_irq_chan_stat_rx(struct mhuv2 *mhu) get_irq_chan_stat_rx() argument
668 get_irq_chan_rx(struct mhuv2 *mhu) get_irq_chan_rx() argument
678 struct mhuv2 *mhu = arg; mhuv2_receiver_interrupt() local
713 struct mhuv2 *mhu = mhu_from_mbox(chan->mbox); mhuv2_sender_last_tx_done() local
721 struct mhuv2 *mhu = mhu_from_mbox(chan->mbox); mhuv2_sender_send_data() local
732 struct mhuv2 *mhu = mhu_from_mbox(chan->mbox); mhuv2_sender_startup() local
742 struct mhuv2 *mhu = mhu_from_mbox(chan->mbox); mhuv2_sender_shutdown() local
758 struct mhuv2 *mhu = mhu_from_mbox(chan->mbox); mhuv2_receiver_startup() local
766 struct mhuv2 *mhu = mhu_from_mbox(chan->mbox); mhuv2_receiver_shutdown() local
795 struct mhuv2 *mhu = mhu_from_mbox(mbox); mhuv2_mbox_of_xlate() local
836 mhuv2_verify_protocol(struct mhuv2 *mhu) mhuv2_verify_protocol() argument
872 mhuv2_allocate_channels(struct mhuv2 *mhu) mhuv2_allocate_channels() argument
931 mhuv2_parse_channels(struct mhuv2 *mhu) mhuv2_parse_channels() argument
966 mhuv2_tx_init(struct amba_device *adev, struct mhuv2 *mhu, void __iomem *reg) mhuv2_tx_init() argument
1020 mhuv2_rx_init(struct amba_device *adev, struct mhuv2 *mhu, void __iomem *reg) mhuv2_rx_init() argument
1061 struct mhuv2 *mhu; mhuv2_probe() local
1104 struct mhuv2 *mhu = amba_get_drvdata(adev); mhuv2_remove() local
[all...]
H A Darm_mhu_db.c48 * @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()
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, ir in mhu_db_mbox_rx_handler()
189 struct arm_mhu *mhu = dev_get_drvdata(mbox->dev); mhu_db_mbox_xlate() local
251 struct arm_mhu *mhu; mhu_db_probe() local
[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 in platform_mhu_probe()
[all...]
H A Darm_mhu.c113 struct arm_mhu *mhu; in mhu_probe() local
117 if (!of_device_is_compatible(dev->of_node, "arm,mhu")) in mhu_probe()
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 in mhu_probe()
[all...]
/kernel/linux/linux-5.10/drivers/mailbox/
H A Darm_mhu_db.c49 * @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()
127 struct arm_mhu *mhu = data; in mhu_db_mbox_rx_handler() local
128 unsigned int pchan = mhu_db_mbox_irq_to_pchan_num(mhu, ir in mhu_db_mbox_rx_handler()
190 struct arm_mhu *mhu = dev_get_drvdata(mbox->dev); mhu_db_mbox_xlate() local
252 struct arm_mhu *mhu; mhu_db_probe() local
[all...]
H A Dplatform_mhu.c118 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 in platform_mhu_probe()
[all...]
H A Darm_mhu.c112 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()
127 return PTR_ERR(mhu->base); in mhu_probe()
131 mhu->chan[i].con_priv = &mhu in mhu_probe()
[all...]

Completed in 5 milliseconds