coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
thermal.c File Reference
#include <device/mmio.h>
#include <device/pci_ops.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include "i82801jx.h"
Include dependency graph for thermal.c:

Go to the source code of this file.

Functions

static void thermal_init (struct device *dev)
 

Variables

static struct device_operations device_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver ich10_thermal __pci_driver
 

Function Documentation

◆ thermal_init()

static void thermal_init ( struct device dev)
static

Definition at line 11 of file thermal.c.

Variable Documentation

◆ __pci_driver

const struct pci_driver ich10_thermal __pci_driver
static
Initial value:
= {
.ops = &device_ops,
.vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
}
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
static struct device_operations device_ops
Definition: thermal.c:33
static const unsigned short pci_device_ids[]
Definition: thermal.c:41

Definition at line 41 of file thermal.c.

◆ device_ops

struct device_operations device_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = thermal_init,
.ops_pci = &pci_dev_ops_pci,
}
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_read_resources(struct device *dev)
Definition: pci_device.c:534
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
Definition: pci_device.c:911
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691
static void thermal_init(struct device *dev)
Definition: thermal.c:11

Definition at line 11 of file thermal.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0x3a32,
0x3a62,
0
}

Definition at line 41 of file thermal.c.