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-or-later */
2
3
#ifndef SUPERIO_ITE_IT8772F_CHIP_H
4
#define SUPERIO_ITE_IT8772F_CHIP_H
5
6
#include <
device/device.h
>
7
#include "
it8772f.h
"
8
9
struct
superio_ite_it8772f_config
{
10
/* GPIO SimpleIO register values via devicetree.cb */
11
u8
gpio_set1
;
12
u8
gpio_set2
;
13
u8
gpio_set3
;
14
u8
gpio_set4
;
15
u8
gpio_set5
;
16
u8
gpio_set6
;
17
18
u8
skip_keyboard
;
19
20
/*
21
* Enable external temperature sensor to use PECI GetTemp()
22
* command and store in register TMPIN 1, 2, or 3.
23
*/
24
u8
peci_tmpin
;
25
26
/*
27
* Enable thermal mode on tmpinx.
28
*/
29
enum
thermal_mode
tmpin1_mode
;
30
enum
thermal_mode
tmpin2_mode
;
31
32
/*
33
* Enable a FAN for software control.
34
*/
35
u8
fan1_enable
;
36
u8
fan2_enable
;
37
u8
fan3_enable
;
38
39
/*
40
* Default FAN speed
41
*/
42
u8
fan2_speed
;
43
u8
fan3_speed
;
44
};
45
46
#endif
/* SUPERIO_ITE_IT8772F_CHIP_H */
device.h
it8772f.h
thermal_mode
thermal_mode
Definition:
it8772f.h:7
u8
uint8_t u8
Definition:
stdint.h:45
superio_ite_it8772f_config
Definition:
chip.h:9
superio_ite_it8772f_config::gpio_set3
u8 gpio_set3
Definition:
chip.h:13
superio_ite_it8772f_config::tmpin2_mode
enum thermal_mode tmpin2_mode
Definition:
chip.h:30
superio_ite_it8772f_config::fan2_enable
u8 fan2_enable
Definition:
chip.h:36
superio_ite_it8772f_config::gpio_set4
u8 gpio_set4
Definition:
chip.h:14
superio_ite_it8772f_config::tmpin1_mode
enum thermal_mode tmpin1_mode
Definition:
chip.h:29
superio_ite_it8772f_config::gpio_set6
u8 gpio_set6
Definition:
chip.h:16
superio_ite_it8772f_config::fan2_speed
u8 fan2_speed
Definition:
chip.h:42
superio_ite_it8772f_config::gpio_set1
u8 gpio_set1
Definition:
chip.h:11
superio_ite_it8772f_config::gpio_set5
u8 gpio_set5
Definition:
chip.h:15
superio_ite_it8772f_config::peci_tmpin
u8 peci_tmpin
Definition:
chip.h:24
superio_ite_it8772f_config::gpio_set2
u8 gpio_set2
Definition:
chip.h:12
superio_ite_it8772f_config::fan1_enable
u8 fan1_enable
Definition:
chip.h:35
superio_ite_it8772f_config::fan3_enable
u8 fan3_enable
Definition:
chip.h:37
superio_ite_it8772f_config::skip_keyboard
u8 skip_keyboard
Definition:
chip.h:18
superio_ite_it8772f_config::fan3_speed
u8 fan3_speed
Definition:
chip.h:43
src
superio
ite
it8772f
chip.h
Generated by
1.9.1