Home
last modified time | relevance | path

Searched refs:unump (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/uts/intel/io/intel_nb5000/
H A Ddimm_addr.c43 fmri2unum(nvlist_t *nvl, mc_unum_t *unump) in fmri2unum() argument
58 bzero(unump, sizeof (mc_unum_t)); in fmri2unum()
60 unump->unum_dimms[i] = MC_INVALNUM; in fmri2unum()
72 unump->unum_board = (int)v; in fmri2unum()
74 unump->unum_mc = (int)v; in fmri2unum()
76 unump->unum_cs = (int)v; in fmri2unum()
78 unump->unum_dimms[0] = (int)v; in fmri2unum()
80 unump->unum_rank = (int)v; in fmri2unum()
89 uint32_t synd, int syndtype, mc_unum_t *unump) in inb_patounum() argument
107 unump->unum_offset = offset / rp->interleave; in inb_patounum()
[all …]
/titanic_44/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_subr.c458 uint32_t synd, int syndtype, mc_unum_t *unump) in mcamd_patounum_wrap() argument
468 valid_hi, valid_lo, synd, syndtype, unump); in mcamd_patounum_wrap()
475 if (rc == 0 && MCAMD_RC_OFFSET_VALID(unump->unum_offset)) { in mcamd_patounum_wrap()
477 if (mcamd_unumtopa(&mcamd, (mcamd_node_t *)mc_list, unump, in mcamd_patounum_wrap()
491 fmri2unum(nvlist_t *nvl, mc_unum_t *unump) in fmri2unum() argument
506 bzero(unump, sizeof (mc_unum_t)); in fmri2unum()
507 unump->unum_chan = MC_INVALNUM; in fmri2unum()
509 unump->unum_dimms[i] = MC_INVALNUM; in fmri2unum()
521 unump->unum_board = (int)v; in fmri2unum()
523 unump->unum_chip = (int)v; in fmri2unum()
[all …]
/titanic_44/usr/src/common/mc/mc-amd/
H A Dmcamd_unumtopa.c46 mcamd_unumtopa(struct mcamd_hdl *hdl, mcamd_node_t *root, mc_unum_t *unump, in mcamd_unumtopa() argument
53 "mc %d dimm %d offset 0x%llx\n", unump->unum_chip, unump->unum_mc, in mcamd_unumtopa()
54 unump->unum_dimms[0], unump->unum_offset); in mcamd_unumtopa()
56 if (!MCAMD_RC_OFFSET_VALID(unump->unum_offset)) { in mcamd_unumtopa()
76 if (num == unump->unum_chip) in mcamd_unumtopa()
81 "no match for MC %d\n", unump->unum_chip); in mcamd_unumtopa()
99 if (num == unump->unum_dimms[0]) in mcamd_unumtopa()
105 unump->unum_dimms[0], unump->unum_cs, unump->unum_chip); in mcamd_unumtopa()
111 mc, dimm, unump->unum_offset); in mcamd_unumtopa()
113 if (mc_offset_to_pa(hdl, mc, dimm, unump->unum_offset, pa) < 0) { in mcamd_unumtopa()
H A Dmcamd_patounum.c238 uint64_t iaddr, mc_unum_t *unump, int incloff) in unum_fill() argument
265 unump->unum_board = 0; in unum_fill()
266 unump->unum_chip = (int)chipnum; in unum_fill()
267 unump->unum_mc = 0; in unum_fill()
268 unump->unum_chan = MC_INVALNUM; in unum_fill()
269 unump->unum_cs = (int)csnum; in unum_fill()
270 unump->unum_rank = (int)ranknum; in unum_fill()
273 unump->unum_dimms[i] = MC_INVALNUM; in unum_fill()
277 unump->unum_dimms[0] = (int)dimm1; in unum_fill()
281 unump->unum_dimms[0] = (int)dimm2; in unum_fill()
[all …]
/titanic_44/usr/src/uts/i86pc/cpu/genuineintel/
H A Dgintel_main.c338 mc_unum_t *unump) in gintel_gentopo_ereport_create_resource_elem() argument
357 unump->unum_offset); in gintel_gentopo_ereport_create_resource_elem()
359 if (unump->unum_chan == -1) { in gintel_gentopo_ereport_create_resource_elem()
363 "memory-controller", unump->unum_mc); in gintel_gentopo_ereport_create_resource_elem()
364 } else if (unump->unum_cs == -1) { in gintel_gentopo_ereport_create_resource_elem()
368 "memory-controller", unump->unum_mc, in gintel_gentopo_ereport_create_resource_elem()
369 "dram-channel", unump->unum_chan); in gintel_gentopo_ereport_create_resource_elem()
370 } else if (unump->unum_rank == -1) { in gintel_gentopo_ereport_create_resource_elem()
374 "memory-controller", unump->unum_mc, in gintel_gentopo_ereport_create_resource_elem()
375 "dram-channel", unump->unum_chan, in gintel_gentopo_ereport_create_resource_elem()
[all …]
/titanic_44/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca.c623 mc_unum_t *unump, int dimmnum) in ao_ereport_create_resource_elem() argument
637 unump->unum_offset); in ao_ereport_create_resource_elem()
653 "memory-controller", unump->unum_mc, in ao_ereport_create_resource_elem()
654 "dimm", unump->unum_dimms[dimmnum], in ao_ereport_create_resource_elem()
655 "rank", unump->unum_rank); in ao_ereport_create_resource_elem()
658 "motherboard", unump->unum_board, in ao_ereport_create_resource_elem()
659 "chip", unump->unum_chip, in ao_ereport_create_resource_elem()
660 "memory-controller", unump->unum_mc, in ao_ereport_create_resource_elem()
661 "dimm", unump->unum_dimms[dimmnum], in ao_ereport_create_resource_elem()
662 "rank", unump->unum_rank); in ao_ereport_create_resource_elem()
[all …]
/titanic_44/usr/src/uts/intel/io/intel_nhm/
H A Dmem_addr.c637 uint32_t synd, int syndtype, mc_unum_t *unump) in nhm_patounum() argument
670 unump->unum_board = 0; in nhm_patounum()
671 unump->unum_chip = node; in nhm_patounum()
672 unump->unum_mc = 0; in nhm_patounum()
673 unump->unum_chan = channel; in nhm_patounum()
674 unump->unum_cs = dimm; in nhm_patounum()
675 unump->unum_rank = rank; in nhm_patounum()
682 unump->unum_offset = TCODE_OFFSET(rank, bank, row, column); in nhm_patounum()
684 unump->unum_offset = raddr; in nhm_patounum()
692 nhm_unumtopa(void *arg, mc_unum_t *unump, nvlist_t *nvl, uint64_t *pap) in nhm_unumtopa() argument
[all …]
/titanic_44/usr/src/cmd/fm/schemes/mem/
H A Dmem.c39 mem_fmri_get_unum(nvlist_t *nvl, char **unump) in mem_fmri_get_unum() argument
49 *unump = unum; in mem_fmri_get_unum()