Searched refs:barnum (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools_var.h56 #define PCI_BAR_OFFSET(x) (pci_bars[x.barnum])
H A Dpx_tools.c432 if (prg->barnum >= (sizeof (pci_bars) / sizeof (pci_bars[0]))) {
536 "off_in_space:0x%" PRIx64 ", phys_addr:0x%" PRIx64 ", barnum:%d\n",
537 off_in_space, cfg_prg.phys_addr, cfg_prg.barnum);
655 DBG(DBG_TOOLS, dip, "barnum:0x%x, offset:0x%" PRIx64 ", acc:0x%x\n",
656 prg.barnum, prg.offset, prg.acc_attr);
661 if (prg.barnum == 0) { /* Proper config space desired. */
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c268 prg.barnum = JBUS_BANK;
272 prg.barnum = PCIE_BANK;
312 prg.barnum = JBUS_BANK;
316 prg.barnum = PCIE_BANK;
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c383 if (prg.barnum >= numbanks) {
389 base_addr = px_rp[prg.barnum].phys_addr;
395 base_addr, prg.offset, prg.phys_addr, px_rp[prg.barnum].size);
397 if (prg.offset >= px_rp[prg.barnum].size) {
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_tools.h78 * Pass this through barnum to signal to use a base addr instead.
226 uint8_t barnum; /* bank (DEVCTL_NEXUS_SET/GET_REG) or */ member in struct:pcitool_reg
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_tools.c68 #define PCI_BAR_OFFSET(x) (pci_bars[x.barnum])
662 if (prg.barnum >=
670 base_addr = pci_rp[prg.barnum].phys_addr;
671 max_addr = base_addr + pci_rp[prg.barnum].size;
704 if (prg->barnum >= (sizeof (pci_bars) / sizeof (pci_bars[0]))) {
740 DEBUG2(DBG_TOOLS, dip, "barnum:%d, bar_offset:0x%x\n",
741 prg->barnum, bar_offset);
895 if (prg.barnum == 0) {
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_tools_4v.c482 DBG(DBG_TOOLS, dip, "barnum:0x%x, offset:0x%" PRIx64 ", acc:0x%x\n",
483 prg.barnum, prg.offset, prg.acc_attr);
493 if (prg.barnum != PCITOOL_BASE) {
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c960 if (prg.barnum >= (sizeof (pci_bars) / sizeof (pci_bars[0]))) {
987 if (prg.barnum == 0) {
1019 prg2.offset = pci_bars[prg2.barnum];
1025 "barnum:%d, bar_offset:0x%" PRIx64 "\n",
1026 prg2.barnum, prg2.offset);
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c448 cfg_prg.barnum = 0;
476 cfg_prg.barnum = 0;
760 prg.barnum = 0; /* Config space. */
1349 * For nexus, barnum is the exact bank number, unless it is 0xFF, which
1353 * For devices, barnum is the offset to the desired BAR, or 0 for
1358 prg.barnum = PCITOOL_BASE;
1361 prg.barnum = input_args_p->bank;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c578 prg.barnum = 0;
601 prg.barnum = 0;
624 prg.barnum = 0;

Completed in 223 milliseconds