coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/pnp.h>
#include <device/device.h>
#include <superio/conf_mode.h>
#include "nct5104d.h"
#include "chip.h"
Go to the source code of this file.
Functions | |
static void | set_irq_trigger_type (struct device *dev, bool trig_level) |
static void | route_pins_to_uart (struct device *dev, bool to_uart) |
static void | reset_gpio_default_in (struct device *dev) |
static void | reset_gpio_default_od (struct device *dev) |
static void | disable_gpio_io_port (struct device *dev) |
static void | nct5104d_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_nuvoton_nct5104d_ops |
Definition at line 141 of file superio.c.
References BIOS_WARNING, dev_find_slot_pnp(), device::enabled, NCT5104D_GPIO0, NCT5104D_GPIO1, NCT5104D_GPIO6, device::path, device_path::pnp, pnp_path::port, and printk.
Referenced by nct5104d_init().
Definition at line 229 of file superio.c.
References ARRAY_SIZE, ops, pnp_dev_info, and pnp_enable_devices().
Definition at line 164 of file superio.c.
References __fallthrough, device::chip_info, pnp_path::device, disable_gpio_io_port(), device::enabled, superio_nuvoton_nct5104d_config::irq_trigger_type, NCT5104D_GPIO0, NCT5104D_GPIO1, NCT5104D_GPIO6, NCT5104D_GPIO_IO, NCT5104D_GPIO_PP_OD, NCT5104D_SP1, NCT5104D_SP2, NCT5104D_SP3, NCT5104D_SP4, device::path, device_path::pnp, pnp_enter_conf_mode(), pnp_exit_conf_mode(), reset_gpio_default_in(), reset_gpio_default_od(), superio_nuvoton_nct5104d_config::reset_gpios, route_pins_to_uart(), and set_irq_trigger_type().
Definition at line 97 of file superio.c.
References pnp_path::device, NCT5104D_GPIO0_IO, device::path, device_path::pnp, pnp_set_logical_device(), and pnp_write_config().
Referenced by nct5104d_init().
Definition at line 110 of file superio.c.
References dev_find_slot_pnp(), pnp_path::device, device::enabled, NCT5104D_GPIO0, NCT5104D_GPIO0_PP_OD, NCT5104D_GPIO1, NCT5104D_GPIO6, device::path, device_path::pnp, pnp_set_logical_device(), pnp_write_config(), and pnp_path::port.
Referenced by nct5104d_init().
Definition at line 67 of file superio.c.
References pnp_path::device, NCT5104D_GPIO0, NCT5104D_GPIO1, NCT5104D_SP3, NCT5104D_SP4, device::path, device_path::pnp, pnp_read_config(), and pnp_write_config().
Referenced by nct5104d_init().
Definition at line 11 of file superio.c.
References CR26_LOCK_REG, pnp_path::device, GLOBAL_OPTION_CR26, IRQ_TYPE_SEL_CR10, IRQ_TYPE_SEL_CR11, NCT5104D_SP1, NCT5104D_SP2, NCT5104D_SP3, NCT5104D_SP4, device::path, device_path::pnp, pnp_read_config(), and pnp_write_config().
Referenced by nct5104d_init().
|
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_nuvoton_nct5104d_ops |