-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpcie.h
More file actions
38 lines (25 loc) · 772 Bytes
/
pcie.h
File metadata and controls
38 lines (25 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __PCIE_H
#define __PCIE_H
#include <gpu_cfg_generator.h>
struct default_pcie_cfg {
struct gpu_cfg_descriptor descriptor;
struct gpu_block_header hdr0;
enum gpu_pcie_cfg pcie_cfg;
struct gpu_block_header hdr1;
struct gpu_cfg_fan fan0_cfg;
struct gpu_block_header hdr2;
struct gpu_cfg_fan fan1_cfg;
struct gpu_block_header hdr3;
enum gpu_vendor vendor;
struct gpu_block_header hdr4;
struct gpu_cfg_gpio gpio0;
struct gpu_cfg_gpio gpio1;
struct gpu_cfg_gpio gpio2;
struct gpu_cfg_gpio gpio3;
struct gpu_cfg_gpio gpio_edpaux;
struct gpu_cfg_gpio gpio_vsys;
struct gpu_cfg_gpio gpio_fan;
struct gpu_cfg_gpio gpu_3v_5v_en;
} __packed;
extern struct default_pcie_cfg pcie_accessory_cfg;
#endif /* __PCIE_H */