Merge tag 'for-linus-4.20a-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / drivers / soundwire / intel.h
CommitLineData
71bb8a1b
VK
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
c46302ec
VK
13 * @ops: Shim callback ops
14 * @arg: Shim callback ops argument
71bb8a1b
VK
15 *
16 * This is set as pdata for each link instance.
17 */
18struct sdw_intel_link_res {
19 void __iomem *registers;
20 void __iomem *shim;
21 void __iomem *alh;
22 int irq;
c46302ec
VK
23 const struct sdw_intel_ops *ops;
24 void *arg;
71bb8a1b
VK
25};
26
27#endif /* __SDW_INTEL_LOCAL_H */