mailbox.c (1ac731c529cd4d6adbce134754b51ff7d822b145) | mailbox.c (e9803aac5097ac74186b074d3176318fd10ec98c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Mailbox: Common code for Mailbox controllers and users 4 * 5 * Copyright (C) 2013-2014 Linaro Ltd. 6 * Author: Jassi Brar <jassisinghbrar@gmail.com> 7 */ 8 9#include <linux/interrupt.h> 10#include <linux/spinlock.h> 11#include <linux/mutex.h> 12#include <linux/delay.h> 13#include <linux/slab.h> 14#include <linux/err.h> 15#include <linux/module.h> 16#include <linux/device.h> 17#include <linux/bitops.h> 18#include <linux/mailbox_client.h> 19#include <linux/mailbox_controller.h> | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Mailbox: Common code for Mailbox controllers and users 4 * 5 * Copyright (C) 2013-2014 Linaro Ltd. 6 * Author: Jassi Brar <jassisinghbrar@gmail.com> 7 */ 8 9#include <linux/interrupt.h> 10#include <linux/spinlock.h> 11#include <linux/mutex.h> 12#include <linux/delay.h> 13#include <linux/slab.h> 14#include <linux/err.h> 15#include <linux/module.h> 16#include <linux/device.h> 17#include <linux/bitops.h> 18#include <linux/mailbox_client.h> 19#include <linux/mailbox_controller.h> |
20#include <linux/of.h> |
|
20 21#include "mailbox.h" 22 23static LIST_HEAD(mbox_cons); 24static DEFINE_MUTEX(con_mutex); 25 26static int add_to_rbuf(struct mbox_chan *chan, void *mssg) 27{ --- 638 unchanged lines hidden --- | 21 22#include "mailbox.h" 23 24static LIST_HEAD(mbox_cons); 25static DEFINE_MUTEX(con_mutex); 26 27static int add_to_rbuf(struct mbox_chan *chan, void *mssg) 28{ --- 638 unchanged lines hidden --- |