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 <pc80/keyboard.h>
#include <superio/conf_mode.h>
#include "it8712f.h"
Include dependency graph for superio.c:

Go to the source code of this file.

Functions

static void it8712f_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_it8712f_ops
 

Function Documentation

◆ enable_dev()

static void enable_dev ( struct device dev)
static

Definition at line 62 of file superio.c.

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

Here is the call graph for this function:

◆ it8712f_init()

static void it8712f_init ( struct device dev)
static

Variable Documentation

◆ ops

struct device_operations ops
static
Initial value:
= {
.read_resources = pnp_read_resources,
.set_resources = pnp_set_resources,
.enable_resources = pnp_enable_resources,
.enable = pnp_alt_enable,
.init = it8712f_init,
.ops_pnp_mode = &pnp_conf_mode_870155_aa,
}
const struct pnp_mode_ops pnp_conf_mode_870155_aa
Definition: conf_mode.c:229
static void it8712f_init(struct device *dev)
Definition: superio.c:10
void pnp_read_resources(struct device *dev)
Definition: pnp_device.c:114
void pnp_set_resources(struct device *dev)
Definition: pnp_device.c:157
void pnp_alt_enable(struct device *dev)
Definition: pnp_device.c:191
void pnp_enable_resources(struct device *dev)
Definition: pnp_device.c:173

Definition at line 10 of file superio.c.

Referenced by enable_dev().

◆ pnp_dev_info

struct pnp_info pnp_dev_info[]
static
Initial value:
= {
{ NULL, IT8712F_SP1, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
{ NULL, IT8712F_SP2, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
{ NULL, IT8712F_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, 0x0ffc, },
{ NULL, IT8712F_EC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0ff8, 0x0ff8, },
{ NULL, IT8712F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x0fff, 0x0fff, },
0x0fff, 0x0ff8, 0x0ff8, },
{ NULL, IT8712F_MIDI, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
{ NULL, IT8712F_GAME, PNP_IO0, 0x0fff, },
{ NULL, IT8712F_IR, PNP_IO0 | PNP_IRQ0, 0x0ff8, },
}
#define IT8712F_SP2
Definition: it8712f.h:10
#define IT8712F_SP1
Definition: it8712f.h:9
#define IT8712F_IR
Definition: it8712f.h:18
#define IT8712F_MIDI
Definition: it8712f.h:16
#define IT8712F_GAME
Definition: it8712f.h:17
#define IT8712F_PP
Definition: it8712f.h:11
#define IT8712F_KBCM
Definition: it8712f.h:14
#define IT8712F_KBCK
Definition: it8712f.h:13
#define IT8712F_EC
Definition: it8712f.h:12
#define IT8712F_GPIO
Definition: it8712f.h:15
#define IT8712F_FDC
Definition: it8712f.h:8
#define PNP_DRQ0
Definition: pnp.h:49
#define PNP_IO1
Definition: pnp.h:43
#define PNP_IO2
Definition: pnp.h:44
#define PNP_IO0
Definition: pnp.h:42
#define PNP_IRQ0
Definition: pnp.h:47
#define NULL
Definition: stddef.h:19

Definition at line 10 of file superio.c.

Referenced by enable_dev().

◆ superio_ite_it8712f_ops

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

Definition at line 62 of file superio.c.