Lines Matching +full:sub +full:- +full:systems
12 sub getBMCTarget
16 for my $target (keys %{$targetObj->getAllTargets()}) {
17 if ($targetObj->getType($target) eq "BMC") {
30 sub getChildUnitsWithTargetType
35 my @children = $targetObj->getAllTargetChildren($chip);
38 if ($targetObj->getTargetType($child) eq $unitTargetType) {
50 sub getSizeOfChildUnitsWithType
54 my @children = $targetObj->getAllTargetChildren($chip);
56 if ($targetObj->getType($child) eq $type) {
67 sub getObmcName
74 if($item->{TARGET} eq $targetName)
76 return $item->{OBMC_NAME};
86 sub getDevicePath
94 if (!$targetObj->isBadAttribute($item->{TARGET}, "TYPE")) {
95 $fruType = $targetObj->getAttribute($item->{TARGET}, "TYPE");
97 push(@devices,$item->{OBMC_NAME});
104 #Convert the MRW I2C address into the standard 7-bit format
106 sub adjustI2CAddress
121 sub getEnclosingFru
130 if (!$targets->isBadAttribute($targetName, "RU_TYPE"))
132 my $ruType = $targets->getAttribute($targetName, "RU_TYPE");
139 my $parent = $targets->getTargetParent($targetName);
145 sub adjustI2CPort
149 return $port - 1;
152 # Get the location code for the target passed in, like P1-C5.
155 sub getLocationCode
166 if (!$targets->isBadAttribute($target, "LOCATION_CODE"))
168 my $loc = $targets->getAttribute($target, "LOCATION_CODE");
169 my $type = $targets->getAttribute($target, "LOCATION_CODE_TYPE");
175 $locCode = $loc . '-' . $locCode;
195 $target = $targets->getTargetParent($target);
224 it will die. Currently supports single BMC systems.
228 Returns an array of targets that have target-type C<TargetType>
247 Returns C<I2CAddress> converted from MRW format (8-bit) to the standard 7-bit