Lines Matching +full:g +full:- +full:link
31 my $targets = Targets->new;
32 $targets->loadXML($mrwFile);
40 …s/devices/platform/ahb/ahb:apb/ahb:apb:bus\@1e78a000/1e78a100.i2c-bus/i2c-<port>/<port>-00<address…
41 my $fsiMasterPath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/raw";
42 my $fsiSlavePath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/00:00:00:0a/fsi1/slave\@<link>…
56 my $connections = $targets->findConnections($bmc, "I2C");
57 # hash of arrays - {I2C master port : list of connected slave Targets}
60 for my $i2c (@{$connections->{CONN}})
62 my $master = $i2c->{SOURCE};
63 my $port = $targets->getAttribute($master,"I2C_PORT");
65 my $slave = $i2c->{DEST};
73 my $addr = $targets->getAttribute($s,"I2C_ADDRESS");
77 $path =~ s/<port>/$m/g;
78 $path =~ s/<address>/$addr/g;
90 for my $target (keys %{$targets->getAllTargets()})
92 if ($targets->getType($target) eq "PROC")
100 my $connections = $targets->findConnections($proc, "FSIM");
107 for my $fsi (@{$connections->{CONN}})
109 my $master = $fsi->{SOURCE};
110 my $slave = $fsi->{DEST};
111 my $link = $targets->getAttribute($master, "FSI_LINK");
112 $link = substr $link, 2; # strip 0x
115 $path =~ s/<link>/$link/g;
126 $0 -m [MRW file] -o [Output filename]\n";