coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef NORTHBRIDGE_INTEL_HASWELL_CHIP_H
4
#define NORTHBRIDGE_INTEL_HASWELL_CHIP_H
5
6
#include <
drivers/intel/gma/gma.h
>
7
#include <types.h>
8
9
struct
peg_config
{
10
bool
is_onboard
;
11
uint8_t
power_limit_scale
;
12
uint8_t
power_limit_value
;
13
uint16_t
phys_slot_number
;
14
};
15
16
/*
17
* Digital Port Hotplug Enable:
18
* 0x04 = Enabled, 2ms short pulse
19
* 0x05 = Enabled, 4.5ms short pulse
20
* 0x06 = Enabled, 6ms short pulse
21
* 0x07 = Enabled, 100ms short pulse
22
*/
23
struct
northbridge_intel_haswell_config
{
24
u8
gpu_dp_b_hotplug
;
/* Digital Port B Hotplug Config */
25
u8
gpu_dp_c_hotplug
;
/* Digital Port C Hotplug Config */
26
u8
gpu_dp_d_hotplug
;
/* Digital Port D Hotplug Config */
27
28
/* IGD panel configuration */
29
struct
i915_gpu_panel_config
panel_cfg
;
30
31
struct
peg_config
peg_cfg
[3];
32
33
bool
gpu_ddi_e_connected
;
34
35
bool
ec_present
;
36
37
bool
dq_pins_interleaved
;
38
39
bool
usb_xhci_on_resume
;
40
41
struct
i915_gpu_controller_info
gfx
;
42
};
43
44
#endif
/* NORTHBRIDGE_INTEL_HASWELL_CHIP_H */
gma.h
uint16_t
unsigned short uint16_t
Definition:
stdint.h:11
u8
uint8_t u8
Definition:
stdint.h:45
uint8_t
unsigned char uint8_t
Definition:
stdint.h:8
i915_gpu_controller_info
Definition:
gma.h:8
i915_gpu_panel_config
Definition:
gma.h:15
northbridge_intel_haswell_config
Definition:
chip.h:23
northbridge_intel_haswell_config::ec_present
bool ec_present
Definition:
chip.h:35
northbridge_intel_haswell_config::usb_xhci_on_resume
bool usb_xhci_on_resume
Definition:
chip.h:39
northbridge_intel_haswell_config::gpu_ddi_e_connected
bool gpu_ddi_e_connected
Definition:
chip.h:33
northbridge_intel_haswell_config::dq_pins_interleaved
bool dq_pins_interleaved
Definition:
chip.h:37
northbridge_intel_haswell_config::gpu_dp_d_hotplug
u8 gpu_dp_d_hotplug
Definition:
chip.h:26
northbridge_intel_haswell_config::panel_cfg
struct i915_gpu_panel_config panel_cfg
Definition:
chip.h:29
northbridge_intel_haswell_config::gfx
struct i915_gpu_controller_info gfx
Definition:
chip.h:41
northbridge_intel_haswell_config::peg_cfg
struct peg_config peg_cfg[3]
Definition:
chip.h:31
northbridge_intel_haswell_config::gpu_dp_c_hotplug
u8 gpu_dp_c_hotplug
Definition:
chip.h:25
northbridge_intel_haswell_config::gpu_dp_b_hotplug
u8 gpu_dp_b_hotplug
Definition:
chip.h:24
peg_config
Definition:
chip.h:9
peg_config::phys_slot_number
uint16_t phys_slot_number
Definition:
chip.h:13
peg_config::power_limit_value
uint8_t power_limit_value
Definition:
chip.h:12
peg_config::power_limit_scale
uint8_t power_limit_scale
Definition:
chip.h:11
peg_config::is_onboard
bool is_onboard
Definition:
chip.h:10
src
northbridge
intel
haswell
chip.h
Generated by
1.9.1