Home
last modified time | relevance | path

Searched refs:fsiTarget (Results 1 – 4 of 4) sorted by relevance

/openbmc/openpower-proc-control/extensions/phal/
H A Dpdbg_utils.cpp24 struct pdbg_target* fsiTarget = nullptr; in getFsiTarget() local
25 pdbg_for_each_target("fsi", procTarget, fsiTarget) in getFsiTarget()
30 if (!fsiTarget) in getFsiTarget()
38 return fsiTarget; in getFsiTarget()
70 pdbg_target* fsiTarget = getFsiTarget(procTarget); in getCFAM() local
71 if (nullptr == fsiTarget) in getCFAM()
84 rc = fsi_read(fsiTarget, reg, &val); in getCFAM()
90 entry("FSI_TARGET_PATH=%s", pdbg_target_path(fsiTarget))); in getCFAM()
99 pdbg_target* fsiTarget = getFsiTarget(procTarget); in putCFAM() local
100 if (nullptr == fsiTarget) in putCFAM()
[all …]
/openbmc/openpower-hw-diags/attn/
H A Dattn_common.cpp25 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, "/proc0/fsi"); in addHbStatusRegs() local
34 if ((nullptr != fsiTarget) && (nullptr != pibTarget)) in addHbStatusRegs()
37 if (RC_SUCCESS != fsi_read(fsiTarget, l_cfamAddr, &l_cfamData)) in addHbStatusRegs()
78 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, "/proc0/fsi"); in addPrdScratchRegs() local
80 if (nullptr == fsiTarget) in addPrdScratchRegs()
90 if (RC_SUCCESS != fsi_read(fsiTarget, 0x2980, &chipId)) in addPrdScratchRegs()
97 if (RC_SUCCESS != fsi_read(fsiTarget, 0x2981, &signatureId)) in addPrdScratchRegs()
172 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, path); in recoverableErrors() local
175 if (nullptr == fsiTarget) in recoverableErrors()
184 if (RC_SUCCESS != fsi_read(fsiTarget, 0x1007, &isr_val)) in recoverableErrors()
H A Dvital_handler.cpp47 pdbg_target* fsiTarget = util::pdbg::getFsiTrgt(procTarget); in attemptSbeRecovery() local
51 if (RC_SUCCESS == fsi_read(fsiTarget, 0x100b, &int_val)) in attemptSbeRecovery()
91 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, path); in checkstopActive() local
92 if (nullptr == fsiTarget) in checkstopActive()
103 r = fsi_read(fsiTarget, 0x1007, &isr_val); in checkstopActive()
111 r = fsi_read(fsiTarget, 0x100d, &isr_mask); in checkstopActive()
H A Dattn_handler.cpp113 pdbg_target* fsiTarget = pdbg_target_from_path(nullptr, path); in attnHandler() local
116 if (nullptr == fsiTarget) in attnHandler()
128 if (RC_SUCCESS != fsi_read(fsiTarget, 0x1007, &isr_val)) in attnHandler()
148 if (RC_SUCCESS != fsi_read(fsiTarget, 0x100d, &isr_mask)) in attnHandler()
566 pdbg_target* fsiTarget = util::pdbg::getFsiTrgt(procTarget); in clearAttnInterrupts() local
570 if (RC_SUCCESS == fsi_read(fsiTarget, 0x100b, &int_val)) in clearAttnInterrupts()
579 if (RC_SUCCESS != fsi_write(fsiTarget, 0x100b, int_val)) in clearAttnInterrupts()