summaryrefslogtreecommitdiff
path: root/include/acpi/pcc.h
blob: 8caa79c617035e60a41ee850150d2b472f35df5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * PCC (Platform Communications Channel) methods
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; version 2
 * of the License.
 */

#ifndef _PCC_H
#define _PCC_H

#include <linux/mailbox_controller.h>
#include <linux/mailbox_client.h>

#ifdef CONFIG_PCC
extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
						  int subspace_id);
extern void pcc_mbox_free_channel(struct mbox_chan *chan);
#else
static inline struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
							 int subspace_id)
{
	return ERR_PTR(-ENODEV);
}
static inline void pcc_mbox_free_channel(struct mbox_chan *chan) { }
#endif

#endif /* _PCC_H */
etree/bindings/interrupt-controller?id=99f453f875a5e207f38e92ced6ce3427433d5be2'>99f453f875a5e207f38e92ced6ce3427433d5be2 (patch) tree6f956afbcbe36a9fd73f649fffa214ef07aaef32 /Documentation/devicetree/bindings/interrupt-controller parentdb766b0a25c9520b7c585bcdb2725dcc0e490f4a (diff)
sh: add earlycon support to j2_defconfig
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')