Home
last modified time | relevance | path

Searched refs:trgt (Results 1 – 5 of 5) sorted by relevance

/openbmc/openpower-hw-diags/test/
H A Dtest-pdbg-dts.cpp25 pdbg_target* trgt = pdbg_target_from_path(nullptr, perv1_fapi_pos_path); in TEST() local
26 pdbg_target_get_attribute(trgt, "ATTR_FAPI_POS", 4, 1, &attr); in TEST()
31 trgt = pdbg_target_from_path(nullptr, perv12_fapi_pos_path); in TEST()
32 pdbg_target_get_attribute(trgt, "ATTR_FAPI_POS", 4, 1, &attr); in TEST()
48 pdbg_target* trgt = pdbg_target_from_path(nullptr, dimm0_path); in TEST() local
49 pdbg_target_get_attribute(trgt, "index", 4, 1, &attr); in TEST()
54 pdbg_target_get_attribute(trgt, "ATTR_FAPI_POS", 4, 1, &attr); in TEST()
97 pdbg_target* trgt; in TEST() local
100 pdbg_for_each_class_target(perv1_path, trgt) in TEST()
103 pdbg_target_get_attribute(trgt, "index", 4, 1, &attr); in TEST()
[all …]
/openbmc/openpower-hw-diags/analyzer/
H A Dhei_user_interface.cpp101 auto trgt = util::pdbg::getTrgt(i_chip); in registerRead() local
103 uint8_t trgtType = util::pdbg::getTrgtType(trgt); in registerRead()
108 accessFailure = __readProc(trgt, i_regType, i_address, o_value); in registerRead()
112 accessFailure = __readOcmb(trgt, i_regType, i_address, o_value); in registerRead()
117 util::pdbg::getPath(trgt), trgtType); in registerRead()
124 util::pdbg::getPath(trgt), i_address); in registerRead()
/openbmc/openpower-hw-diags/util/
H A Dpdbg.cpp607 std::string getLocationCode(pdbg_target* trgt) in getLocationCode() argument
609 if (nullptr == trgt) in getLocationCode()
618 if (DT_GET_PROP(ATTR_LOCATION_CODE, trgt, val)) in getLocationCode()
621 return getLocationCode(pdbg_target_parent(nullptr, trgt)); in getLocationCode()
629 return std::string{getPath(trgt)}; in getLocationCode()
636 std::string getPhysDevPath(pdbg_target* trgt) in getPhysDevPath() argument
638 if (nullptr == trgt) in getPhysDevPath()
647 if (DT_GET_PROP(ATTR_PHYS_DEV_PATH, trgt, val)) in getPhysDevPath()
650 return getPhysDevPath(pdbg_target_parent(nullptr, trgt)); in getPhysDevPath()
658 return std::string{getPath(trgt)}; in getPhysDevPath()
H A Dpdbg.hpp159 std::string getLocationCode(pdbg_target* trgt);
169 std::string getPhysDevPath(pdbg_target* trgt);
179 std::vector<uint8_t> getPhysBinPath(pdbg_target* trgt);
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dfsl_law.h14 #define SET_LAW_ENTRY(idx, a, sz, trgt) \ argument
15 { .index = idx, .addr = a, .size = sz, .trgt_id = trgt }
17 #define SET_LAW(a, sz, trgt) \ argument
18 { .index = -1, .addr = a, .size = sz, .trgt_id = trgt }