device Struct Reference

#include <device.h>

Collaboration diagram for device:

Collaboration graph
[legend]

Data Fields

struct busbus
device_t sibling
device_t next
struct device_path path
unsigned vendor
unsigned device
unsigned int class
unsigned int hdr_type
unsigned int enabled: 1
unsigned int initialized: 1
unsigned int have_resources: 1
unsigned int on_mainboard: 1
unsigned long rom_address
uint8_t command
struct resource resource [MAX_RESOURCES]
unsigned int resources
struct bus link [MAX_LINKS]
unsigned int links
struct device_operationsops
struct chip_operationschip_ops
void * chip_info

Detailed Description

Definition at line 65 of file device.h.


Field Documentation

struct bus* device::bus [read]

struct device_path device::path [read]

Definition at line 71 of file device.h.

Referenced by acpi_add_ssdt_pstates(), acpi_create_lnxb(), acpi_create_madt_lapic_nmis(), acpi_create_madt_lapics(), acpi_create_srat_lapics(), adm1026_init(), adm1027_init(), agp_scan_bus(), alloc_dev(), amd8111_enable(), amd8131_count_dev(), amd8131_pcix_tune_dev(), amd8131_walk_children(), amd8132_count_dev(), amd8132_walk_children(), amdfam10_nodeid(), amdk8_nodeid(), bcm5785_enable(), bcm5785_lpc_enable_childrens_resources(), ck804_enable(), ck804_lpc_enable_childrens_resources(), cpu_bus_scan(), debug_init(), dev_find_slot(), dev_find_slot_on_smbus(), dev_initialize(), dev_path(), do_vgabios(), enable_dev(), esb6300_enable(), f71805f_init(), find_dev_path(), get_ide_dma66(), ht_collapse_early_enumeration(), ht_scan_get_devs(), hypertransport_scan_chain(), i2cmux2_set_link(), i2cmux_set_link(), i3100_enable(), i3100_init(), i82801ca_enable(), i82801dbm_enable(), i82801er_enable(), i82801xx_enable(), init(), init_acpi(), intel_sibling_init(), it8712f_init(), it8716f_init(), lm63_init(), lpc47b272_init(), lpc47b397_init(), lpc47b397_pnp_enable_resources(), lpc47m10x_init(), lpc47n217_init(), lpc47n217_pnp_set_drq(), lpc47n217_pnp_set_irq(), lsmbus_read_byte(), lsmbus_recv_byte(), lsmbus_send_byte(), lsmbus_write_byte(), max_apicid(), mcf3_read_resources(), mcp55_enable(), mcp55_lpc_enable_childrens_resources(), misc_control_init(), p64h2_ioapic_init(), pci_ext_read_config32(), pci_ext_write_config32(), pci_init(), pci_probe_dev(), pci_read_config16(), pci_read_config32(), pci_read_config8(), pci_write_config16(), pci_write_config32(), pci_write_config8(), pcibios(), pcibios_handler(), pcibios_vga(), pciexp_scan_bus(), pcix_scan_bus(), pnp_enable_devices(), pnp_enter_conf_state(), pnp_enter_ext_func_mode(), pnp_exit_conf_state(), pnp_exit_ext_func_mode(), pnp_read_config(), pnp_read_enable(), pnp_set_enable(), pnp_set_logical_device(), pnp_write_config(), print_smbus_regs_all(), pxhd_enable(), rl5c476_init(), rl5c476_read_resources(), rl5c476_set_resources(), root_complex_enable_dev(), rs690_enable(), run_bios(), sata_init(), sb600_enable(), sb600_lpc_enable_childrens_resources(), scan_static_bus(), set_thermal_config(), sis761_read_resources(), sis966_enable(), sis966_lpc_enable_childrens_resources(), smbus_read_byte(), smbus_set_link(), smp_write_intsrc_pci_bridge(), smsc_init(), smsc_pnp_enter_conf_state(), smsc_pnp_exit_conf_state(), vt1211_init(), vt1211_pnp_set_resources(), vt1211_set_iobase(), w83627dhg_init(), w83627ehg_init(), w83627ehg_pnp_enable_resources(), w83627hf_init(), w83627hf_pnp_enable_resources(), w83627thf_enter_ext_func_mode(), w83627thf_exit_ext_func_mode(), w83627thf_init(), w83627thg_enter_ext_func_mode(), w83627thg_exit_ext_func_mode(), w83627thg_init(), w83627uhg_enter_ext_func_mode(), w83627uhg_exit_ext_func_mode(), w83627uhg_init(), w83697hf_init(), w83977f_enter_ext_func_mode(), w83977f_exit_ext_func_mode(), w83977f_init(), w83977tf_enter_ext_func_mode(), w83977tf_exit_ext_func_mode(), and w83977tf_init().

unsigned device::vendor

unsigned device::device

unsigned int device::class

unsigned int device::hdr_type

unsigned int device::enabled

Definition at line 76 of file device.h.

Referenced by acpi_add_ssdt_pstates(), acpi_create_madt_lapic_nmis(), acpi_create_madt_lapics(), acpi_create_srat_lapics(), adm1026_init(), adm1027_init(), alloc_dev(), amd8111_enable(), amd8111_usb2_enable(), amd8131_scan_bus(), amd8132_scan_bus(), assign_resources(), bcm5785_enable(), ck804_enable(), cpu_bus_scan(), cpu_initialize(), debug_init(), dev_initialize(), dev_set_enabled(), enable_resources(), esb6300_enable(), f1_write_config32(), f71805f_init(), f71805f_pnp_enable(), hypertransport_scan_chain(), i2cmux2_set_link(), i2cmux_set_link(), i3100_enable(), i3100_init(), i3100_pnp_enable(), i82801ca_enable(), i82801dbm_enable(), i82801er_enable(), i82801xx_enable(), init(), intel_sibling_init(), ioapic_enable(), it8712f_init(), it8712f_pnp_enable(), it8716f_init(), it8716f_pnp_enable(), lm63_init(), lpc47b272_init(), lpc47b272_pnp_enable(), lpc47b397_init(), lpc47b397_pnp_enable(), lpc47m10x_init(), lpc47m10x_pnp_enable(), lpc47n217_init(), lpc47n217_pnp_enable(), mcp55_enable(), pci_domain_scan_bus(), pci_probe_dev(), pci_scan_bus(), pnp_enable(), print_pci_regs_all(), print_smbus_regs_all(), pxhd_enable(), read_resources(), rs690_enable(), sb600_enable(), scan_bus(), scan_static_bus(), set_pci_ops(), sis966_enable(), smp_write_config_table(), smsc_init(), smsc_pnp_enable(), vt1211_init(), vt1211_pnp_enable(), w83627dhg_init(), w83627dhg_pnp_enable(), w83627ehg_init(), w83627ehg_pnp_enable(), w83627hf_init(), w83627hf_pnp_enable(), w83627thf_init(), w83627thg_init(), w83627uhg_init(), w83697hf_init(), w83697hf_pnp_enable(), w83977f_init(), and w83977tf_init().

unsigned int device::initialized

Definition at line 77 of file device.h.

Referenced by cpu_initialize(), and dev_initialize().

unsigned int device::have_resources

unsigned int device::on_mainboard

unsigned long device::rom_address

struct resource device::resource[MAX_RESOURCES] [read]

unsigned int device::resources

struct bus device::link[MAX_LINKS] [read]

unsigned int device::links

Definition at line 96 of file device.h.

Referenced by debug_init(), dev_enumerate(), dev_set_enabled(), pci_probe_dev(), and scan_static_bus().


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

Generated on Wed Jan 7 15:19:29 2009 for coreboot by  doxygen 1.5.5