coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
it8772f.h File Reference
#include <device/pnp_type.h>
#include <stdint.h>
Include dependency graph for it8772f.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IT8772F_FDC   0x00 /* Floppy disk controller */
 
#define IT8772F_SP1   0x01 /* Com1 */
 
#define IT8772F_EC   0x04 /* Environment controller */
 
#define IT8772F_KBCK   0x05 /* Keyboard */
 
#define IT8772F_KBCM   0x06 /* Mouse */
 
#define IT8772F_GPIO   0x07 /* GPIO */
 
#define IT8772F_IR   0x0a /* Consumer IR */
 
#define IT8772F_CONFIGURATION   0x00
 
#define IT8772F_INTERFACE_SELECT   0x0a
 
#define IT8772F_INTERFACE_PSEUDO_EOC   (1 << 7)
 
#define IT8772F_INTERFACE_SMB_ENABLE   (1 << 6)
 
#define IT8772F_INTERFACE_SEL_DISABLE   (0 << 4)
 
#define IT8772F_INTERFACE_SEL_SST_SLAVE   (1 << 4)
 
#define IT8772F_INTERFACE_SEL_PECI   (2 << 4)
 
#define IT8772F_INTERFACE_SEL_SST_HOST   (3 << 4)
 
#define IT8772F_INTERFACE_CLOCK_32MHZ   (0 << 3)
 
#define IT8772F_INTERFACE_CLOCK_24MHZ   (1 << 3)
 
#define IT8772F_INTERFACE_SPEED_TOLERANCE   (1 << 2)
 
#define IT8772F_INTERFACE_PECI_AWFCS   (1 << 0)
 
#define IT8772F_FAN_TAC2_READ   0x0e
 
#define IT8772F_FAN_TAC3_READ   0x0f
 
#define IT8772F_FAN_MAIN_CTL   0x13
 
#define IT8772F_FAN_MAIN_CTL_TAC_SMART(x)   (1 << ((x)-1))
 
#define IT8772F_FAN_MAIN_CTL_TAC_EN(x)   (1 << ((x)+3))
 
#define IT8772F_FAN_CTL_MODE   0x14
 
#define IT8772F_FAN_CTL_ON(x)   (1 << ((x)-1))
 
#define IT8772F_FAN_PWM_MIN_DUTY   (1 << 3)
 
#define IT8772F_FAN_PWM_CLOCK_48MHZ   (0 << 4)
 
#define IT8772F_FAN_PWM_CLOCK_24MHZ   (1 << 4)
 
#define IT8772F_FAN_PWM_CLOCK_8MHZ   (3 << 4)
 
#define IT8772F_FAN_PWM_CLOCK_6MHZ   (4 << 4)
 
#define IT8772F_FAN_PWM_CLOCK_3MHZ   (5 << 4)
 
#define IT8772F_FAN_PWM_CLOCK_1_5MHZ   (6 << 4)
 
#define IT8772F_FAN_PWM_CLOCK_51KHZ   (7 << 4)
 
#define IT8772F_FAN_CTL_POLARITY_LOW   (0 << 7)
 
#define IT8772F_FAN_CTL_POLARITY_HIGH   (1 << 7)
 
#define IT8772F_FAN_CTL2_PWM_MODE   0x16
 
#define IT8772F_FAN_CTL3_PWM_MODE   0x17
 
#define IT8772F_FAN_CTL_PWM_MODE_SOFTWARE   (0 << 7)
 
#define IT8772F_FAN_CTL_PWM_MODE_AUTOMATIC   (1 << 7)
 
#define IT8772F_ADC_TEMP_CHANNEL_ENABLE   0x51
 
#define IT8772F_FAN_CTL2_PWM_START   0x6b
 
#define IT8772F_FAN_CTL2_AUTO_MODE   0x6c
 
#define IT8772F_FAN_CTL3_PWM_START   0x73
 
#define IT8772F_FAN_CTL3_AUTO_MODE   0x74
 
#define IT8772F_FAN_CTL_AUTO_SMOOTHING_DIS   (0 << 7)
 
#define IT8772F_FAN_CTL_AUTO_SMOOTHING_EN   (1 << 7)
 
#define IT8772F_EXTEMP_STATUS   0x88
 
