1
2
3
4 #ifndef __SDW_INTEL_H
5 #define __SDW_INTEL_H
6
7
8
9
10
11
12
13 struct sdw_intel_ops {
14 int (*config_stream)(void *arg, void *substream,
15 void *dai, void *hw_params, int stream_num);
16 };
17
18
19
20
21
22
23
24
25
26
27 struct sdw_intel_res {
28 void __iomem *mmio_base;
29 int irq;
30 acpi_handle handle;
31 struct device *parent;
32 const struct sdw_intel_ops *ops;
33 void *arg;
34 };
35
36 void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res);
37 void sdw_intel_exit(void *arg);
38
39 #endif