Lines Matching refs:mem_answer

1873 	uint64_t mem_answer;  in pcicfg_bridge_assign()  local
1990 reg[i].pci_size_low, &mem_answer); in pcicfg_bridge_assign()
1991 pci_config_put64(handle, offset, mem_answer); in pcicfg_bridge_assign()
1999 reg[i].pci_phys_low = PCICFG_HIADDR(mem_answer); in pcicfg_bridge_assign()
2001 PCICFG_LOADDR(mem_answer); in pcicfg_bridge_assign()
2009 reg[i].pci_size_low, &mem_answer); in pcicfg_bridge_assign()
2011 offset, (uint32_t)mem_answer); in pcicfg_bridge_assign()
2017 reg[i].pci_phys_low = (uint32_t)mem_answer; in pcicfg_bridge_assign()
2374 uint64_t mem_answer; in pcicfg_allocate_chunk() local
2428 mem_request, &mem_answer, &alen, in pcicfg_allocate_chunk()
2434 phdl->memory_base = phdl->memory_last = mem_answer; in pcicfg_allocate_chunk()
2445 (void) ndi_ra_free(ddi_get_parent(dip), mem_answer, in pcicfg_allocate_chunk()
4294 uint64_t mem_answer, mem_alen; in pcicfg_fcode_probe() local
4523 &fcode_size, PCICFG_LOADDR(mem_answer), in pcicfg_fcode_probe()
4899 uint64_t mem_answer, mem_base, mem_alen, mem_size, mem_end; in pcicfg_probe_bridge() local
4996 &mem_answer, &mem_alen, NDI_RA_TYPE_MEM, NDI_RA_PASS); in pcicfg_probe_bridge()
5010 PCICFG_HIADDR(mem_answer), in pcicfg_probe_bridge()
5011 PCICFG_LOADDR(mem_answer), in pcicfg_probe_bridge()
5022 (void) ndi_ra_free(new_child, mem_answer, mem_alen, NDI_RA_TYPE_MEM, in pcicfg_probe_bridge()
5025 mem_base = mem_answer; in pcicfg_probe_bridge()
5100 PCICFG_HIWORD(PCICFG_LOADDR(mem_answer))); in pcicfg_probe_bridge()
5109 PCICFG_ROUND_DOWN((mem_answer + mem_alen), PCICFG_MEMGRAN) - 1))); in pcicfg_probe_bridge()
5115 if (PCICFG_ROUND_DOWN((mem_answer + mem_alen), PCICFG_MEMGRAN) in pcicfg_probe_bridge()
5116 != (mem_answer + mem_alen)) { in pcicfg_probe_bridge()
5120 req.ra_addr = PCICFG_ROUND_DOWN((mem_answer + mem_alen), in pcicfg_probe_bridge()
5122 req.ra_len = (mem_answer + mem_alen) - in pcicfg_probe_bridge()
5123 (PCICFG_ROUND_DOWN((mem_answer + mem_alen), in pcicfg_probe_bridge()
5347 phdl.memory_base = mem_answer; in pcicfg_probe_bridge()
5387 uint64_t mem_reqd = mem_answer + (num_slots * in pcicfg_probe_bridge()
5397 num_slots, mem_answer, mem_end); in pcicfg_probe_bridge()
5407 if (mem_reqd > (mem_answer + mem_alen)) in pcicfg_probe_bridge()
5410 num_slots, mem_answer, mem_end); in pcicfg_probe_bridge()
5421 mem_end = MAX((MIN(mem_reqd, (mem_answer + mem_alen))), in pcicfg_probe_bridge()
5459 mem_end, (mem_answer + mem_alen) - mem_end, NDI_RA_TYPE_MEM, in pcicfg_probe_bridge()
5462 if (mem_end == mem_answer) { in pcicfg_probe_bridge()
6013 uint64_t mem_answer, mem_alen; in pcicfg_fcode_assign_bars() local
6104 &req, &mem_answer, &mem_alen, in pcicfg_fcode_assign_bars()
6113 PCICFG_HIADDR(mem_answer), in pcicfg_fcode_assign_bars()
6114 PCICFG_LOADDR(mem_answer), mem_alen); in pcicfg_fcode_assign_bars()
6120 PCICFG_LOADDR(mem_answer) | PCI_BASE_ROM_ENABLE); in pcicfg_fcode_assign_bars()
6130 phys_spec.pci_phys_low = PCICFG_LOADDR(mem_answer); in pcicfg_fcode_assign_bars()