Lines Matching refs:mbox_chan
90 static inline bool sti_mbox_channel_is_enabled(struct mbox_chan *chan) in sti_mbox_channel_is_enabled()
101 struct mbox_chan *sti_mbox_to_channel(struct mbox_controller *mbox, in sti_mbox_to_channel()
123 static void sti_mbox_enable_channel(struct mbox_chan *chan) in sti_mbox_enable_channel()
138 static void sti_mbox_disable_channel(struct mbox_chan *chan) in sti_mbox_disable_channel()
153 static void sti_mbox_clear_irq(struct mbox_chan *chan) in sti_mbox_clear_irq()
164 static struct mbox_chan *sti_mbox_irq_to_channel(struct sti_mbox_device *mdev, in sti_mbox_irq_to_channel()
168 struct mbox_chan *chan = NULL; in sti_mbox_irq_to_channel()
199 struct mbox_chan *chan; in sti_mbox_thread_handler()
222 struct mbox_chan *chan; in sti_mbox_irq_handler()
255 static bool sti_mbox_tx_is_ready(struct mbox_chan *chan) in sti_mbox_tx_is_ready()
278 static int sti_mbox_send_data(struct mbox_chan *chan, void *data) in sti_mbox_send_data()
296 static int sti_mbox_startup_chan(struct mbox_chan *chan) in sti_mbox_startup_chan()
304 static void sti_mbox_shutdown_chan(struct mbox_chan *chan) in sti_mbox_shutdown_chan()
325 static struct mbox_chan *sti_mbox_xlate(struct mbox_controller *mbox, in sti_mbox_xlate()
331 struct mbox_chan *chan = NULL; in sti_mbox_xlate()
414 struct mbox_chan *chans; in sti_mbox_probe()