Searched refs:bar_p (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/uts/sun4/io/px/ |
H A D | px_tools.c | 508 pxtool_get_bar(px_t *px_p, pcitool_reg_t *prg_p, uint64_t *bar_p, in pxtool_get_bar() argument 517 *bar_p = 0; in pxtool_get_bar() 544 rval = pxtool_pcicfg_access(px_p, &cfg_prg, bar_p, PX_ISREAD); in pxtool_get_bar() 551 DBG(DBG_TOOLS, dip, "bar returned is 0x%" PRIx64 "\n", *bar_p); in pxtool_get_bar() 557 if (((PCI_BASE_SPACE_M & *bar_p) == PCI_BASE_SPACE_IO) && in pxtool_get_bar() 560 *bar_p &= PCI_BASE_IO_ADDR_M; in pxtool_get_bar() 571 } else if ((PCI_BASE_TYPE_ALL & *bar_p) && in pxtool_get_bar() 574 uint32_t low_bytes = (uint32_t)(*bar_p & ~PCI_BASE_TYPE_ALL); in pxtool_get_bar() 586 rval = pxtool_pcicfg_access(px_p, &cfg_prg, bar_p, PX_ISREAD); in pxtool_get_bar() 596 if (*bar_p) { in pxtool_get_bar() [all …]
|