Home
last modified time | relevance | path

Searched refs:irq (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/external/u-boot/arch/x86/lib/
Dinterrupts.c47 void irq_install_handler(int irq, interrupt_handler_t *handler, void *arg) in irq_install_handler() argument
51 if (irq < 0 || irq >= SYS_NUM_IRQS) { in irq_install_handler()
52 printf("irq_install_handler: bad irq number %d\n", irq); in irq_install_handler()
56 if (irq_handlers[irq].handler != NULL) in irq_install_handler()
59 (ulong) irq_handlers[irq].handler); in irq_install_handler()
63 irq_handlers[irq].handler = handler; in irq_install_handler()
64 irq_handlers[irq].arg = arg; in irq_install_handler()
65 irq_handlers[irq].count = 0; in irq_install_handler()
67 unmask_irq(irq); in irq_install_handler()
75 void irq_free_handler(int irq) in irq_free_handler() argument
[all …]
Dpirq_routing.c17 u8 irq = 0; in pirq_get_next_free_irq() local
26 irq = i; in pirq_get_next_free_irq()
29 if (irq_already_routed[irq]) in pirq_get_next_free_irq()
33 if (pirq_check_irq_routed(dev, link, irq)) { in pirq_get_next_free_irq()
34 irq_already_routed[irq] = true; in pirq_get_next_free_irq()
40 if (!irq_already_routed[irq]) { in pirq_get_next_free_irq()
41 irq_already_routed[irq] = true; in pirq_get_next_free_irq()
49 return irq; in pirq_get_next_free_irq()
52 void pirq_route_irqs(struct udevice *dev, struct irq_info *irq, int num) in pirq_route_irqs() argument
65 irq->bus, irq->devfn >> 3, irq->devfn & 7); in pirq_route_irqs()
[all …]
Di8259.c66 void mask_irq(int irq) in mask_irq() argument
70 if (irq >= SYS_NUM_IRQS) in mask_irq()
73 if (irq > 7) in mask_irq()
78 outb(inb(imr_port) | (1 << (irq & 7)), imr_port); in mask_irq()
81 void unmask_irq(int irq) in unmask_irq() argument
85 if (irq >= SYS_NUM_IRQS) in unmask_irq()
88 if (irq > 7) in unmask_irq()
93 outb(inb(imr_port) & ~(1 << (irq & 7)), imr_port); in unmask_irq()
96 void specific_eoi(int irq) in specific_eoi() argument
98 if (irq >= SYS_NUM_IRQS) in specific_eoi()
[all …]
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/
Dcpuhotplug_report_proc_interrupts9 foreach my $irq (sort keys %{$run1}) {
12 foreach my $cpu (sort keys %{$run1->{$irq}}) {
18 printf "%-8s ", $irq;
19 foreach my $cpu (sort keys %{$run1->{$irq}}) {
20 printf "%-5s ", $run2->{$irq}->{$cpu} - $run1->{$irq}->{$cpu};
40 my $irq = shift @items;
41 $irq =~ s/:$//;
43 $run{"IRQ$irq"}->{"$cpu"} = shift @items;
/external/u-boot/arch/microblaze/cpu/
Dinterrupts.c46 static void enable_one_interrupt(int irq) in enable_one_interrupt() argument
51 offset <<= irq; in enable_one_interrupt()
61 static void disable_one_interrupt(int irq) in disable_one_interrupt() argument
66 offset <<= irq; in disable_one_interrupt()
70 debug("Disable one interrupt irq %x - mask %x,ier %x\n", irq, mask, in disable_one_interrupt()
76 int install_interrupt_handler(int irq, interrupt_handler_t *hdlr, void *arg) in install_interrupt_handler() argument
81 if ((irq < 0) || (irq > irq_no)) { in install_interrupt_handler()
85 act = &vecs[irq]; in install_interrupt_handler()
90 enable_one_interrupt(irq); in install_interrupt_handler()
96 act->arg = (void *)irq; in install_interrupt_handler()
[all …]
Dtimer.c45 int irq = -1; in timer_init() local
69 irq = cell[0]; in timer_init()
70 debug("TIMER: IRQ %x\n", irq); in timer_init()
78 if (tmr && preload && irq >= 0) { in timer_init()
84 ret = install_interrupt_handler (irq, timer_isr, (void *)tmr); in timer_init()
/external/u-boot/arch/nios2/cpu/
Dinterrupts.c76 void irq_install_handler (int irq, interrupt_handler_t *hdlr, void *arg) in irq_install_handler() argument
83 if ((irq < 0) || (irq > 31)) in irq_install_handler()
85 act = &vecs[irq]; in irq_install_handler()
91 ena |= (1 << irq); /* enable */ in irq_install_handler()
94 act->arg = (void *)irq; in irq_install_handler()
95 ena &= ~(1 << irq); /* disable */ in irq_install_handler()
/external/u-boot/arch/powerpc/cpu/mpc8xx/
Dinterrupts.c53 int irq; in external_interrupt() local
62 irq = vec >> 26; in external_interrupt()
63 v_bit = 0x80000000UL >> irq; in external_interrupt()
69 clrbits_be32(&immr->im_siu_conf.sc_simask, 0xFFFF0000 >> irq); in external_interrupt()
71 if (!(irq & 0x1)) { /* External Interrupt ? */ in external_interrupt()
87 if (irq_vecs[irq].handler != NULL) { in external_interrupt()
88 irq_vecs[irq].handler(irq_vecs[irq].arg); in external_interrupt()
91 irq, vec); in external_interrupt()
/external/u-boot/arch/x86/cpu/
Dirq.c77 bool pirq_check_irq_routed(struct udevice *dev, int link, u8 irq) in pirq_check_irq_routed() argument
95 return pirq == irq ? true : false; in pirq_check_irq_routed()
105 void pirq_assign_irq(struct udevice *dev, int link, u8 irq) in pirq_assign_irq() argument
110 if (irq < 3 || irq == 8 || irq == 13) in pirq_assign_irq()
115 pirq_linkno_to_reg(priv, link), irq); in pirq_assign_irq()
117 writeb(irq, (uintptr_t)priv->ibase + in pirq_assign_irq()
141 slot->irq[pin - 1].link = pirq_linkno_to_reg(priv, pirq); in fill_irq_info()
142 slot->irq[pin - 1].bitmap = priv->irq_mask; in fill_irq_info()
285 if (slot->irq[pr.pin - 1].link) { in create_pirq_routing_table()
295 if (slot->irq[pr.pin - 1].link != in create_pirq_routing_table()
[all …]
/external/u-boot/drivers/misc/
Dali512x.c82 void ali512x_set_fdc(int enabled, u16 io, u8 irq, u8 dma_channel) in ali512x_set_fdc() argument
91 ali_write(0x70, irq); in ali512x_set_fdc()
104 void ali512x_set_pp(int enabled, u16 io, u8 irq, u8 dma_channel) in ali512x_set_pp() argument
113 ali_write(0x70, irq); in ali512x_set_pp()
125 void ali512x_set_uart(int enabled, int index, u16 io, u8 irq) in ali512x_set_uart() argument
134 ali_write(0x70, irq); in ali512x_set_uart()
161 void ali512x_set_rtc(int enabled, u16 io, u8 irq) in ali512x_set_rtc() argument
170 ali_write(0x70, irq); in ali512x_set_rtc()
/external/u-boot/include/
Dali512x.h21 void ali512x_set_fdc(int enabled, u16 io, u8 irq, u8 dma_channel);
22 void ali512x_set_pp(int enabled, u16 io, u8 irq, u8 dma_channel);
23 void ali512x_set_uart(int enabled, int index, u16 io, u8 irq);
24 void ali512x_set_rtc(int enabled, u16 io, u8 irq);
/external/u-boot/arch/x86/include/asm/
Dpirq_routing.h33 } irq[MAX_INTX_ENTRIES]; member
80 bool pirq_check_irq_routed(struct udevice *dev, int link, u8 irq);
111 void pirq_assign_irq(struct udevice *dev, int link, u8 irq);
126 void pirq_route_irqs(struct udevice *dev, struct irq_info *irq, int num);
Dinterrupt.h45 void mask_irq(int irq);
46 void unmask_irq(int irq);
47 void specific_eoi(int irq);
/external/u-boot/arch/xtensa/dts/
Dxtfpga.dtsi30 /* one cell: internal irq number,
31 * two cells: second cell == 0: internal irq number
32 * second cell == 1: external irq number
65 interrupts = <0 1>; /* external irq 0 */
73 interrupts = <1 1>; /* external irq 1 */
82 interrupts = <2 1>; /* external irq 2 */
/external/bcc/tools/
Dhardirqs_example.txt8 Tracing hard irq event time... Hit Ctrl-C to end.
35 hard irq action ran for 11441 microseconds (11 milliseconds) in total.
46 Tracing hard irq event time... Hit Ctrl-C to end.
126 interrupts (summarized as the %irq column from mpstat(1)). The output above
189 other overheads (non-irq CPU cycles, file system storage).
196 Tracing hard irq event time... Hit Ctrl-C to end.
621 Tracing hard irq events... Hit Ctrl-C to end.
655 Summarize hard irq event time as histograms
669 ./hardirqs # sum hard irq event time
670 ./hardirqs -d # show hard irq event time as histograms
Dsoftirqs_example.txt8 Tracing soft irq event time... Hit Ctrl-C to end.
31 Tracing soft irq event time... Hit Ctrl-C to end.
71 Tracing soft irq event time... Hit Ctrl-C to end.
187 Summarize soft irq event time as histograms
200 ./softirqs # sum soft irq event time
201 ./softirqs -d # show soft irq event time as histograms
/external/linux-kselftest/tools/testing/selftests/rtc/
Drtctest.c54 int i, rc, irq = 0; in TEST_F() local
69 irq++; in TEST_F()
72 EXPECT_EQ(NUM_UIE, irq); in TEST_F()
79 int i, rc, irq = 0; in TEST_F() local
104 irq++; in TEST_F()
107 EXPECT_EQ(NUM_UIE, irq); in TEST_F()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/irq/irq_handler_exit/
Dformat9 field:int irq; offset:8; size:4; signed:1;
12 print fmt: "irq=%d ret=%s", REC->irq, REC->ret ? "handled" : "unhandled"
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/irq/irq_handler_entry/
Dformat9 field:int irq; offset:8; size:4; signed:1;
12 print fmt: "irq=%d name=%s", REC->irq, __get_str(name)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/irq/irq_handler_exit/
Dformat9 field:int irq; offset:8; size:4; signed:1;
12 print fmt: "irq=%d ret=%s", REC->irq, REC->ret ? "handled" : "unhandled"
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/irq/irq_handler_entry/
Dformat9 field:int irq; offset:8; size:4; signed:1;
12 print fmt: "irq=%d name=%s", REC->irq, __get_str(name)
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/irq/irq_handler_exit/
Dformat9 field:int irq; offset:8; size:4; signed:1;
12 print fmt: "irq=%d ret=%s", REC->irq, REC->ret ? "handled" : "unhandled"
/external/u-boot/arch/x86/cpu/qemu/
Dqemu.c175 u8 irq; in mp_determine_pci_dstirq() local
184 PCI_INTERRUPT_LINE, &irq); in mp_determine_pci_dstirq()
190 irq = pirq < 8 ? pirq + 16 : pirq + 12; in mp_determine_pci_dstirq()
193 return irq; in mp_determine_pci_dstirq()
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/irq/irq_handler_exit/
Dformat10 field:int irq; offset:12; size:4; signed:1;
13 print fmt: "irq=%d ret=%s", REC->irq, REC->ret ? "handled" : "unhandled"
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/irq/irq_handler_entry/
Dformat9 field:int irq; offset:8; size:4; signed:1;
13 print fmt: "irq=%d name=%s handler=%pf", REC->irq, __get_str(name), REC->handler

12345678910>>...20