Lines Matching refs:mbox_chan

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()
270 struct mbox_chan *chan) in mhuv2_doorbell_rx_shutdown()
278 static void *mhuv2_doorbell_read_data(struct mhuv2 *mhu, struct mbox_chan *chan) in mhuv2_doorbell_read_data()
288 struct mbox_chan *chan) in mhuv2_doorbell_last_tx_done()
296 static int mhuv2_doorbell_send_data(struct mhuv2 *mhu, struct mbox_chan *chan, in mhuv2_doorbell_send_data()
325 struct mbox_chan *chan) in mhuv2_data_transfer_rx_startup()
339 struct mbox_chan *chan) in mhuv2_data_transfer_rx_shutdown()
348 struct mbox_chan *chan) in mhuv2_data_transfer_read_data()
385 struct mbox_chan *chan) in mhuv2_data_transfer_tx_startup()
398 struct mbox_chan *chan) in mhuv2_data_transfer_tx_shutdown()
408 struct mbox_chan *chan) in mhuv2_data_transfer_last_tx_done()
445 struct mbox_chan *chan, void *arg) in mhuv2_data_transfer_send_data()
499 static struct mbox_chan *get_irq_chan_comb(struct mhuv2 *mhu, u32 __iomem *reg) in get_irq_chan_comb()
501 struct mbox_chan *chans = mhu->mbox.chans; in get_irq_chan_comb()
542 struct mbox_chan *chan; in mhuv2_sender_interrupt()
619 static struct mbox_chan *get_irq_chan_comb_rx(struct mhuv2 *mhu) in get_irq_chan_comb_rx()
622 struct mbox_chan *chan; in get_irq_chan_comb_rx()
643 static struct mbox_chan *get_irq_chan_stat_rx(struct mhuv2 *mhu) in get_irq_chan_stat_rx()
645 struct mbox_chan *chans = mhu->mbox.chans; in get_irq_chan_stat_rx()
666 static struct mbox_chan *get_irq_chan_rx(struct mhuv2 *mhu) in get_irq_chan_rx()
677 struct mbox_chan *chan = get_irq_chan_rx(mhu); in mhuv2_receiver_interrupt()
709 static bool mhuv2_sender_last_tx_done(struct mbox_chan *chan) in mhuv2_sender_last_tx_done()
717 static int mhuv2_sender_send_data(struct mbox_chan *chan, void *data) in mhuv2_sender_send_data()
728 static int mhuv2_sender_startup(struct mbox_chan *chan) in mhuv2_sender_startup()
738 static void mhuv2_sender_shutdown(struct mbox_chan *chan) in mhuv2_sender_shutdown()
754 static int mhuv2_receiver_startup(struct mbox_chan *chan) in mhuv2_receiver_startup()
762 static void mhuv2_receiver_shutdown(struct mbox_chan *chan) in mhuv2_receiver_shutdown()
770 static int mhuv2_receiver_send_data(struct mbox_chan *chan, void *data) in mhuv2_receiver_send_data()
777 static bool mhuv2_receiver_last_tx_done(struct mbox_chan *chan) in mhuv2_receiver_last_tx_done()
790 static struct mbox_chan *mhuv2_mbox_of_xlate(struct mbox_controller *mbox, in mhuv2_mbox_of_xlate()
794 struct mbox_chan *chans = mbox->chans; in mhuv2_mbox_of_xlate()
875 struct mbox_chan *chans; in mhuv2_allocate_channels()