/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_cpu.c | 62 ao_pcicfg_write(uint_t procnodeid, uint_t func, uint_t reg, uint32_t val) in ao_pcicfg_write() argument 64 ASSERT(procnodeid + 24 <= 31); in ao_pcicfg_write() 68 cmi_pci_putl(0, procnodeid + 24, func, reg, 0, val); in ao_pcicfg_write() 72 ao_pcicfg_read(uint_t procnodeid, uint_t func, uint_t reg) in ao_pcicfg_read() argument 74 ASSERT(procnodeid + 24 <= 31); in ao_pcicfg_read() 78 return (cmi_pci_getl(0, procnodeid + 24, func, reg, 0, 0)); in ao_pcicfg_read() 104 uint_t procnodeid = cmi_hdl_procnodeid(hdl); in ao_procnode_scrubber_enable() local 108 ao_pcicfg_read(procnodeid, MC_FUNC_MISCCTL, MC_CTL_REG_SCRUBCTL); in ao_procnode_scrubber_enable() 149 ao_pcicfg_write(procnodeid, MC_FUNC_MISCCTL, MC_CTL_REG_SCRUBCTL, in ao_procnode_scrubber_enable()
|
H A D | ao_mca.c | 409 uint_t procnodeid = pg_plat_hw_instance_id(CPU, PGHW_PROCNODE); in ao_nb_cfg() local 420 ao_pcicfg_read(procnodeid, MC_FUNC_MISCCTL, MC_CTL_REG_NBCFG); in ao_nb_cfg() 465 ao_pcicfg_write(procnodeid, MC_FUNC_MISCCTL, MC_CTL_REG_NBCFG, val); in ao_nb_cfg() 471 uint_t procnodeid = pg_plat_hw_instance_id(CPU, PGHW_PROCNODE); in ao_dram_cfg() local 475 ao_pcicfg_read(procnodeid, MC_FUNC_DRAMCTL, MC_DC_REG_DRAMCFGLO); in ao_dram_cfg() 477 ao_pcicfg_read(procnodeid, MC_FUNC_DRAMCTL, MC_DC_REG_DRAMCFGHI); in ao_dram_cfg() 482 ao_pcicfg_write(procnodeid, MC_FUNC_DRAMCTL, in ao_dram_cfg() 504 uint_t procnodeid = pg_plat_hw_instance_id(CPU, PGHW_PROCNODE); in ao_sparectl_cfg() local 509 ao_pcicfg_read(procnodeid, MC_FUNC_MISCCTL, MC_CTL_REG_SPARECTL); in ao_sparectl_cfg() 531 ao_pcicfg_write(procnodeid, MC_FUNC_MISCCTL, in ao_sparectl_cfg()
|
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 228 authamd_pcicfg_write(uint_t procnodeid, uint_t func, uint_t reg, uint32_t val) in authamd_pcicfg_write() argument 230 ASSERT(procnodeid + 24 <= 31); in authamd_pcicfg_write() 234 cmi_pci_putl(0, procnodeid + 24, func, reg, 0, val); in authamd_pcicfg_write() 238 authamd_pcicfg_read(uint_t procnodeid, uint_t func, uint_t reg) in authamd_pcicfg_read() argument 240 ASSERT(procnodeid + 24 <= 31); in authamd_pcicfg_read() 244 return (cmi_pci_getl(0, procnodeid + 24, func, reg, 0, 0)); in authamd_pcicfg_read() 292 uint_t procnodeid = authamd->amd_shared->ans_procnodeid; in authamd_read_ecccnt() local 309 authamd_pcicfg_read(procnodeid, MC_FUNC_MISCCTL, in authamd_read_ecccnt() 348 authamd_pcicfg_write(procnodeid, MC_FUNC_MISCCTL, in authamd_read_ecccnt() 351 MCREG_VAL32(&sparectl) = authamd_pcicfg_read(procnodeid, in authamd_read_ecccnt() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 485 int32_t chipid, procnodeid, procnodes_per_pkg; in create_chip() local 499 FM_PHYSCPU_INFO_PROCNODE_ID, DATA_TYPE_INT32, &procnodeid, in create_chip() 707 procnodeid, procnodes_per_pkg, family, model, &nerr); in create_chip()
|
H A D | chip_amd.c | 718 const char *name, nvlist_t *auth, int32_t procnodeid, in amd_mc_create() argument 727 int mcnum = procnodeid % procnodes_per_pkg; in amd_mc_create() 784 TOPO_PROP_IMMUTABLE, procnodeid, nerrp) != 0) in amd_mc_create()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cmi_hw.c | 1673 CMI_HDL_OPFUNC(procnodeid, uint_t) in CMI_HDL_OPFUNC()
|