#define IT8772F_EXTEMP_STATUS_HOST_BUSY   (1 << 0)
 
#define IT8772F_EXTEMP_ADDRESS   0x89
 
#define IT8772F_EXTEMP_WRITE_LENGTH   0x8a
 
#define IT8772F_EXTEMP_READ_LENGTH   0x8b
 
#define IT8772F_EXTEMP_COMMAND   0x8c
 
#define IT8772F_EXTEMP_WRITE_DATA_2   0x8d
 
#define IT8772F_EXTEMP_CONTROL   0x8e
 
#define IT8772F_EXTEMP_CONTROL_AUTO_32HZ   (0 << 6)
 
#define IT8772F_EXTEMP_CONTROL_AUTO_16HZ   (1 << 6)
 
#define IT8772F_EXTEMP_CONTROL_AUTO_8HZ   (2 << 6)
 
#define IT8772F_EXTEMP_CONTROL_AUTO_4HZ   (3 << 6)
 
#define IT8772F_EXTEMP_CONTROL_AUTO_START   (1 << 5)
 
#define IT8772F_EXTEMP_CONTROL_AUTO_ABORT   (1 << 4)
 
#define IT8772F_EXTEMP_CONTROL_AUTO_TWO_DOMAIN   (1 << 3)
 
#define IT8772F_EXTEMP_CONTROL_CONTENTION   (1 << 2)
 
#define IT8772F_EXTEMP_CONTROL_SST_IDLE_HIGH   (1 << 1)
 
#define IT8772F_EXTEMP_CONTROL_START   (1 << 0)
 
#define PECI_CLIENT_ADDRESS   0x30
 
#define PECI_GETTEMP_COMMAND   0x01
 
#define PECI_GETTEMP_WRITE_LENGTH   0x01
 
#define PECI_GETTEMP_READ_LENGTH   0x02
 
#define IT8772F_GPIO_LED_BLINK1_PINMAP   0xf8
 
#define SIO_GPIO_BLINK_GPIO10   0x08
 
#define SIO_GPIO_BLINK_GPIO22   0x12
 
#define SIO_GPIO_BLINK_GPIO45   0x25
 
#define IT8772F_GPIO_LED_BLINK1_CONTROL   0xf9
 
#define IT8772F_GPIO_BLINK_FREQUENCY_4_HZ   (0<<1)
 
#define IT8772F_GPIO_BLINK_FREQUENCY_1_HZ   (1<<1)
 
#define IT8772F_GPIO_BLINK_FREQUENCY_1_4_HZ   (2<<1)
 
#define IT8772F_GPIO_BLINK_FREQUENCY_1_8_HZ   (3<<1)
 
#define GPIO_REG_SELECT(x)   (0x25 + (x))
 
#define GPIO_REG_POLARITY(x)   (0xb0 + (x))
 
#define GPIO_REG_PULLUP(x)   (0xb8 + (x))
 
#define GPIO_REG_ENABLE(x)   (0xc0 + (x))
 
#define GPIO_REG_OUTPUT(x)   (0xc8 + (x))
 
#define IT8772F_CONFIG_REG_CC   0x02 /* Configure Control (write-only). */
 
#define IT8772F_CONFIG_REG_LDN   0x07 /* Logical Device Number. */
 

Enumerations

enum  thermal_mode { THERMAL_MODE_DISABLED = 0 , THERMAL_DIODE , THERMAL_RESISTOR }
 

Functions

void it8772f_ac_resume_southbridge (pnp_devfn_t dev)
 
void it8772f_gpio_setup (pnp_devfn_t dev, int set, u8 select, u8 polarity, u8 pullup, u8 output, u8 enable)
 
void it8772f_enter_conf (pnp_devfn_t dev)
 
void it8772f_exit_conf (pnp_devfn_t dev)
 
void it8772f_gpio_led (pnp_devfn_t dev, int set, u8 select, u8 polarity, u8 pullup, u8 output, u8 enable, u8 led_pin_map, u8 led_freq)
 

Macro Definition Documentation

◆ GPIO_REG_ENABLE

#define GPIO_REG_ENABLE (   x)    (0xc0 + (x))

Definition at line 110 of file it8772f.h.

◆ GPIO_REG_OUTPUT

