]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/soundwire/intel.h
Merge branch 's390-qeth-fixes'
[mirror_ubuntu-jammy-kernel.git] / drivers / soundwire / intel.h
CommitLineData
23859465
PLB
1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2/* Copyright(c) 2015-17 Intel Corporation. */
71bb8a1b
VK
3
4#ifndef __SDW_INTEL_LOCAL_H
5#define __SDW_INTEL_LOCAL_H
6
7/**
f98f690f
PLB
8 * struct sdw_intel_link_res - Soundwire Intel link resource structure,
9 * typically populated by the controller driver.
10 * @pdev: platform_device
11 * @mmio_base: mmio base of SoundWire registers
71bb8a1b
VK
12 * @registers: Link IO registers base
13 * @shim: Audio shim pointer
14 * @alh: ALH (Audio Link Hub) pointer
15 * @irq: Interrupt line
c46302ec 16 * @ops: Shim callback ops
4b206d34 17 * @dev: device implementing hw_params and free callbacks
71bb8a1b
VK
18 */
19struct sdw_intel_link_res {
f98f690f
PLB
20 struct platform_device *pdev;
21 void __iomem *mmio_base; /* not strictly needed, useful for debug */
71bb8a1b
VK
22 void __iomem *registers;
23 void __iomem *shim;
24 void __iomem *alh;
25 int irq;
c46302ec 26 const struct sdw_intel_ops *ops;
4b206d34 27 struct device *dev;
71bb8a1b
VK
28};
29
30#endif /* __SDW_INTEL_LOCAL_H */