![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/device.h>
#include <device/pnp.h>
#include <console/console.h>
#include <pc80/keyboard.h>
#include <arch/io.h>
#include <delay.h>
#include <superio/conf_mode.h>
#include <superio/hwm5_conf.h>
#include "chip.h"
#include "it8772f.h"
Go to the source code of this file.
Functions | |
static void | it8772f_extemp_force_idle_status (struct resource *res) |
static void | it8772f_enable_peci (struct resource *res, int tmpin) |
static void | it8772f_enable_tmpin (struct resource *res, int tmpin, enum thermal_mode mode) |
static void | it8772f_enable_fan (struct resource *res, int fan, u8 fan_speed) |
static void | it8772f_init (struct device *dev) |
static void | enable_dev (struct device *dev) |
Variables | |
static struct device_operations | ops |
static struct pnp_info | pnp_dev_info [] |
struct chip_operations | superio_ite_it8772f_ops |
Definition at line 265 of file superio.c.
References ARRAY_SIZE, ops, pnp_dev_info, and pnp_enable_devices().
Definition at line 116 of file superio.c.
References resource::base, IT8772F_FAN_CTL2_AUTO_MODE, IT8772F_FAN_CTL2_PWM_MODE, IT8772F_FAN_CTL2_PWM_START, IT8772F_FAN_CTL3_AUTO_MODE, IT8772F_FAN_CTL3_PWM_MODE, IT8772F_FAN_CTL3_PWM_START, IT8772F_FAN_CTL_AUTO_SMOOTHING_DIS, IT8772F_FAN_CTL_MODE, IT8772F_FAN_CTL_ON, IT8772F_FAN_CTL_POLARITY_HIGH, IT8772F_FAN_CTL_PWM_MODE_SOFTWARE, IT8772F_FAN_MAIN_CTL, IT8772F_FAN_MAIN_CTL_TAC_EN, IT8772F_FAN_MAIN_CTL_TAC_SMART, IT8772F_FAN_PWM_CLOCK_6MHZ, pnp_read_hwm5_index(), and pnp_write_hwm5_index().
Referenced by it8772f_init().
Definition at line 48 of file superio.c.
References resource::base, IT8772F_ADC_TEMP_CHANNEL_ENABLE, IT8772F_EXTEMP_ADDRESS, IT8772F_EXTEMP_COMMAND, IT8772F_EXTEMP_CONTROL, IT8772F_EXTEMP_CONTROL_AUTO_4HZ, IT8772F_EXTEMP_CONTROL_AUTO_START, IT8772F_EXTEMP_READ_LENGTH, IT8772F_EXTEMP_WRITE_LENGTH, IT8772F_INTERFACE_SEL_PECI, IT8772F_INTERFACE_SELECT, IT8772F_INTERFACE_SPEED_TOLERANCE, PECI_CLIENT_ADDRESS, PECI_GETTEMP_COMMAND, PECI_GETTEMP_READ_LENGTH, PECI_GETTEMP_WRITE_LENGTH, and pnp_write_hwm5_index().
Referenced by it8772f_init().
|
static |
Definition at line 80 of file superio.c.
References resource::base, BIOS_ERR, IT8772F_ADC_TEMP_CHANNEL_ENABLE, IT8772F_CONFIGURATION, pnp_read_hwm5_index(), pnp_write_hwm5_index(), printk, THERMAL_DIODE, and THERMAL_RESISTOR.
Referenced by it8772f_init().
Definition at line 17 of file superio.c.
References resource::base, IT8772F_EXTEMP_CONTROL, IT8772F_EXTEMP_CONTROL_AUTO_4HZ, IT8772F_EXTEMP_CONTROL_AUTO_START, IT8772F_EXTEMP_STATUS, IT8772F_EXTEMP_STATUS_HOST_BUSY, mdelay(), pnp_read_hwm5_index(), and pnp_write_hwm5_index().
Referenced by it8772f_init().
Definition at line 164 of file superio.c.
References resource::base, device::chip_info, pnp_path::device, device::enabled, superio_ite_it8772f_config::fan1_enable, superio_ite_it8772f_config::fan2_enable, superio_ite_it8772f_config::fan2_speed, superio_ite_it8772f_config::fan3_enable, superio_ite_it8772f_config::fan3_speed, superio_ite_it8772f_config::gpio_set1, superio_ite_it8772f_config::gpio_set2, superio_ite_it8772f_config::gpio_set3, superio_ite_it8772f_config::gpio_set4, superio_ite_it8772f_config::gpio_set5, superio_ite_it8772f_config::gpio_set6, IT8772F_EC, it8772f_enable_fan(), it8772f_enable_peci(), it8772f_enable_tmpin(), it8772f_extemp_force_idle_status(), IT8772F_GPIO, IT8772F_IR, IT8772F_KBCK, IT8772F_KBCM, NO_AUX_DEVICE, outb(), device::path, pc_keyboard_init(), superio_ite_it8772f_config::peci_tmpin, device_path::pnp, PNP_IDX_IO0, PNP_IDX_IO1, probe_resource(), set_kbc_ps2_mode(), superio_ite_it8772f_config::skip_keyboard, THERMAL_MODE_DISABLED, superio_ite_it8772f_config::tmpin1_mode, and superio_ite_it8772f_config::tmpin2_mode.
|
static |
Definition at line 164 of file superio.c.
Referenced by enable_dev().
|
static |
Definition at line 164 of file superio.c.
Referenced by enable_dev().
struct chip_operations superio_ite_it8772f_ops |