/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_arch.c | 101 rp->regspec_bustype, rp->regspec_addr, rp->regspec_size, in i_ddi_bus_map() 113 if (rp->regspec_bustype > 1 && rp->regspec_addr != 0) { in i_ddi_bus_map() 117 rp->regspec_addr, rp->regspec_size); in i_ddi_bus_map() 121 if (rp->regspec_bustype > 1 && rp->regspec_addr == 0) { in i_ddi_bus_map() 130 rp->regspec_addr += (uint_t)offset; in i_ddi_bus_map() 141 rp->regspec_bustype, rp->regspec_addr, rp->regspec_size, in i_ddi_bus_map() 197 if (rp->regspec_addr < rangep->rng_coffset) in reg_is_enclosed_in_range() 203 if ((rp->regspec_addr + rp->regspec_size - 1) <= in reg_is_enclosed_in_range() 249 rp->regspec_addr, rp->regspec_size); in i_ddi_apply_range() 256 rp->regspec_addr += rangep->rng_offset - rangep->rng_coffset; in i_ddi_apply_range() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | ddi_arch.c | 108 rp->regspec_addr += (uintptr_t)offset; in i_ddi_bus_map() 183 if (rp->regspec_addr < rangep->rng_coffset) in reg_is_enclosed_in_range() 189 if ((rp->regspec_addr + rp->regspec_size - 1) <= in reg_is_enclosed_in_range() 234 rp->regspec_addr, rp->regspec_size); in i_ddi_apply_range() 241 rp->regspec_addr += rangep->rng_offset - rangep->rng_coffset; in i_ddi_apply_range() 245 rp->regspec_addr, rp->regspec_size); in i_ddi_apply_range()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | mach_rootnex.c | 263 rp->regspec_addr, (n > 1 ? "" : " ...")); in rootnex_ctl_reportdev_impl() 277 rp->regspec_addr & in rootnex_ctl_reportdev_impl() 350 rp->regspec_bustype, rp->regspec_addr); in rootnex_name_child_impl() 384 rp->regspec_addr & root_phys_addr_lo_mask); in rootnex_name_child_impl() 442 addr |= (uint64_t)rp->regspec_addr; in rootnex_ctl_initchild_impl() 473 addr |= (unsigned long long) rp->regspec_addr; in rootnex_ctl_uninitchild_impl()
|
H A D | upa64s.c | 1022 rp->regspec_addr = LO32(addr); in xlate_reg_prop() 1030 rp->regspec_bustype, rp->regspec_addr, rp->regspec_size, i); in xlate_reg_prop()
|
H A D | sysiosbus.c | 957 pdptr->offset = ((struct regspec *)reg_prop)->regspec_addr; in make_sbus_ppd() 1037 r.regspec_addr = 0; in sbusmem_initchild() 1446 rp->regspec_bustype, rp->regspec_addr); in sbus_ctlops()
|
H A D | opl_cfg.c | 1289 rspec.regspec_addr = fc_cell2uint(fc_arg(cp, 2)); in opl_map_in() 1297 rspec.regspec_addr, rspec.regspec_size); in opl_map_in() 1304 rspec.regspec_addr, rspec.regspec_size); in opl_map_in()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | isa.c | 440 if (isa_reg_p->regspec_addr < rng_p->child_low) in isa_apply_range() 442 if ((isa_reg_p->regspec_addr + isa_reg_p->regspec_size - 1) > in isa_apply_range() 446 offset = isa_reg_p->regspec_addr - rng_p->child_low; in isa_apply_range() 477 if (isa_reg_p->regspec_addr < reg_p->regspec_addr) in isa_apply_range() 479 if ((isa_reg_p->regspec_addr + isa_reg_p->regspec_size) > in isa_apply_range() 480 (reg_p->regspec_addr + reg_p->regspec_size)) in isa_apply_range() 485 pci_reg_p->pci_phys_low = isa_reg_p->regspec_addr; in isa_apply_range() 494 isa_reg_p->regspec_addr, isa_reg_p->regspec_size); in isa_apply_range() 539 rp->regspec_addr += (uint_t)offset; in isa_bus_map() 1072 (uint_t)sparc_pd_getreg(child, 0)->regspec_addr); in isa_name_child() [all …]
|
H A D | rootnex.c | 756 "%s 0x%x", DEVI_EISA_NEXNAME, rp->regspec_addr); in rootnex_ctl_reportdev() 761 "%s 0x%x", DEVI_ISA_NEXNAME, rp->regspec_addr); in rootnex_ctl_reportdev() 767 rp->regspec_bustype, rp->regspec_addr); in rootnex_ctl_reportdev() 870 rp.regspec_addr = orp->regspec_addr; in rootnex_map() 891 rp.regspec_bustype, rp.regspec_addr, rp.regspec_size, offset, in rootnex_map() 903 if (rp.regspec_bustype > 1 && rp.regspec_addr != 0) { in rootnex_map() 907 rp.regspec_addr, rp.regspec_size); in rootnex_map() 911 if (rp.regspec_bustype > 1 && rp.regspec_addr == 0) { in rootnex_map() 920 rp.regspec_addr += offset; in rootnex_map() 930 rp.regspec_addr, rp.regspec_size, offset, len, mp->map_handlep); in rootnex_map() [all …]
|
H A D | immu_dmar.c | 656 reg.regspec_addr = drhd->dr_regs; in drhd_devi_create() 690 pdptr->par_reg->regspec_addr = drhd->dr_regs; in drhd_devi_create()
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpi_enum.c | 164 used->start_addr = io[i].regspec_addr; in add_used_io_mem() 254 io[*io_count].regspec_addr = acpi_io.Minimum; in parse_resources_io() 275 io[*io_count].regspec_addr = fixed_io.Address; in parse_resources_fixed_io() 296 io[*io_count].regspec_addr = fixed_mem32.Address; in parse_resources_fixed_mem32() 318 io[*io_count].regspec_addr = mem32.Minimum; in parse_resources_mem32() 387 io[*io_count].regspec_addr = addr16.Address.Minimum; in parse_resources_addr16() 443 io[*io_count].regspec_addr = addr32.Address.Minimum; in parse_resources_addr32() 516 io[*io_count].regspec_addr = addr64.Address.Minimum; in parse_resources_addr64() 641 if ((io[0].regspec_addr == 0x60 && in parse_resources() 642 io[1].regspec_addr == 0x64) || in parse_resources() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci.c | 439 reg.regspec_addr = (uint64_t)pci_rp->pci_phys_mid << 32 | in pci_bus_map() 448 if (reg.regspec_addr + offset < MAX(reg.regspec_addr, offset)) in pci_bus_map() 450 reg.regspec_addr += offset; in pci_bus_map() 513 reg.regspec_addr = (uint64_t)pci_rp->pci_phys_mid << 32 | in pci_bus_map() 521 if (reg.regspec_addr + offset < MAX(reg.regspec_addr, offset)) in pci_bus_map() 523 reg.regspec_addr += offset; in pci_bus_map()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mach_rootnex.c | 131 rp->regspec_addr & root_phys_addr_lo_mask); in rootnex_ctl_reportdev_impl() 181 rp->regspec_bustype, rp->regspec_addr); in rootnex_name_child_impl() 212 addrlow = rp->regspec_addr & root_phys_addr_lo_mask; in rootnex_name_child_impl()
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 619 reg.regspec_addr = (uint64_t)pci_rp->pci_phys_mid << 32 | in npe_bus_map() 628 if (reg.regspec_addr + offset < MAX(reg.regspec_addr, offset)) in npe_bus_map() 630 reg.regspec_addr += offset; in npe_bus_map() 760 reg.regspec_addr = (uint64_t)pci_rp->pci_phys_mid << 32 | in npe_bus_map() 768 if (reg.regspec_addr + offset < MAX(reg.regspec_addr, offset)) in npe_bus_map() 770 reg.regspec_addr += offset; in npe_bus_map()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | rootnex.c | 338 base = (uint64_t)rp->regspec_addr & (~MMU_PAGEOFFSET); /* base addr */ in rootnex_map_regspec() 362 pgoffset = (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET; in rootnex_map_regspec() 476 hp->ah_pfn = mmu_btop((ulong_t)rp->regspec_addr & (~MMU_PAGEOFFSET)); in rootnex_map_handle() 478 (ulong_t)rp->regspec_addr & MMU_PAGEOFFSET); in rootnex_map_handle() 545 rp->regspec_addr += (uint_t)offset; in rootnex_map()
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_util.c | 227 new_rp->regspec_addr = reg_begin - rng_begin + rng_p->parent_low; in pcmu_xlate_reg() 232 n, new_rp->regspec_bustype, new_rp->regspec_addr, sz); in pcmu_xlate_reg()
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_util.c | 248 new_rp->regspec_addr = (uint32_t)addr; in px_xlate_reg() 253 n, new_rp->regspec_bustype, new_rp->regspec_addr, reg_sz); in px_xlate_reg()
|
H A D | px_tools.c | 497 xlated_regspec.regspec_addr; in pxtool_get_phys_addr() 500 xlated_regspec.regspec_bustype, xlated_regspec.regspec_addr, in pxtool_get_phys_addr()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_util.c | 246 new_rp->regspec_addr = reg_begin - rng_begin + rng_p->parent_low; in pci_xlate_reg() 251 n, new_rp->regspec_bustype, new_rp->regspec_addr, sz); in pci_xlate_reg()
|
/illumos-gate/usr/src/uts/intel/io/vmm/intel/ |
H A D | vtd.c | 377 reg.regspec_addr = drhd->Address; in vtd_get_dip() 411 pdptr->par_reg->regspec_addr = drhd->Address; in vtd_get_dip()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | ssm.c | 559 regbase = rp->regspec_addr & root_phys_addr_lo_mask; in name_child() 653 rp->regspec_addr, in ssm_ctlops()
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vgatext.c | 1301 if (reg[index].regspec_addr > addr) in vgatext_get_isa_reg_index() 1303 if (reg[index].regspec_addr + reg[index].regspec_size <= addr) in vgatext_get_isa_reg_index() 1306 *offset = addr - reg[index].regspec_addr; in vgatext_get_isa_reg_index()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ddi_impldefs.h | 641 uint_t regspec_addr; /* address of reg relative to bus */ member 652 uint64_t regspec_addr; /* address of reg relative to bus */ member
|
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | prt_xxx.c | 154 rp->regspec_bustype, rp->regspec_addr, rp->regspec_size); in obio_printregs()
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 438 p_regspec.regspec_addr = reg_begin - rng_begin + rng_p->parent_lo; in niumx_map() 441 p_regspec.regspec_bustype, p_regspec.regspec_addr, in niumx_map()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 159 rp->regspec_addr = r64_rp->addr_lo; in init_regspec_64() 319 rp->regspec_bustype, rp->regspec_addr); in impl_sunbus_name_child()
|