coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
superio.c File Reference
#include <device/device.h>
#include <device/pnp.h>
#include <console/console.h>
#include <pc80/keyboard.h>
Include dependency graph for superio.c:

Go to the source code of this file.

Functions

void m3885_configure_multikey (void)
 
static void m3885x_init (struct device *dev)
 
static void m3885x_read_resources (struct device *dev)
 
static void m3885x_enable_resources (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_renesas_m3885x_ops
 

Function Documentation

◆ enable_dev()

static void enable_dev ( struct device dev)
static

Definition at line 42 of file superio.c.

References ARRAY_SIZE, ops, pnp_dev_info, and pnp_enable_devices().

Here is the call graph for this function:

◆ m3885_configure_multikey()

void m3885_configure_multikey ( void  )

Definition at line 210 of file m3885.c.

References ARRAY_SIZE, BIOS_DEBUG, function_ram, KBD_DATA, KBD_SC, m3885_get_variable(), m3885_read_port(), m3885_set_proc_ram(), m3885_set_variable(), matrix, outb(), printk, TH0CRIT, TH0HIGH, TH0LOW, TH1HIGH, TH1LOW, udelay(), and variables.

Referenced by m3885x_init().

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

◆ m3885x_enable_resources()

static void m3885x_enable_resources ( struct device dev)
static

Definition at line 27 of file superio.c.

◆ m3885x_init()

static void m3885x_init ( struct device dev)
static

Definition at line 10 of file superio.c.

References BIOS_DEBUG, device::enabled, m3885_configure_multikey(), NO_AUX_DEVICE, pc_keyboard_init(), printk, and set_kbc_ps2_mode().

Here is the call graph for this function:

◆ m3885x_read_resources()

static void m3885x_read_resources ( struct device dev)
static

Definition at line 22 of file superio.c.

Variable Documentation

◆ ops

struct device_operations ops
static
Initial value:
= {
.init = m3885x_init,
.read_resources = m3885x_read_resources,
.enable_resources = m3885x_enable_resources
}
static void m3885x_init(struct device *dev)
Definition: superio.c:10
static void m3885x_read_resources(struct device *dev)
Definition: superio.c:22
static void m3885x_enable_resources(struct device *dev)
Definition: superio.c:27

Definition at line 27 of file superio.c.

Referenced by enable_dev().

◆ pnp_dev_info

struct pnp_info pnp_dev_info[]
static
Initial value:
= {
{ NULL, 0, 0, 0, }
}
#define NULL
Definition: stddef.h:19

Definition at line 27 of file superio.c.

Referenced by enable_dev().

◆ superio_renesas_m3885x_ops

struct chip_operations superio_renesas_m3885x_ops
Initial value:
= {
.enable_dev = enable_dev,
}
static void enable_dev(struct device *dev)
Definition: superio.c:42

Definition at line 42 of file superio.c.