Lines Matching refs:device_node
120 def get_irqs_of_device(device_node): argument
124 for res in device_node.xpath("resource[@type='irq']"):
128 for res in device_node.xpath("resource[@type='interrupt_pin']"):
137 …cpi_object='{source}']/resource[@id='res{index}' and @type='irq']/@int", device_node.getroottree())
167 …device_node = get_node(f"//bus[@address='{hex(bdf.bus)}']/device[@address='{address}']", board_etr…
168 if device_node in device_nodes:
169 irqs = get_irqs_of_device(device_node)
172 device_nodes.discard(device_node)
193 for device_node in device_nodes:
194 acpi_object = device_node.find("acpi_object")
198 description = device_node.get("description", description)
201 bus = device_node.getparent()
202 … if bus.tag == "bus" and bus.get("type") == "pci" and device_node.get("address") is not None:
204 address = int(device_node.get("address"), 16)
209 for irq in get_irqs_of_device(device_node):