coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  drivers_lenovo_hybrid_graphics_config
 

Macros

#define HYBRID_GRAPHICS_PORT   0xff
 
#define HYBRID_GRAPHICS_DEVICE   0xf
 
#define HYBRID_GRAPHICS_DEFAULT_GPU   HYBRID_GRAPHICS_INTEGRATED
 

Enumerations

enum  hybrid_graphics_req { HYBRID_GRAPHICS_INTEGRATED = 0 , HYBRID_GRAPHICS_DISCRETE = 1 , HYBRID_GRAPHICS_DUAL = 2 }
 
enum  dgpu_detect_lvl { DGPU_INSTALLED = 0 , DGPU_NOT_INSTALLED = 1 }
 

Macro Definition Documentation

◆ HYBRID_GRAPHICS_DEFAULT_GPU

#define HYBRID_GRAPHICS_DEFAULT_GPU   HYBRID_GRAPHICS_INTEGRATED

Definition at line 21 of file chip.h.

◆ HYBRID_GRAPHICS_DEVICE

#define HYBRID_GRAPHICS_DEVICE   0xf

Definition at line 8 of file chip.h.

◆ HYBRID_GRAPHICS_PORT

#define HYBRID_GRAPHICS_PORT   0xff

Definition at line 6 of file chip.h.

Enumeration Type Documentation

◆ dgpu_detect_lvl

Enumerator
DGPU_INSTALLED 
DGPU_NOT_INSTALLED 

Definition at line 16 of file chip.h.

◆ hybrid_graphics_req

Enumerator
HYBRID_GRAPHICS_INTEGRATED 
HYBRID_GRAPHICS_DISCRETE 
HYBRID_GRAPHICS_DUAL 

Definition at line 10 of file chip.h.