Home
last modified time | relevance | path

Searched refs:irqEntry (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/kernel/arch/generic/
H A Dacpi_irq_routing_table.cpp202 irq_routing_entry& irqEntry = routingTable.ElementAt(i); in choose_link_device_configurations() local
204 if (irqEntry.bios_irq != 0 && irqEntry.bios_irq != 255) { in choose_link_device_configurations()
205 if (irqEntry.bios_irq < kMaxISAInterrupts) in choose_link_device_configurations()
206 validForPCI |= (1 << irqEntry.bios_irq); in choose_link_device_configurations()
209 if (irqEntry.source == NULL) { in choose_link_device_configurations()
211 irqUsage[irqEntry.irq]++; in choose_link_device_configurations()
212 if (irqEntry.irq < kMaxISAInterrupts) in choose_link_device_configurations()
213 validForPCI |= (1 << irqEntry.irq); in choose_link_device_configurations()
220 if (existing->handle == irqEntry.source) { in choose_link_device_configurations()
227 link->used_by.PushBack(&irqEntry); in choose_link_device_configurations()
[all …]
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp620 struct fdt_interrupt_map_entry irqEntry; in fdt_device_get_interrupt_map() local
622 irqEntry.childAddr = B_BENDIAN_TO_HOST_INT32(*it); in fdt_device_get_interrupt_map()
625 irqEntry.childIrq = B_BENDIAN_TO_HOST_INT32(*it); in fdt_device_get_interrupt_map()
628 irqEntry.parentIrqCtrl = B_BENDIAN_TO_HOST_INT32(*it); in fdt_device_get_interrupt_map()
634 int interruptParent = fdt_node_offset_by_phandle(gFDT, irqEntry.parentIrqCtrl); in fdt_device_get_interrupt_map()
648 irqEntry.parentIrq = B_BENDIAN_TO_HOST_INT32(*it); in fdt_device_get_interrupt_map()
654 irqEntry.parentIrq = interruptNumber + GIC_INTERRUPT_BASE_SPI; in fdt_device_get_interrupt_map()
656 irqEntry.parentIrq = interruptNumber + GIC_INTERRUPT_BASE_PPI; in fdt_device_get_interrupt_map()
658 irqEntry.parentIrq = interruptNumber; in fdt_device_get_interrupt_map()
662 interrupt_map->fInterruptMap.PushBack(irqEntry); in fdt_device_get_interrupt_map()