#define GPIO_REG_OUTPUT (   x)    (0xc8 + (x))

Definition at line 113 of file it8772f.h.

◆ GPIO_REG_POLARITY

#define GPIO_REG_POLARITY (   x)    (0xb0 + (x))

Definition at line 104 of file it8772f.h.

◆ GPIO_REG_PULLUP

#define GPIO_REG_PULLUP (   x)    (0xb8 + (x))

Definition at line 107 of file it8772f.h.

◆ GPIO_REG_SELECT

#define GPIO_REG_SELECT (   x)    (0x25 + (x))

Definition at line 101 of file it8772f.h.

◆ IT8772F_ADC_TEMP_CHANNEL_ENABLE

#define IT8772F_ADC_TEMP_CHANNEL_ENABLE   0x51

Definition at line 55 of file it8772f.h.

◆ IT8772F_CONFIG_REG_CC

#define IT8772F_CONFIG_REG_CC   0x02 /* Configure Control (write-only). */

Definition at line 124 of file it8772f.h.

◆ IT8772F_CONFIG_REG_LDN

#define IT8772F_CONFIG_REG_LDN   0x07 /* Logical Device Number. */

Definition at line 125 of file it8772f.h.

◆ IT8772F_CONFIGURATION

#define IT8772F_CONFIGURATION   0x00

Definition at line 22 of file it8772f.h.

◆ IT8772F_EC

#define IT8772F_EC   0x04 /* Environment controller */

Definition at line 15 of file it8772f.h.

◆ IT8772F_EXTEMP_ADDRESS

#define IT8772F_EXTEMP_ADDRESS   0x89

Definition at line 64 of file it8772f.h.

◆ IT8772F_EXTEMP_COMMAND

#define IT8772F_EXTEMP_COMMAND   0x8c

Definition at line 67 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL

#define IT8772F_EXTEMP_CONTROL   0x8e

Definition at line 69 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_16HZ

#define IT8772F_EXTEMP_CONTROL_AUTO_16HZ   (1 << 6)

Definition at line 71 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_32HZ

#define IT8772F_EXTEMP_CONTROL_AUTO_32HZ   (0 << 6)

Definition at line 70 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_4HZ

#define IT8772F_EXTEMP_CONTROL_AUTO_4HZ   (3 << 6)

Definition at line 73 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_8HZ

#define IT8772F_EXTEMP_CONTROL_AUTO_8HZ   (2 << 6)

Definition at line 72 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_ABORT

#define IT8772F_EXTEMP_CONTROL_AUTO_ABORT   (1 << 4)

Definition at line 75 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_START

#define IT8772F_EXTEMP_CONTROL_AUTO_START   (1 << 5)

Definition at line 74 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_AUTO_TWO_DOMAIN

#define IT8772F_EXTEMP_CONTROL_AUTO_TWO_DOMAIN   (1 << 3)

Definition at line 76 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_CONTENTION

#define IT8772F_EXTEMP_CONTROL_CONTENTION   (1 << 2)

Definition at line 77 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_SST_IDLE_HIGH

#define IT8772F_EXTEMP_CONTROL_SST_IDLE_HIGH   (1 << 1)

Definition at line 78 of file it8772f.h.

◆ IT8772F_EXTEMP_CONTROL_START

#define IT8772F_EXTEMP_CONTROL_START   (1 << 0)

Definition at line 79 of file it8772f.h.

◆ IT8772F_EXTEMP_READ_LENGTH

#define IT8772F_EXTEMP_READ_LENGTH   0x8b

Definition at line 66 of file it8772f.h.

◆ IT8772F_EXTEMP_STATUS

#define IT8772F_EXTEMP_STATUS   0x88

Definition at line 62 of file it8772f.h.

◆ IT8772F_EXTEMP_STATUS_HOST_BUSY

#define IT8772F_EXTEMP_STATUS_HOST_BUSY   (1 << 0)

Definition at line 63 of file it8772f.h.

◆ IT8772F_EXTEMP_WRITE_DATA_2

#define IT8772F_EXTEMP_WRITE_DATA_2   0x8d

Definition at line 68 of file it8772f.h.

◆ IT8772F_EXTEMP_WRITE_LENGTH

#define IT8772F_EXTEMP_WRITE_LENGTH   0x8a

Definition at line 65 of file it8772f.h.

◆ IT8772F_FAN_CTL2_AUTO_MODE

#define IT8772F_FAN_CTL2_AUTO_MODE   0x6c

Definition at line 57 of file it8772f.h.

◆ IT8772F_FAN_CTL2_PWM_MODE

#define IT8772F_FAN_CTL2_PWM_MODE   0x16

Definition at line 51 of file it8772f.h.

◆ IT8772F_FAN_CTL2_PWM_START

#define IT8772F_FAN_CTL2_PWM_START   0x6b

Definition at line 56 of file it8772f.h.

◆ IT8772F_FAN_CTL3_AUTO_MODE

#define IT8772F_FAN_CTL3_AUTO_MODE   0x74

Definition at line 59 of file it8772f.h.

◆ IT8772F_FAN_CTL3_PWM_MODE

#define IT8772F_FAN_CTL3_PWM_MODE   0x17

Definition at line 52 of file it8772f.h.

◆ IT8772F_FAN_CTL3_PWM_START

#define IT8772F_FAN_CTL3_PWM_START   0x73

Definition at line 58 of file it8772f.h.

◆ IT8772F_FAN_CTL_AUTO_SMOOTHING_DIS

#define IT8772F_FAN_CTL_AUTO_SMOOTHING_DIS   (0 << 7)

Definition at line 60 of file it8772f.h.

◆ IT8772F_FAN_CTL_AUTO_SMOOTHING_EN

#define IT8772F_FAN_CTL_AUTO_SMOOTHING_EN   (1 << 7)

Definition at line 61 of file it8772f.h.

◆ IT8772F_FAN_CTL_MODE

#define IT8772F_FAN_CTL_MODE   0x14

Definition at line 39 of file it8772f.h.

◆ IT8772F_FAN_CTL_ON

#define IT8772F_FAN_CTL_ON (   x)    (1 << ((x)-1))

Definition at line 40 of file it8772f.h.

◆ IT8772F_FAN_CTL_POLARITY_HIGH

#define IT8772F_FAN_CTL_POLARITY_HIGH   (1 << 7)

Definition at line 50 of file it8772f.h.

◆ IT8772F_FAN_CTL_POLARITY_LOW

#define IT8772F_FAN_CTL_POLARITY_LOW   (0 << 7)

Definition at line 49 of file it8772f.h.

◆ IT8772F_FAN_CTL_PWM_MODE_AUTOMATIC

#define IT8772F_FAN_CTL_PWM_MODE_AUTOMATIC   (1 << 7)

Definition at line 54 of file it8772f.h.

◆ IT8772F_FAN_CTL_PWM_MODE_SOFTWARE

#define IT8772F_FAN_CTL_PWM_MODE_SOFTWARE   (0 << 7)

Definition at line 53 of file it8772f.h.

◆ IT8772F_FAN_MAIN_CTL

#define IT8772F_FAN_MAIN_CTL   0x13

Definition at line 36 of file it8772f.h.

◆ IT8772F_FAN_MAIN_CTL_TAC_EN

#define IT8772F_FAN_MAIN_CTL_TAC_EN (   x)    (1 << ((x)+3))

Definition at line 38 of file it8772f.h.

◆ IT8772F_FAN_MAIN_CTL_TAC_SMART

#define IT8772F_FAN_MAIN_CTL_TAC_SMART (   x)    (1 << ((x)-1))

Definition at line 37 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_1_5MHZ

#define IT8772F_FAN_PWM_CLOCK_1_5MHZ   (6 << 4)

Definition at line 47 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_24MHZ

#define IT8772F_FAN_PWM_CLOCK_24MHZ   (1 << 4)

Definition at line 43 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_3MHZ

#define IT8772F_FAN_PWM_CLOCK_3MHZ   (5 << 4)

Definition at line 46 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_48MHZ

#define IT8772F_FAN_PWM_CLOCK_48MHZ   (0 << 4)

Definition at line 42 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_51KHZ

#define IT8772F_FAN_PWM_CLOCK_51KHZ   (7 << 4)

Definition at line 48 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_6MHZ

#define IT8772F_FAN_PWM_CLOCK_6MHZ   (4 << 4)

Definition at line 45 of file it8772f.h.

