Lines Matching refs:chan
26 * @startup: Called when a client requests the chan. The controller
30 * data received on the chan by calling mbox_chan_received_data.
32 * @shutdown: Called when a client relinquishes control of a chan.
47 int (*send_data)(struct mbox_chan *chan, void *data);
48 int (*flush)(struct mbox_chan *chan, unsigned long timeout);
49 int (*startup)(struct mbox_chan *chan);
50 void (*shutdown)(struct mbox_chan *chan);
51 bool (*last_tx_done)(struct mbox_chan *chan);
52 bool (*peek_data)(struct mbox_chan *chan);
58 * @ops: Operators that work on each communication chan
106 * struct mbox_chan - s/w representation of a communication chan
132 void mbox_chan_received_data(struct mbox_chan *chan, void *data); /* atomic */
133 void mbox_chan_txdone(struct mbox_chan *chan, int r); /* atomic */