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

Go to the source code of this file.

Functions

static void hda_init (struct device *dev)
 

Variables

static struct device_operations hda_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver pch_hda __pci_driver
 

Function Documentation

◆ hda_init()

static void hda_init ( struct device dev)
static

Definition at line 8 of file hda.c.

References azalia_audio_init(), and CONFIG.

Here is the call graph for this function:

Variable Documentation

◆ __pci_driver

const struct pci_driver pch_hda __pci_driver
static
Initial value:
= {
.ops = &hda_ops,
.vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
}
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
static struct device_operations hda_ops
Definition: hda.c:14
static const unsigned short pci_device_ids[]
Definition: hda.c:23

Definition at line 23 of file hda.c.

◆ hda_ops

struct device_operations hda_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = hda_init,
.ops_pci = &pci_dev_ops_pci,
.scan_bus = scan_static_bus
}
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
void scan_static_bus(struct device *bus)
Definition: root_device.c:89
static void hda_init(struct device *dev)
Definition: hda.c:8

Definition at line 8 of file hda.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static

Definition at line 23 of file hda.c.