Lines Matching defs:altera_mbox
39 struct altera_mbox {
52 static struct altera_mbox *mbox_chan_to_altera_mbox(struct mbox_chan *chan)
57 return (struct altera_mbox *)chan->con_priv;
60 static inline int altera_mbox_full(struct altera_mbox *mbox)
68 static inline int altera_mbox_pending(struct altera_mbox *mbox)
76 static void altera_mbox_rx_intmask(struct altera_mbox *mbox, bool enable)
88 static void altera_mbox_tx_intmask(struct altera_mbox *mbox, bool enable)
100 static bool altera_mbox_is_sender(struct altera_mbox *mbox)
119 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
133 struct altera_mbox *mbox = timer_container_of(mbox, t, rxpoll_timer);
144 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
163 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
182 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
208 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
235 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
243 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
250 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
266 struct altera_mbox *mbox = mbox_chan_to_altera_mbox(chan);
287 struct altera_mbox *mbox;