FreeBSD kernel amd64 PCI device code
|
#include <machine/bus.h>
Go to the source code of this file.
Variables | |
INTERFACE | pci_dw |
METHOD uint32_t | dbi_read |
u_int | reg |
int | width |
METHOD void | dbi_write |
uint32_t | value |
METHOD int | set_link |
bool | start |
METHOD int | get_link |
bool * | status |
METHOD uint32_t dbi_read |
Read from dbi space. The reg argument is a byte offset into dbi space. The width argument (which should be 1, 2 or 4) specifies how many bytes to read from that offset.
Definition at line 40 of file pci_dw_if.m.
METHOD void dbi_write |
Write to dbi space. The reg argument is a byte offset into dbi space. The width argument (which should be 1, 2 or 4) specifies how many bytes to write to that offset.
Definition at line 52 of file pci_dw_if.m.
METHOD int get_link |
INTERFACE pci_dw |
Definition at line 31 of file pci_dw_if.m.
u_int reg |
Definition at line 42 of file pci_dw_if.m.
Referenced by generic_pcie_fdt_route_interrupt(), generic_pcie_ofw_bus_attach(), generic_pcie_read_config(), generic_pcie_write_config(), n1sdp_get_bus_space(), n1sdp_pcie_read_config(), n1sdp_pcie_write_config(), pci_add_bar(), pci_add_map(), pci_cfgenable(), pci_cfgregread(), pci_cfgregwrite(), pci_docfgregread(), pci_dw_check_dev(), pci_dw_dbi_protect(), pci_dw_dbi_rd1(), pci_dw_dbi_rd2(), pci_dw_dbi_rd4(), pci_dw_dbi_read(), pci_dw_dbi_wr1(), pci_dw_dbi_wr2(), pci_dw_dbi_wr4(), pci_dw_dbi_write(), pci_dw_detect_out_atu_regions_legacy(), pci_dw_detect_out_atu_regions_unroll(), pci_dw_map_out_atu_legacy(), pci_dw_map_out_atu_unroll(), pci_dw_read_config(), pci_dw_setup_hw(), pci_dw_write_config(), pci_find_bar(), pci_hostb_read_config(), pci_hostb_write_config(), pci_mv_get_link(), pci_mv_init(), pci_read_bar(), pci_read_config_method(), pci_read_vpd_reg(), pci_write_config_method(), pcib_read_config(), pcib_write_config(), pcie_adjust_config(), pcie_read_config(), pcie_write_config(), pciereg_cfgread(), pciereg_cfgwrite(), pcireg_cfgread(), pcireg_cfgwrite(), vga_pci_read_config(), vga_pci_write_config(), and vpd_nextbyte().
METHOD int set_link |
int start |
Definition at line 64 of file pci_dw_if.m.
Referenced by generic_pcie_activate_resource(), generic_pcie_adjust_resource(), generic_pcie_translate_resource(), generic_pcie_translate_resource_common(), isab_pci_alloc_resource(), pci_add_map(), pci_add_resources_ea(), pci_alloc_multi_resource(), pci_alloc_resource(), pci_find_next_cap_method(), pci_find_next_extcap_method(), pci_find_next_htcap_method(), pci_host_acpi_get_ecam_resource(), pci_host_generic_core_alloc_resource(), pci_hostb_alloc_resource(), pci_hostb_find_next_cap(), pci_hostb_find_next_extcap(), pci_hostb_find_next_htcap(), pci_iov_alloc_bar(), pci_iov_alloc_bar_ea(), pci_reserve_map(), pci_vf_alloc_mem_resource(), pcib_alloc_resource(), vga_pci_alloc_resource(), vga_pci_find_next_cap(), vga_pci_find_next_extcap(), and vga_pci_find_next_htcap().
bool* status |
Definition at line 72 of file pci_dw_if.m.
Referenced by n1sdp_pcie_acpi_attach(), n1sdp_pcie_acpi_probe(), pci_dw_check_dev(), pci_find_cap_method(), pci_get_powerstate_method(), pci_host_acpi_get_ecam_resource(), pci_host_generic_acpi_init(), pci_mv_get_link(), pci_print_faulted_dev(), pci_print_verbose(), and pci_set_powerstate_method().
uint32_t value |
Definition at line 55 of file pci_dw_if.m.
Referenced by pci_add_bar(), pci_iov_schema_validate_uint(), pci_write_ivar(), pcie_adjust_config(), and pcie_write_config().
int width |
Definition at line 43 of file pci_dw_if.m.
Referenced by pci_bar_io(), pci_dw_dbi_read(), pci_dw_dbi_write(), pci_hostb_read_config(), pci_hostb_write_config(), pci_read_config_method(), pci_write_config_method(), pcib_read_config(), pcib_write_config(), pcie_adjust_config(), pcie_read_config(), pcie_write_config(), vga_pci_read_config(), and vga_pci_write_config().