Lines Matching refs:altera_mbox

50 struct altera_mbox {  struct
62 static struct altera_mbox *mbox_chan_to_altera_mbox(struct mbox_chan *chan) in mbox_chan_to_altera_mbox() argument
67 return (struct altera_mbox *)chan->con_priv; in mbox_chan_to_altera_mbox()
70 static inline int altera_mbox_full(struct altera_mbox *mbox) in altera_mbox_full()
78 static inline int altera_mbox_pending(struct altera_mbox *mbox) in altera_mbox_pending()
86 static void altera_mbox_rx_intmask(struct altera_mbox *mbox, bool enable) in altera_mbox_rx_intmask()
98 static void altera_mbox_tx_intmask(struct altera_mbox *mbox, bool enable) in altera_mbox_tx_intmask()
110 static bool altera_mbox_is_sender(struct altera_mbox *mbox) in altera_mbox_is_sender()
129 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_rx_data()
144 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_poll_rx()
155 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_tx_interrupt()
174 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup_sender()
193 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup_receiver()
219 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_send_data()
246 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_last_tx_done()
254 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_peek_data()
261 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_startup()
277 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan); in altera_mbox_shutdown()
298 struct altera_mbox *mbox; in altera_mbox_probe()
357 struct altera_mbox *mbox = platform_get_drvdata(pdev); in altera_mbox_remove()