xref: /openbmc/linux/drivers/soundwire/intel.h (revision 60772e48)
1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2 // Copyright(c) 2015-17 Intel Corporation.
3 
4 #ifndef __SDW_INTEL_LOCAL_H
5 #define __SDW_INTEL_LOCAL_H
6 
7 /**
8  * struct sdw_intel_res - Soundwire link resources
9  * @registers: Link IO registers base
10  * @shim: Audio shim pointer
11  * @alh: ALH (Audio Link Hub) pointer
12  * @irq: Interrupt line
13  *
14  * This is set as pdata for each link instance.
15  */
16 struct sdw_intel_link_res {
17 	void __iomem *registers;
18 	void __iomem *shim;
19 	void __iomem *alh;
20 	int irq;
21 };
22 
23 #endif /* __SDW_INTEL_LOCAL_H */
24