.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2013-2014 Linaro Ltd. |
---|
3 | 4 | * Author: Jassi Brar <jassisinghbrar@gmail.com> |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #ifndef __MAILBOX_CLIENT_H |
---|
.. | .. |
---|
44 | 41 | const char *name); |
---|
45 | 42 | struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index); |
---|
46 | 43 | int mbox_send_message(struct mbox_chan *chan, void *mssg); |
---|
| 44 | +int mbox_flush(struct mbox_chan *chan, unsigned long timeout); |
---|
47 | 45 | void mbox_client_txdone(struct mbox_chan *chan, int r); /* atomic */ |
---|
48 | 46 | bool mbox_client_peek_data(struct mbox_chan *chan); /* atomic */ |
---|
49 | 47 | void mbox_free_channel(struct mbox_chan *chan); /* may sleep */ |
---|