Lines Matching full:devices
98 # Devicetree dependencies, injected dependencies, supported devices
122 Represents information about devices in an elf file.
128 self.devices = []
188 def _link_devices(self, devices): argument
194 for ord, dev in devices.items():
200 if dn.dep_ordinal in devices:
202 dev.devs_depends_on.add(devices[dn.dep_ordinal])
211 if sn.dep_ordinal in devices:
212 dev.devs_supports.add(devices[sn.dep_ordinal])
218 def _link_injected(self, devices): argument
219 for dev in devices.values():
222 if inj in devices:
223 dev.devs_depends_on_injected.add(devices[inj])
224 devices[inj].devs_supports.add(dev)
241 self.devices.append(Device(self, sym))
245 self.devices = sorted(self.devices)
247 # Assign handles to the devices
248 for idx, dev in enumerate(self.devices):
251 # Link devices structs with PM and ordinals
252 for dev in self.devices:
260 # Create mapping of ordinals to devices
261 devices_by_ord = {d.ordinal: d for d in self.devices if d.edt_node}
263 # Link devices to each other based on the EDT tree
266 # Link injected devices to each other
271 Construct a graphviz Digraph of the relationships between devices.
276 for dev in self.devices:
285 for dev in self.devices: