coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
env_ctrl.c File Reference
#include <console/console.h>
#include <delay.h>
#include <stddef.h>
#include <superio/hwm5_conf.h>
#include "env_ctrl.h"
#include "env_ctrl_chip.h"
Include dependency graph for env_ctrl.c:

Go to the source code of this file.

Functions

static void extemp_force_idle_status (const u16 base)
 
static void enable_peci (const u16 base)
 
static void enable_tmpin (const u16 base, const u8 tmpin, const struct ite_ec_thermal_config *const conf)
 
static void fan_smartconfig (const u16 base, const u8 fan, const enum ite_ec_fan_mode mode, const struct ite_ec_fan_smartconfig *const conf)
 
static void enable_fan (const u16 base, const u8 fan, const struct ite_ec_fan_config *const conf)
 
static void enable_beeps (const u16 base, const struct ite_ec_config *const conf)
 
void ite_ec_init (const u16 base, const struct ite_ec_config *const conf)
 

Function Documentation

◆ enable_beeps()

◆ enable_fan()

◆ enable_peci()

◆ enable_tmpin()

◆ extemp_force_idle_status()

static void extemp_force_idle_status ( const u16  base)
static

Definition at line 11 of file env_ctrl.c.

References base, ITE_EC_EXTEMP_CONTROL, ITE_EC_EXTEMP_CTRL_AUTO_4HZ, ITE_EC_EXTEMP_CTRL_AUTO_START, ITE_EC_EXTEMP_STATUS, ITE_EC_EXTEMP_STATUS_HOST_BUSY, mdelay(), pnp_read_hwm5_index(), and pnp_write_hwm5_index().

Referenced by ite_ec_init().

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

◆ fan_smartconfig()

◆ ite_ec_init()