static void phprm_dump_func_res( struct pci_func *fun) { struct pci_func *func = fun; if (func->bus_head) { dbg(": BUS Resources:\n"); print_pci_resource (func->bus_head); } if (func->io_head) { dbg(": IO Resources:\n"); print_pci_resource (func->io_head); } if (func->mem_head) { dbg(": MEM Resources:\n"); print_pci_resource (func->mem_head); } if (func->p_mem_head) { dbg(": PMEM Resources:\n"); print_pci_resource (func->p_mem_head); } }
static void print_slot_resources( struct acpi_php_slot *aps) { if (aps->bus_head) { dbg(" BUS Resources:\n"); print_pci_resource (aps->bus_head); } if (aps->io_head) { dbg(" IO Resources:\n"); print_pci_resource (aps->io_head); } if (aps->mem_head) { dbg(" MEM Resources:\n"); print_pci_resource (aps->mem_head); } if (aps->p_mem_head) { dbg(" PMEM Resources:\n"); print_pci_resource (aps->p_mem_head); } }
static void print_pci_resources( struct acpi_bridge *ab) { if (ab->tbus_head) { dbg(" Total BUS Resources:\n"); print_pci_resource (ab->tbus_head); } if (ab->bus_head) { dbg(" BUS Resources:\n"); print_pci_resource (ab->bus_head); } if (ab->tio_head) { dbg(" Total IO Resources:\n"); print_pci_resource (ab->tio_head); } if (ab->io_head) { dbg(" IO Resources:\n"); print_pci_resource (ab->io_head); } if (ab->tmem_head) { dbg(" Total MEM Resources:\n"); print_pci_resource (ab->tmem_head); } if (ab->mem_head) { dbg(" MEM Resources:\n"); print_pci_resource (ab->mem_head); } if (ab->tp_mem_head) { dbg(" Total PMEM Resources:\n"); print_pci_resource (ab->tp_mem_head); } if (ab->p_mem_head) { dbg(" PMEM Resources:\n"); print_pci_resource (ab->p_mem_head); } if (ab->_hpp) { dbg(" _HPP: cache_line_size=0x%x\n", ab->_hpp->cache_line_size); dbg(" _HPP: latency timer =0x%x\n", ab->_hpp->latency_timer); dbg(" _HPP: enable SERR =0x%x\n", ab->_hpp->enable_serr); dbg(" _HPP: enable PERR =0x%x\n", ab->_hpp->enable_perr); } }