coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
npk.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
Include dependency graph for npk.c:

Go to the source code of this file.

Functions

static void npk_init (struct device *dev)
 
static void pci_npk_read_resources (struct device *dev)
 

Variables

static struct device_operations pmc_ops
 
static const struct pci_driver pch_pmc __pci_driver
 

Function Documentation

◆ npk_init()

static void npk_init ( struct device dev)
static

Definition at line 11 of file npk.c.

References BIOS_DEBUG, and printk.

◆ pci_npk_read_resources()

static void pci_npk_read_resources ( struct device dev)
static

Definition at line 18 of file npk.c.

Variable Documentation

◆ __pci_driver

const struct pci_driver pch_pmc __pci_driver
static
Initial value:
= {
.ops = &pmc_ops,
.vendor = PCI_VID_INTEL,
}
static struct device_operations pmc_ops
Definition: npk.c:23
#define PCI_DID_INTEL_DNV_TRACEHUB
Definition: pci_ids.h:2792
#define PCI_VID_INTEL
Definition: pci_ids.h:2157

Definition at line 18 of file npk.c.

◆ pmc_ops

struct device_operations pmc_ops
static
Initial value:
= {
.read_resources = pci_npk_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = npk_init,
.ops_pci = &soc_pci_ops,
}
static void npk_init(struct device *dev)
Definition: npk.c:11
static void pci_npk_read_resources(struct device *dev)
Definition: npk.c:18
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691
struct pci_operations soc_pci_ops
Definition: chip.c:51

Definition at line 18 of file npk.c.