Searched refs:barnum (Results 1 - 10 of 10) sorted by relevance
| /illumos-gate/usr/src/uts/sun4/io/px/ |
| H A D | px_tools_var.h | 56 #define PCI_BAR_OFFSET(x) (pci_bars[x.barnum])
|
| H A D | px_tools.c | 432 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 D | fpc-impl-4u.c | 268 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 D | px_tools_4u.c | 383 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 D | pci_tools.h | 78 * 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 D | pci_tools.c | 68 #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 D | px_tools_4v.c | 482 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 D | pci_tools.c | 960 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 D | pcitool.c | 448 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 D | opl_picl.c | 578 prg.barnum = 0; 601 prg.barnum = 0; 624 prg.barnum = 0;
|
Completed in 223 milliseconds