summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/xeon_sp/include/soc/chip_common.h
blob: f3cb950d296b62cc46ab075b3ae40e4b52df19bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef _CHIP_COMMON_H_
#define _CHIP_COMMON_H_

#include <hob_iiouds.h>

union xeon_domain_path {
	unsigned int domain_path;
	struct {
		u8 bus;
		u8 stack;
		u8 socket;
		u8 unused;
	};
};

void iio_pci_domain_read_resources(struct device *dev);
void iio_pci_domain_scan_bus(struct device *dev);
void attach_iio_stacks(struct device *dev);

void soc_create_ioat_domains(union xeon_domain_path path, struct bus *bus, const STACK_RES *sr);

#endif /* _CHIP_COMMON_H_ */