coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
device_operations Struct Reference

#include <device.h>

Collaboration diagram for device_operations:
Collaboration graph

Data Fields

void(* read_resources )(struct device *dev)
 
void(* set_resources )(struct device *dev)
 
void(* enable_resources )(struct device *dev)
 
void(* init )(struct device *dev)
 
void(* final )(struct device *dev)
 
void(* scan_bus )(struct device *bus)
 
void(* enable )(struct device *dev)
 
void(* vga_disable )(struct device *dev)
 
void(* reset_bus )(struct bus *bus)
 
const struct pci_operations * ops_pci
 
const struct i2c_bus_operationsops_i2c_bus
 
const struct spi_bus_operationsops_spi_bus
 
const struct smbus_bus_operationsops_smbus_bus
 
const struct pnp_mode_opsops_pnp_mode
 
const struct gpio_operationsops_gpio
 

Detailed Description

Definition at line 38 of file device.h.

Field Documentation

◆ enable

void(* device_operations::enable) (struct device *dev)

◆ enable_resources

void(* device_operations::enable_resources) (struct device *dev)

Definition at line 41 of file device.h.

Referenced by enable_resources().

◆ final

void(* device_operations::final) (struct device *dev)

Definition at line 43 of file device.h.

Referenced by final_dev(), and mainboard_enable().

◆ init

void(* device_operations::init) (struct device *dev)

Definition at line 42 of file device.h.

Referenced by cpu_initialize(), init_dev(), and mainboard_enable().

◆ ops_gpio

const struct gpio_operations* device_operations::ops_gpio

Definition at line 67 of file device.h.

Referenced by dev_get_gpio_ops().

◆ ops_i2c_bus

const struct i2c_bus_operations* device_operations::ops_i2c_bus

◆ ops_pci

const struct pci_operations* device_operations::ops_pci

◆ ops_pnp_mode

const struct pnp_mode_ops* device_operations::ops_pnp_mode

Definition at line 66 of file device.h.

Referenced by pnp_enter_conf_mode(), and pnp_exit_conf_mode().

◆ ops_smbus_bus

const struct smbus_bus_operations* device_operations::ops_smbus_bus

◆ ops_spi_bus

const struct spi_bus_operations* device_operations::ops_spi_bus

Definition at line 64 of file device.h.

Referenced by spi_acpi_get_bus().

◆ read_resources

void(* device_operations::read_resources) (struct device *dev)

◆ reset_bus

void(* device_operations::reset_bus) (struct bus *bus)

Definition at line 47 of file device.h.

Referenced by reset_bus().

◆ scan_bus

void(* device_operations::scan_bus) (struct device *bus)

Definition at line 44 of file device.h.

Referenced by dev_enumerate(), scan_bridges(), and scan_bus().

◆ set_resources

void(* device_operations::set_resources) (struct device *dev)

Definition at line 40 of file device.h.

Referenced by assign_resources().

◆ vga_disable

void(* device_operations::vga_disable) (struct device *dev)

Definition at line 46 of file device.h.

Referenced by set_vga_bridge_bits().


The documentation for this struct was generated from the following file: