Commit | Line | Data |
---|---|---|
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_H | |
5 | #define __SDW_INTEL_H | |
6 | ||
7 | /** | |
8 | * struct sdw_intel_res - Soundwire Intel resource structure | |
9 | * @mmio_base: mmio base of SoundWire registers | |
10 | * @irq: interrupt number | |
11 | * @handle: ACPI parent handle | |
12 | * @parent: parent device | |
13 | */ | |
14 | struct sdw_intel_res { | |
15 | void __iomem *mmio_base; | |
16 | int irq; | |
17 | acpi_handle handle; | |
18 | struct device *parent; | |
19 | }; | |
20 | ||
d62a7d41 VK |
21 | void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res); |
22 | void sdw_intel_exit(void *arg); | |
23 | ||
71bb8a1b | 24 | #endif |