hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/mailbox_client.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2013-2014 Linaro Ltd.
34 * 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.
85 */
96
107 #ifndef __MAILBOX_CLIENT_H
....@@ -44,6 +41,7 @@
4441 const char *name);
4542 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index);
4643 int mbox_send_message(struct mbox_chan *chan, void *mssg);
44
+int mbox_flush(struct mbox_chan *chan, unsigned long timeout);
4745 void mbox_client_txdone(struct mbox_chan *chan, int r); /* atomic */
4846 bool mbox_client_peek_data(struct mbox_chan *chan); /* atomic */
4947 void mbox_free_channel(struct mbox_chan *chan); /* may sleep */