◆ IT8772F_FAN_PWM_CLOCK_8MHZ

#define IT8772F_FAN_PWM_CLOCK_8MHZ   (3 << 4)

Definition at line 44 of file it8772f.h.

◆ IT8772F_FAN_PWM_MIN_DUTY

#define IT8772F_FAN_PWM_MIN_DUTY   (1 << 3)

Definition at line 41 of file it8772f.h.

◆ IT8772F_FAN_TAC2_READ

#define IT8772F_FAN_TAC2_READ   0x0e

Definition at line 34 of file it8772f.h.

◆ IT8772F_FAN_TAC3_READ

#define IT8772F_FAN_TAC3_READ   0x0f

Definition at line 35 of file it8772f.h.

◆ IT8772F_FDC

#define IT8772F_FDC   0x00 /* Floppy disk controller */

Definition at line 13 of file it8772f.h.

◆ IT8772F_GPIO

#define IT8772F_GPIO   0x07 /* GPIO */

Definition at line 18 of file it8772f.h.

◆ IT8772F_GPIO_BLINK_FREQUENCY_1_4_HZ

#define IT8772F_GPIO_BLINK_FREQUENCY_1_4_HZ   (2<<1)

Definition at line 98 of file it8772f.h.

◆ IT8772F_GPIO_BLINK_FREQUENCY_1_8_HZ

#define IT8772F_GPIO_BLINK_FREQUENCY_1_8_HZ   (3<<1)

Definition at line 99 of file it8772f.h.

◆ IT8772F_GPIO_BLINK_FREQUENCY_1_HZ

#define IT8772F_GPIO_BLINK_FREQUENCY_1_HZ   (1<<1)

Definition at line 97 of file it8772f.h.

◆ IT8772F_GPIO_BLINK_FREQUENCY_4_HZ

#define IT8772F_GPIO_BLINK_FREQUENCY_4_HZ   (0<<1)

Definition at line 96 of file it8772f.h.

◆ IT8772F_GPIO_LED_BLINK1_CONTROL

#define IT8772F_GPIO_LED_BLINK1_CONTROL   0xf9

Definition at line 94 of file it8772f.h.

◆ IT8772F_GPIO_LED_BLINK1_PINMAP

#define IT8772F_GPIO_LED_BLINK1_PINMAP   0xf8

Definition at line 88 of file it8772f.h.

◆ IT8772F_INTERFACE_CLOCK_24MHZ

#define IT8772F_INTERFACE_CLOCK_24MHZ   (1 << 3)

Definition at line 31 of file it8772f.h.

◆ IT8772F_INTERFACE_CLOCK_32MHZ

#define IT8772F_INTERFACE_CLOCK_32MHZ   (0 << 3)

Definition at line 30 of file it8772f.h.

◆ IT8772F_INTERFACE_PECI_AWFCS

#define IT8772F_INTERFACE_PECI_AWFCS   (1 << 0)

Definition at line 33 of file it8772f.h.

◆ IT8772F_INTERFACE_PSEUDO_EOC

#define IT8772F_INTERFACE_PSEUDO_EOC   (1 << 7)

Definition at line 24 of file it8772f.h.

◆ IT8772F_INTERFACE_SEL_DISABLE

#define IT8772F_INTERFACE_SEL_DISABLE   (0 << 4)

Definition at line 26 of file it8772f.h.

◆ IT8772F_INTERFACE_SEL_PECI

#define IT8772F_INTERFACE_SEL_PECI   (2 << 4)

Definition at line 28 of file it8772f.h.

◆ IT8772F_INTERFACE_SEL_SST_HOST

#define IT8772F_INTERFACE_SEL_SST_HOST   (3 << 4)

Definition at line 29 of file it8772f.h.

◆ IT8772F_INTERFACE_SEL_SST_SLAVE

#define IT8772F_INTERFACE_SEL_SST_SLAVE   (1 << 4)

Definition at line 27 of file it8772f.h.

◆ IT8772F_INTERFACE_SELECT

#define IT8772F_INTERFACE_SELECT   0x0a

Definition at line 23 of file it8772f.h.

◆ IT8772F_INTERFACE_SMB_ENABLE

#define IT8772F_INTERFACE_SMB_ENABLE   (1 << 6)

