Searched refs:irq (Results 1 - 25 of 117) sorted by relevance

12345

/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp42 arch_int_enable_io_interrupt(int irq) argument
48 arch_int_disable_io_interrupt(int irq) argument
54 arch_int_assign_to_cpu(int32 irq, int32 cpu) argument
/haiku/src/system/kernel/arch/sparc/
H A Darch_int.cpp42 arch_int_enable_io_interrupt(int irq) argument
48 arch_int_disable_io_interrupt(int irq) argument
54 arch_int_assign_to_cpu(int32 irq, int32 cpu) argument
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Dconfig.h20 uint32 irq; member in struct:__anon1478
/haiku/headers/private/kernel/arch/
H A Dint.h33 void arch_int_enable_io_interrupt(int irq);
34 void arch_int_disable_io_interrupt(int irq);
35 void arch_int_configure_io_interrupt(int irq, uint32 config);
37 void arch_int_assign_to_cpu(int32 irq, int32 cpu);
/haiku/headers/os/drivers/
H A Dinterrupt_controller.h27 status_t (*enable_io_interrupt)(void *cookie, int irq, int type);
28 status_t (*disable_io_interrupt)(void *cookie, int irq);
/haiku/src/add-ons/kernel/bus_managers/pci/arch/x86/
H A Dpci_irq.cpp19 uint8 pin, uint8 *irq)
28 uint8 pin, uint8 irq)
17 pci_x86_irq_read(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 pin, uint8 *irq) argument
26 pci_x86_irq_write(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 pin, uint8 irq) argument
H A Dpci_irq.h15 uint8 pin, uint8 *irq);
19 uint8 pin, uint8 irq);
/haiku/src/system/kernel/arch/mips/
H A Darch_int.cpp12 void arch_int_enable_io_interrupt(int irq) argument
17 void arch_int_disable_io_interrupt(int irq) argument
/haiku/src/add-ons/kernel/interrupt_controllers/openpic/
H A Dopenpic.cpp149 openpic_enable_irq(openpic_info *info, int irq, int type) argument
155 x = openpic_read(info, OPENPIC_SRC_VECTOR(irq));
161 openpic_write(info, OPENPIC_SRC_VECTOR(irq), x);
166 openpic_disable_irq(openpic_info *info, int irq) argument
170 x = openpic_read(info, OPENPIC_SRC_VECTOR(irq));
172 openpic_write(info, OPENPIC_SRC_VECTOR(irq), x);
226 for (int irq = 0; irq < info->irq_count; irq++)
227 openpic_write(info, OPENPIC_SRC_VECTOR(irq), OPENPIC_IMAS
457 openpic_enable_io_interrupt(void *cookie, int irq, int type) argument
468 openpic_disable_io_interrupt(void *cookie, int irq) argument
487 int irq = openpic_read_irq(info, cpu); local
[all...]
H A Dopenpic.h77 #define OPENPIC_SRC_VECTOR(irq) (0x10000 + (irq) * 0x20)
91 #define OPENPIC_IDEST(irq) (0x10010 + (irq) * 0x20)
/haiku/src/system/kernel/arch/x86/
H A Dirq_routing_table.cpp41 irq(0),
57 dprintf("irq: %u, shareable: %u, polarity: %s, trigger_mode: %s\n",
58 descriptor.irq, descriptor.shareable,
77 dprintf(" pci %u:%u pin %u func mask %" B_PRIx32 "; bios irq: %u; gsi %u;"
79 entry.pci_function_mask, entry.bios_irq, entry.irq,
102 function, entry.irq) == B_OK) {
207 irqUsage[irqEntry.irq]++;
208 if (irqEntry.irq < kMaxISAInterrupts)
209 validForPCI |= (1 << irqEntry.irq);
230 panic("ran out of memory while configuring irq lin
906 acpi_resource_irq& irq = resource->Data.Irq; local
948 acpi_resource_extended_irq& irq = resource->Data.ExtendedIrq; local
1045 acpi_resource_irq& irq = resource->Data.Irq; local
1065 acpi_resource_extended_irq& irq = resource->Data.ExtendedIrq; local
[all...]
H A Darch_int.cpp363 x86_set_irq_source(int irq, irq_source source) argument
365 sVectorSources[irq] = source;
373 arch_int_enable_io_interrupt(int irq) argument
375 sCurrentPIC->enable_io_interrupt(irq);
380 arch_int_disable_io_interrupt(int irq) argument
382 sCurrentPIC->disable_io_interrupt(irq);
387 arch_int_configure_io_interrupt(int irq, uint32 config) argument
389 sCurrentPIC->configure_io_interrupt(irq, config);
428 arch_int_assign_to_cpu(int32 irq, int32 cpu) argument
430 switch (sVectorSources[irq]) {
[all...]
/haiku/src/system/kernel/scheduler/
H A Dlow_latency.cpp120 irq_assignment* irq = (irq_assignment*)list_get_first_item(&cpu->irqs); local
123 while (irq != NULL) {
124 if (chosen == NULL || chosen->load < irq->load)
125 chosen = irq;
126 totalLoad += irq->load;
127 irq = (irq_assignment*)list_get_next_item(&cpu->irqs, irq);
151 assign_io_interrupt_to_cpu(chosen->irq, newCPU);
H A Dpower_saving.cpp179 irq_assignment* irq = (irq_assignment*)list_get_first_item(&cpu->irqs); local
185 assign_io_interrupt_to_cpu(irq->irq, newCPU);
209 irq_assignment* irq = (irq_assignment*)list_get_first_item(&cpu->irqs); local
211 while (irq != NULL) {
212 if (chosen == NULL || chosen->load < irq->load)
213 chosen = irq;
214 irq = (irq_assignment*)list_get_next_item(&cpu->irqs, irq);
235 assign_io_interrupt_to_cpu(chosen->irq, newCP
[all...]
/haiku/src/system/kernel/arch/arm/
H A Dsoc_pxa.cpp10 PXAInterruptController::EnableInterrupt(int irq) argument
12 if (irq <= 31) {
13 fRegBase[PXA_ICMR] |= 1 << irq;
17 fRegBase[PXA_ICMR2] |= 1 << (irq - 32);
22 PXAInterruptController::DisableInterrupt(int irq) argument
24 if (irq <= 31) {
25 fRegBase[PXA_ICMR] &= ~(1 << irq);
29 fRegBase[PXA_ICMR2] &= ~(1 << (irq - 32));
H A Dsoc_omap3.cpp28 OMAP3InterruptController::EnableInterrupt(int irq) argument
30 uint32 bit = irq % 32, bank = irq / 32;
36 OMAP3InterruptController::DisableInterrupt(int irq) argument
38 uint32 bit = irq % 32, bank = irq / 32;
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dconfig.h42 uint32 irq; member in struct:__anon1477
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Ddriver.c15 const char* irq; local
22 (irq=get_driver_parameter(settings, "irq", "5", NULL)) != NULL &&
27 sb16->irq = strtol(irq, NULL, 16);
H A Dsb16_hw.c85 dev->irq = 5;
88 dev->irq = 2;
90 dev->irq = 5;
92 dev->irq = 7;
94 dev->irq = 10;
127 if (dev->irq == 2)
129 if (dev->irq == 5)
131 if (dev->irq == 7)
133 if (dev->irq == 10)
166 if (dev->irq >
[all...]
/haiku/src/system/kernel/platform/atari_m68k/
H A Dplatform.cpp109 void EnableIOInterrupt(int irq);
110 void DisableIOInterrupt(int irq);
111 bool AcknowledgeIOInterrupt(int irq);
152 virtual void EnableIOInterrupt(int irq);
153 virtual void DisableIOInterrupt(int irq);
154 virtual bool AcknowledgeIOInterrupt(int irq);
167 MFP *MFPForIrq(int irq);
209 M68KAtari::MFP::EnableIOInterrupt(int irq) argument
211 uint8 bit = 1 << (irq % 8);
213 uint32 reg = Base() + ((irq >
223 DisableIOInterrupt(int irq) argument
237 AcknowledgeIOInterrupt(int irq) argument
571 EnableIOInterrupt(int irq) argument
581 DisableIOInterrupt(int irq) argument
591 AcknowledgeIOInterrupt(int irq) argument
672 MFPForIrq(int irq) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_controller.h27 uint8 pin, uint8 *irq);
31 uint8 pin, uint8 irq);
/haiku/src/add-ons/kernel/busses/virtio/
H A Dvirtio_pci.cpp50 uint8 irq; member in struct:__anon4
110 uint8 irq = 0; // first irq slot local
112 + VIRTIO_MSI_CONFIG_VECTOR, irq);
119 irq++;
125 + VIRTIO_MSI_QUEUE_VECTOR, irq);
134 irq++;
310 bus->irq = vector;
322 bus->irq = vector;
337 bus->irq
365 int32 irq = bus->irq + 1; local
403 int32 irq = bus->irq + 1; local
501 int32 irq = bus->irq + 1; local
[all...]
/haiku/headers/private/kernel/arch/m68k/
H A Darch_platform.h46 virtual void EnableIOInterrupt(int irq) = 0;
47 virtual void DisableIOInterrupt(int irq) = 0;
48 virtual bool AcknowledgeIOInterrupt(int irq) = 0;
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohci_pci.cpp91 remove_io_interrupt_handler (sc->irq, fwohci_intr, sc);
189 sc->irq = gPci->read_pci_config(info->bus, info->device, info->function,
191 if (sc->irq == 0 || sc->irq == 0xff) {
195 TRACE("IRQ %d\n", sc->irq);
211 if (install_io_interrupt_handler(sc->irq, fwohci_intr,
/haiku/headers/os/drivers/pcmcia/
H A Ddriver_ops.h51 u_char irq, dma; member in struct:dev_locator_t::__anon270::__anon271

Completed in 236 milliseconds

12345