Lines Matching defs:bar_offset
727 uint8_t bar_offset;
738 bar_offset = PCI_BAR_OFFSET((*prg));
740 DEBUG2(DBG_TOOLS, dip, "barnum:%d, bar_offset:0x%x\n",
741 prg->barnum, bar_offset);
745 * bar_offset is the offset into config space of the BAR desired.
748 rval = pcitool_access(pci_p, config_base_addr + bar_offset,
768 (bar_offset != PCI_CONF_ROM)) {
781 } else if ((PCI_BASE_TYPE_ALL & *bar) && (bar_offset != PCI_CONF_ROM)) {
786 if (bar_offset >= PCI_CONF_BASE5) {
793 config_base_addr + bar_offset + 4, config_max_addr, bar,