Definition at line 25 of file it8772f.h.

◆ IT8772F_INTERFACE_SPEED_TOLERANCE

#define IT8772F_INTERFACE_SPEED_TOLERANCE   (1 << 2)

Definition at line 32 of file it8772f.h.

◆ IT8772F_IR

#define IT8772F_IR   0x0a /* Consumer IR */

Definition at line 19 of file it8772f.h.

◆ IT8772F_KBCK

#define IT8772F_KBCK   0x05 /* Keyboard */

Definition at line 16 of file it8772f.h.

◆ IT8772F_KBCM

#define IT8772F_KBCM   0x06 /* Mouse */

Definition at line 17 of file it8772f.h.

◆ IT8772F_SP1

#define IT8772F_SP1   0x01 /* Com1 */

Definition at line 14 of file it8772f.h.

◆ PECI_CLIENT_ADDRESS

#define PECI_CLIENT_ADDRESS   0x30

Definition at line 82 of file it8772f.h.

◆ PECI_GETTEMP_COMMAND

#define PECI_GETTEMP_COMMAND   0x01

Definition at line 83 of file it8772f.h.

◆ PECI_GETTEMP_READ_LENGTH

#define PECI_GETTEMP_READ_LENGTH   0x02

Definition at line 85 of file it8772f.h.

◆ PECI_GETTEMP_WRITE_LENGTH

#define PECI_GETTEMP_WRITE_LENGTH   0x01

Definition at line 84 of file it8772f.h.

◆ SIO_GPIO_BLINK_GPIO10

#define SIO_GPIO_BLINK_GPIO10   0x08

Definition at line 90 of file it8772f.h.

◆ SIO_GPIO_BLINK_GPIO22

#define SIO_GPIO_BLINK_GPIO22   0x12

Definition at line 91 of file it8772f.h.

◆ SIO_GPIO_BLINK_GPIO45

#define SIO_GPIO_BLINK_GPIO45   0x25

Definition at line 92 of file it8772f.h.

Enumeration Type Documentation

◆ thermal_mode

Enumerator
THERMAL_MODE_DISABLED 
THERMAL_DIODE 
THERMAL_RESISTOR 

Definition at line 7 of file it8772f.h.

Function Documentation

◆ it8772f_ac_resume_southbridge()

void it8772f_ac_resume_southbridge ( pnp_devfn_t  dev)

Definition at line 27 of file early_init.c.

References IT8772F_CONFIG_REG_LDN, IT8772F_EC, it8772f_enter_conf(), it8772f_exit_conf(), PNP_IDX_MSC4, and pnp_write_config().

Referenced by bootblock_mainboard_early_init(), and mainboard_config_superio().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ it8772f_enter_conf()

void it8772f_enter_conf ( pnp_devfn_t  dev)

Definition at line 11 of file early_init.c.

References outb().

Referenced by it8772f_ac_resume_southbridge(), it8772f_gpio_led(), and it8772f_gpio_setup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ it8772f_exit_conf()

void it8772f_exit_conf ( pnp_devfn_t  dev)

Definition at line 21 of file early_init.c.

References IT8772F_CONFIG_REG_CC, and pnp_write_config().

Referenced by it8772f_ac_resume_southbridge(), it8772f_gpio_led(), and it8772f_gpio_setup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ it8772f_gpio_led()

void it8772f_gpio_led ( pnp_devfn_t  dev,
int  set,
u8  select,
u8  polarity,
u8  pullup,
u8  output,
u8  enable,
u8  led_pin_map,
u8  led_freq 
)

◆ it8772f_gpio_setup()

void it8772f_gpio_setup ( pnp_devfn_t  dev,
int  set,
u8  select,
u8  polarity,
u8  pullup,
u8  output,
u8  enable 
)

Definition at line 36 of file early_init.c.

References GPIO_REG_ENABLE, GPIO_REG_OUTPUT, GPIO_REG_POLARITY, GPIO_REG_PULLUP, GPIO_REG_SELECT, IT8772F_CONFIG_REG_LDN, it8772f_enter_conf(), it8772f_exit_conf(), IT8772F_GPIO, and pnp_write_config().

Referenced by setup_sio_gpios().

Here is the call graph for this function:
Here is the caller graph for this function: