#include <device.h>

Data Fields | |
| struct bus * | bus |
| 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_operations * | ops |
| struct chip_operations * | chip_ops |
| void * | chip_info |
Definition at line 65 of file device.h.
struct bus* device::bus [read] |
Definition at line 66 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(), alloc_dev(), amd8111_enable(), amd8131_enable(), amd8131_pcix_tune_dev(), amd8131_scan_bus(), amdfam10_create_vga_resource(), amdfam10_nodeid(), amdk8_create_vga_resource(), amdk8_scan_chain(), bcm5785_enable(), cardbus_scan_bridge(), cpu_bus_scan(), debug_init(), dev_find_slot(), dev_find_slot_on_smbus(), dev_initialize(), dev_path(), do_pci_scan_bridge(), do_vgabios(), esb6300_enable(), find_lpc_dev(), find_sm_dev(), get_ide_dma66(), get_pbus(), get_pbus_smbus(), ht_collapse_early_enumeration(), ht_scan_get_devs(), i82801er_enable(), intel_sibling_init(), lm63_init(), lpc_init(), mcp55_enable(), 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_scan_get_dev(), pci_write_config16(), pci_write_config32(), pci_write_config8(), pcibios(), pcibios_handler(), pcibios_vga(), pnp_enable_devices(), print_smbus_regs(), print_smbus_regs_all(), pxhd_enable(), report_resource_stored(), run_bios(), sb600_enable(), scan_bus(), scan_static_bus(), set_thermal_config(), sis966_enable(), and smbus_set_link().
Definition at line 68 of file device.h.
Referenced by agp_scan_bus(), alloc_dev(), amd8131_pcix_tune_dev(), amd8131_walk_children(), amd8132_walk_children(), assign_resources(), bcm5785_lpc_enable_childrens_resources(), ck804_lpc_enable_childrens_resources(), cpu_bus_scan(), disable_children(), enable_childrens_resources(), find_dev_path(), ht_scan_get_devs(), hypertransport_scan_chain(), mcp55_lpc_enable_childrens_resources(), pci_scan_bus(), pci_scan_get_dev(), pciexp_scan_bus(), pcix_scan_bus(), print_smbus_regs_all(), read_resources(), sb600_lpc_enable_childrens_resources(), scan_static_bus(), search_bus_resources(), sis966_lpc_enable_childrens_resources(), and smp_write_intsrc_pci_bridge().
Definition at line 69 of file device.h.
Referenced by acpi_add_ssdt_pstates(), acpi_create_madt_lapic_nmis(), acpi_create_madt_lapics(), acpi_create_srat_lapics(), alloc_dev(), dev_find_class(), dev_find_device(), dev_find_slot(), dev_find_slot_on_smbus(), dev_initialize(), max_apicid(), search_global_resources(), smp_write_processors(), and smp_write_processors_inorder().
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 |
Definition at line 72 of file device.h.
Referenced by amd8111_enable(), bcm5785_enable(), cpu_initialize(), dev_find_device(), do_vgabios(), esb6300_enable(), find_ide_controller(), find_lpc_dev(), find_sm_dev(), ht_collapse_early_enumeration(), hypertransport_scan_chain(), i82801er_enable(), identify_cpu(), pci_rom_probe(), sb600_enable(), set_cpu_ops(), and set_pci_ops().
| unsigned device::device |
Definition at line 73 of file device.h.
Referenced by amd8111_enable(), bcm5785_enable(), ck804_enable(), cpu_initialize(), dev_find_device(), display_cpuid(), do_vgabios(), esb6300_enable(), find_ide_controller(), find_lpc_dev(), find_sm_dev(), get_hcid(), ht_collapse_early_enumeration(), hypertransport_scan_chain(), i82801er_enable(), identify_cpu(), mcp55_enable(), model_c7_init(), model_fxx_init(), pci_rom_probe(), sb600_enable(), set_cpu_ops(), set_pci_ops(), and sis966_enable().
| unsigned int device::class |
Definition at line 74 of file device.h.
Referenced by dev_find_class(), find_ide_controller(), pci_dev_init(), pci_rom_probe(), set_pci_ops(), and smp_write_intsrc_pci_bridge().
| unsigned int device::hdr_type |
Definition at line 75 of file device.h.
Referenced by amd8131_count_dev(), amd8131_pcix_tune_dev(), amd8131_walk_children(), amd8132_count_dev(), amd8132_pcix_tune_dev(), amd8132_walk_children(), dump_pci_devices(), dump_pci_devices_on_bus(), ht_collapse_early_enumeration(), northbridge_set_resources(), pci_dev_set_resources(), pci_find_next_capability(), pci_probe_dev(), pci_scan_bus(), pcix_tune_dev(), print_pci_devices(), print_pci_devices_on_bus(), set_pci_ops(), and set_resources().
| 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 |
| unsigned int device::have_resources |
Definition at line 78 of file device.h.
Referenced by bcm5785_lpc_enable_childrens_resources(), ck804_lpc_enable_childrens_resources(), mcp55_lpc_enable_childrens_resources(), read_resources(), sb600_lpc_enable_childrens_resources(), search_bus_resources(), search_global_resources(), and sis966_lpc_enable_childrens_resources().
| unsigned int device::on_mainboard |
Definition at line 79 of file device.h.
Referenced by ich_pci_dev_enable_resources(), internal_gfx_pci_dev_init(), pci_dev_enable_resources(), pci_get_rom_resource(), pci_rom_probe(), vga_init(), and vga_read_resources().
| unsigned long device::rom_address |
Definition at line 80 of file device.h.
Referenced by ck804_enable(), do_vgabios(), internal_gfx_pci_dev_init(), onboard_enable(), pci_get_rom_resource(), pci_rom_probe(), vga_init(), and vga_read_resources().
Definition at line 82 of file device.h.
Referenced by ich_pci_bus_enable_resources(), ich_pci_dev_enable_resources(), pci_bus_enable_resources(), pci_dev_enable_resources(), pci_set_resource(), and pic_read_resources().
struct resource device::resource[MAX_RESOURCES] [read] |
Definition at line 85 of file device.h.
Referenced by amdfam10_set_resources(), amdk8_set_resources(), ati_ragexl_init(), bcm5785_lpc_enable_childrens_resources(), ck804_lpc_enable_childrens_resources(), compact_resources(), dev_configure(), lpc47n217_pnp_set_resources(), mc_set_resources(), mcp55_lpc_enable_childrens_resources(), new_resource(), northbridge_set_resources(), pci_dev_set_resources(), pci_domain_set_resources(), pci_init(), pnp_set_resources(), probe_resource(), read_resources(), root_dev_set_resources(), sb600_lpc_enable_childrens_resources(), search_bus_resources(), search_global_resources(), set_resources(), sis966_lpc_enable_childrens_resources(), and vt1211_pnp_set_resources().
| unsigned int device::resources |
Definition at line 86 of file device.h.
Referenced by amdfam10_set_resources(), amdk8_set_resources(), assign_resources(), bcm5785_lpc_enable_childrens_resources(), ck804_lpc_enable_childrens_resources(), compact_resources(), lpc47n217_pnp_set_resources(), mc_set_resources(), mcp55_lpc_enable_childrens_resources(), new_resource(), northbridge_set_resources(), pci_dev_set_resources(), pci_domain_set_resources(), pnp_set_resources(), probe_resource(), read_resources(), sb600_lpc_enable_childrens_resources(), search_bus_resources(), search_global_resources(), set_resources(), sis966_lpc_enable_childrens_resources(), and vt1211_pnp_set_resources().
struct bus device::link[MAX_LINKS] [read] |
Definition at line 91 of file device.h.
Referenced by adt7463_init(), alloc_dev(), amd8131_walk_children(), amd8132_walk_children(), amdfam10_create_vga_resource(), amdfam10_link_read_bases(), amdfam10_read_resources(), amdfam10_scan_chain(), amdfam10_set_resource(), amdfam10_set_resources(), amdk8_create_vga_resource(), amdk8_link_read_bases(), amdk8_read_resources(), amdk8_scan_chain(), amdk8_set_resource(), amdk8_set_resources(), bcm5785_lpc_enable_childrens_resources(), cardbus_enable_resources(), cardbus_scan_bridge(), cardbus_size_bridge_resource(), ck804_lpc_enable_childrens_resources(), cpu_bus_init(), cpu_bus_scan(), disable_children(), do_pci_scan_bridge(), enable_childrens_resources(), ich_pci_bus_enable_resources(), mcp55_lpc_enable_childrens_resources(), misc_control_init(), northbridge_set_resources(), pci_bus_enable_resources(), pci_dev_set_resources(), pci_domain_read_resources(), pci_domain_scan_bus(), pci_domain_set_resources(), pci_record_bridge_resource(), pci_set_resource(), pcix_scan_bridge(), print_smbus_regs_all(), pxhd_scan_bridge(), read_resources(), report_resource_stored(), rl5c476_set_resources(), root_dev_read_resources(), root_dev_set_resources(), sb600_lpc_enable_childrens_resources(), scan_bus(), scan_root_bus(), scan_static_bus(), search_bus_resources(), set_io_addr_reg(), set_resources(), sis966_lpc_enable_childrens_resources(), and smp_write_intsrc_pci_bridge().
| unsigned int device::links |
Definition at line 93 of file device.h.
Referenced by amdfam10_create_vga_resource(), amdfam10_read_resources(), amdfam10_scan_chains(), amdfam10_set_resources(), amdk8_create_vga_resource(), amdk8_read_resources(), amdk8_scan_chains(), amdk8_set_resources(), bcm5785_lpc_enable_childrens_resources(), cardbus_scan_bridge(), ck804_lpc_enable_childrens_resources(), cpu_bus_scan(), disable_children(), do_pci_scan_bridge(), enable_childrens_resources(), enable_dev(), mcp55_lpc_enable_childrens_resources(), northbridge_set_resources(), pci_dev_set_resources(), pci_domain_read_resources(), pci_domain_scan_bus(), pci_domain_set_resources(), print_smbus_regs_all(), pxhd_scan_bridge(), read_resources(), sb600_lpc_enable_childrens_resources(), scan_bus(), scan_root_bus(), scan_static_bus(), set_resources(), sis966_lpc_enable_childrens_resources(), and smp_write_intsrc_pci_bridge().
struct device_operations* device::ops [read] |
Definition at line 95 of file device.h.
Referenced by assign_resources(), cpu_initialize(), dev_configure(), dev_enumerate(), dev_initialize(), dev_set_enabled(), enable_dev(), enable_resources(), get_pbus(), get_pbus_smbus(), ops_pci(), ops_pci_bus(), ops_smbus_bus(), pci_set_method(), print_smbus_regs_all(), read_resources(), reset_bus(), root_complex_enable_dev(), scan_bus(), scan_static_bus(), set_cpu_ops(), set_pci_ops(), smbus_set_link(), and vga_configure_pci().
struct chip_operations* device::chip_ops [read] |
Definition at line 96 of file device.h.
Referenced by debug_init(), dev_enumerate(), dev_set_enabled(), pci_probe_dev(), and scan_static_bus().
| void* device::chip_info |
Definition at line 97 of file device.h.
Referenced by chipsetinit(), ck804_enable(), config_gpp_core(), dbm690t_enable(), dual_port_configuration(), dynamic_link_width_control(), enable_dev(), esb6300_gpio_init(), esb6300_pirq_init(), f71805f_init(), find_verb(), i3100_gpio_init(), i3100_init(), i3100_pirq_init(), i82801er_gpio_init(), i82801er_pirq_init(), ide_init(), ide_init_enable(), ide_init_udma33(), init(), internal_gfx_pci_dev_init(), it8712f_init(), it8716f_init(), lpc47b272_init(), lpc47b397_init(), lpc47m10x_init(), lpc47n217_init(), mcp55_enable(), nic_init(), northbridge_init(), onboard_enable(), pcie_init(), PciePowerOffGppPorts(), pistachio_enable(), rs690_gfx_init(), rs690_gpp_sb_init(), sata_init(), single_port_configuration(), sis966_enable(), smsc_init(), southbridge_init(), switching_gpp_configurations(), usb1_init(), vga_init(), vt1211_init(), vt8231_enable(), vt8231_init(), vt8235_enable(), vt8237r_enable(), w83627dhg_init(), w83627ehg_init(), w83627hf_init(), w83627thf_init(), w83627thg_init(), w83627uhg_init(), w83697hf_init(), w83977f_init(), and w83977tf_init().
1.5.5