Home
last modified time | relevance | path

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

123456789

/external/crosvm/devices/src/irqchip/
Dioapic.rs43 fn encode_selector_from_irq(irq: usize, is_high_bits: bool) -> u8 { in encode_selector_from_irq()
44 (irq as u8) * IOWIN_SCALE + IOWIN_OFF + (is_high_bits as u8) in encode_selector_from_irq()
250 pub fn service_irq(&mut self, irq: usize, level: bool) -> bool { in service_irq()
251 let entry = &mut self.redirect_table[irq]; in service_irq()
255 self.interrupt_level[irq] = false; in service_irq()
260 if entry.get_trigger_mode() == TriggerMode::Edge && self.interrupt_level[irq] { in service_irq()
264 self.interrupt_level[irq] = true; in service_irq()
278 if irq == RTC_IRQ && self.rtc_remote_irr { in service_irq()
282 let injected = match self.out_events.get(irq) { in service_irq()
289 } else if irq == RTC_IRQ && injected { in service_irq()
[all …]
Dpic.rs163 pub fn service_irq(&mut self, irq: u8, level: bool) -> bool { in service_irq()
164 assert!(irq <= 15, "Unexpectedly high value irq: {} vs 15", irq); in service_irq()
166 let pic = if irq <= PRIMARY_PIC_MAX_IRQ { in service_irq()
171 Pic::set_irq_internal(&mut self.pics[pic as usize], irq & 7, level); in service_irq()
194 let irq_primary = if let Some(irq) = self.get_irq(PicSelect::Primary) { in get_external_interrupt()
195 irq in get_external_interrupt()
209 let irq_secondary = if let Some(irq) = self.get_irq(PicSelect::Secondary) { in get_external_interrupt()
210 self.interrupt_ack(PicSelect::Secondary, irq); in get_external_interrupt()
211 irq in get_external_interrupt()
315 for irq in 0..8 { in reset_pic()
[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/arm-trusted-firmware/plat/qti/common/src/
Dqti_interrupt_svc.c27 uint32_t irq = QTI_INTR_INVALID_INT_NUM; in qti_el3_interrupt_handler() local
35 irq = plat_ic_acknowledge_interrupt(); in qti_el3_interrupt_handler()
37 qtiseclib_invoke_isr(irq, handle); in qti_el3_interrupt_handler()
40 if (irq < 1022U) { in qti_el3_interrupt_handler()
41 plat_ic_end_of_interrupt(irq); in qti_el3_interrupt_handler()
/external/arm-trusted-firmware/plat/mediatek/mt8192/
Dplat_mt_gic.c61 void mt_gic_set_pending(uint32_t irq) in mt_gic_set_pending() argument
63 gicv3_set_interrupt_pending(irq, plat_my_core_pos()); in mt_gic_set_pending()
179 uint32_t mt_irq_get_pending(uint32_t irq) in mt_irq_get_pending() argument
184 irq / 32 * 4); in mt_irq_get_pending()
185 val = (val >> (irq % 32)) & 1U; in mt_irq_get_pending()
190 void mt_irq_set_pending(uint32_t irq) in mt_irq_set_pending() argument
192 uint32_t bit = 1U << (irq % 32); in mt_irq_set_pending()
195 irq / 32 * 4, bit); in mt_irq_set_pending()
Dplat_mt_cirq.c140 static uint32_t mt_irq_get_pol(uint32_t irq) in mt_irq_get_pol() argument
146 if (irq < 32U) { in mt_irq_get_pol()
150 reg = ((irq - 32U) / 32U); in mt_irq_get_pol()
158 unsigned int mt_irq_get_sens(unsigned int irq) in mt_irq_get_sens() argument
166 config = mmio_read_32(MT_GIC_BASE + GICD_ICFGR + (irq / 16U) * 4U); in mt_irq_get_sens()
167 config = (config >> (irq % 16U) * 2U) & 0x3; in mt_irq_get_sens()
300 uint32_t mt_irq_get_en(uint32_t irq) in mt_irq_get_en() argument
304 addr = BASE_GICD_BASE + GICD_ISENABLER + (irq / 32U) * 4U; in mt_irq_get_en()
307 val = (st >> (irq % 32U)) & 1U; in mt_irq_get_en()
477 void mt_irq_unmask_for_sleep_ex(uint32_t irq) in mt_irq_unmask_for_sleep_ex() argument
[all …]
/external/arm-trusted-firmware/plat/xilinx/versal/pm_service/
Dpm_client.c107 static enum pm_device_node_idx irq_to_pm_node_idx(unsigned int irq) in irq_to_pm_node_idx() argument
109 assert(irq <= IRQ_MAX); in irq_to_pm_node_idx()
110 return irq_node_map[irq]; in irq_to_pm_node_idx()
136 uint32_t idx, ret, irq, lowest_set = reg & (-reg); in pm_client_set_wakeup_sources() local
139 irq = base_irq + idx; in pm_client_set_wakeup_sources()
141 if (irq > IRQ_MAX) in pm_client_set_wakeup_sources()
144 node_idx = irq_to_pm_node_idx(irq); in pm_client_set_wakeup_sources()
/external/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/
Dpm_client.c166 static enum pm_node_id irq_to_pm_node(unsigned int irq) in irq_to_pm_node() argument
168 assert(irq <= IRQ_MAX); in irq_to_pm_node()
169 return irq_node_map[irq]; in irq_to_pm_node()
206 uint32_t idx, ret, irq, lowest_set = reg & (-reg); in pm_client_set_wakeup_sources() local
209 irq = base_irq + idx; in pm_client_set_wakeup_sources()
211 if (irq > IRQ_MAX) in pm_client_set_wakeup_sources()
214 node = irq_to_pm_node(irq); in pm_client_set_wakeup_sources()
/external/arm-trusted-firmware/plat/mediatek/mt8192/include/
Dmt_gic_v3.h15 void mt_gic_set_pending(uint32_t irq);
24 uint32_t mt_irq_get_pending(uint32_t irq);
25 void mt_irq_set_pending(uint32_t irq);
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dmarvell_gicv2.c80 uint32_t irq; in a7k8k_pmu_interrupt_handler() local
85 irq = plat_ic_acknowledge_interrupt(); in a7k8k_pmu_interrupt_handler()
87 plat_ic_end_of_interrupt(irq); in a7k8k_pmu_interrupt_handler()
89 if (irq != MARVELL_IRQ_PIC0) { in a7k8k_pmu_interrupt_handler()
/external/crosvm/aarch64/src/
Dfdt.rs122 for &irq in &irqs { in create_timer_node()
124 timer_reg_cells.push(irq); in create_timer_node()
141 let irq = [ in create_pmu_node() localVariable
149 fdt.property_array_u32("interrupts", &irq)?; in create_pmu_node()
154 fn create_serial_node(fdt: &mut FdtWriter, addr: u64, irq: u32) -> Result<()> { in create_serial_node()
156 let irq = [GIC_FDT_IRQ_TYPE_SPI, irq, IRQ_TYPE_EDGE_RISING]; in create_serial_node() localVariable
162 fdt.property_array_u32("interrupts", &irq)?; in create_serial_node()
325 let irq = [GIC_FDT_IRQ_TYPE_SPI, AARCH64_RTC_IRQ, IRQ_TYPE_LEVEL_HIGH]; in create_rtc_node() localVariable
331 fdt.property_array_u32("interrupts", &irq)?; in create_rtc_node()
/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/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/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_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_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/crosvm/devices/src/irqchip/kvm/
Dmod.rs42 irq: u32, in register_irq_event()
46 self.vm.register_irqfd(irq, irq_event, resample_event)?; in register_irq_event()
51 fn unregister_irq_event(&mut self, irq: u32, irq_event: &Event) -> Result<()> { in unregister_irq_event()
52 self.vm.unregister_irqfd(irq, irq_event) in unregister_irq_event()
84 fn service_irq(&mut self, irq: u32, level: bool) -> Result<()> { in service_irq()
85 self.vm.set_irq_line(irq, level) in service_irq()
/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
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/irq/irq_handler_entry/
Dformat10 field:int irq; offset:12; size:4; signed:1;
14 print fmt: "irq=%d name=%s handler=%pf", REC->irq, __get_str(name), REC->handler
/external/perfetto/test/trace_processor/parsing/
Dsched_slices_sched_switch_original.out21 807082862950996,1,157708,807082863108704,"D",49,4454,"irq/80-1436400."
23 807082863150944,1,42760,807082863193704,"S",49,4454,"irq/80-1436400."
25 807082865125527,1,159532,807082865285059,"D",49,4458,"irq/81-114a000."
27 807082865319434,1,38333,807082865357767,"S",49,4458,"irq/81-114a000."
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/preemptirq/
Dirqsoff_tracer.tc54 modprobe $MOD test_mode=irq delay=500000 || fail
56 modprobe $MOD test_mode=irq delay=500000 || fail
58 modprobe $MOD test_mode=irq delay=500000 || fail
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh30 for irq in ${IRQS}; do
31 echo $MASK > /proc/irq/${irq}/smp_affinity || \
32 tst_resm TINFO "It is NOT permitted to change the IRQ $irq smp_affinity"

123456789