Searched refs:bar_offset (Results 1 – 5 of 5) sorted by relevance
| /illumos-gate/usr/src/uts/sun4u/io/pci/ |
| H A D | pci_tools.c | 727 uint8_t bar_offset; in pcitool_get_bar() local 738 bar_offset = PCI_BAR_OFFSET((*prg)); in pcitool_get_bar() 741 prg->barnum, bar_offset); in pcitool_get_bar() 748 rval = pcitool_access(pci_p, config_base_addr + bar_offset, in pcitool_get_bar() 768 (bar_offset != PCI_CONF_ROM)) { in pcitool_get_bar() 781 } else if ((PCI_BASE_TYPE_ALL & *bar) && (bar_offset != PCI_CONF_ROM)) { in pcitool_get_bar() 786 if (bar_offset >= PCI_CONF_BASE5) { in pcitool_get_bar() 793 config_base_addr + bar_offset + 4, config_max_addr, bar, in pcitool_get_bar()
|
| /illumos-gate/usr/src/uts/common/io/virtio/ |
| H A D | virtio_main.c | 2071 uint_t bar_offset, regs_length, rcount; in virtio_bar_to_rnumber() local 2080 bar_offset = PCI_CONF_BASE0 + sizeof (uint32_t) * bar; in virtio_bar_to_rnumber() 2091 if (PCI_REG_REG_G(regs[i].pci_phys_hi) == bar_offset) { in virtio_bar_to_rnumber()
|
| /illumos-gate/usr/src/uts/common/io/ena/ |
| H A D | ena.c | 687 uint_t bar_offset, regs_length, rcount; in ena_bar_to_rnumber() local 696 bar_offset = PCI_CONF_BASE0 + sizeof (uint32_t) * bar; in ena_bar_to_rnumber() 707 if (PCI_REG_REG_G(regs[i].pci_phys_hi) == bar_offset) { in ena_bar_to_rnumber()
|
| /illumos-gate/usr/src/uts/common/io/e1000g/ |
| H A D | e1000g_main.c | 1211 e1000g_get_bar_info(dev_info_t *dip, int bar_offset, bar_info_t *bar_info) in e1000g_get_bar_info() argument 1217 ASSERT((bar_offset >= PCI_CONF_BASE0) && in e1000g_get_bar_info() 1218 (bar_offset <= PCI_CONF_BASE5)); in e1000g_get_bar_info() 1234 if (PCI_REG_REG_G(regs[rnumber].pci_phys_hi) == bar_offset) { in e1000g_get_bar_info()
|
| /illumos-gate/usr/src/uts/intel/io/pci/ |
| H A D | pci_boot.c | 2446 uchar_t bar_offset; /* offset for alt status register */ member 2472 *basep += pciide_bar[bar].bar_offset; in pciide_adjust_bar()
|