Home
last modified time | relevance | path

Searched refs:timer_irq (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/clocksource/
H A Dtimer-cs5535.c21 static int timer_irq; variable
22 module_param_hw_named(irq, timer_irq, int, irq, 0644);
149 if (cs5535_mfgpt_setup_irq(timer, MFGPT_CMP2, &timer_irq)) { in cs5535_mfgpt_init()
151 timer_irq); in cs5535_mfgpt_init()
156 ret = request_irq(timer_irq, mfgpt_tick, flags, DRV_NAME, timer); in cs5535_mfgpt_init()
170 timer_irq); in cs5535_mfgpt_init()
177 cs5535_mfgpt_release_irq(cs5535_event_clock, MFGPT_CMP2, &timer_irq); in cs5535_mfgpt_init()
H A Dtimer-vt8500.c106 int timer_irq, ret; in vt8500_timer_init() local
115 timer_irq = irq_of_parse_and_map(np, 0); in vt8500_timer_init()
116 if (!timer_irq) { in vt8500_timer_init()
135 ret = request_irq(timer_irq, vt8500_timer_interrupt, in vt8500_timer_init()
H A Dtimer-ixp4xx.c163 int timer_irq, in ixp4xx_timer_register() argument
208 tmr->clkevt.irq = timer_irq; in ixp4xx_timer_register()
209 ret = request_irq(timer_irq, ixp4xx_timer_interrupt, in ixp4xx_timer_register()
/openbmc/qemu/target/riscv/
H A Dtime_helper.c45 uint32_t timer_irq) in riscv_timer_write_timecmp() argument
57 if (timer_irq == MIP_VSTIP) { in riscv_timer_write_timecmp()
67 if (timer_irq == MIP_VSTIP) { in riscv_timer_write_timecmp()
71 riscv_cpu_update_mip(env, timer_irq, BOOL_TO_MASK(0)); in riscv_timer_write_timecmp()
H A Dtime_helper.h27 uint32_t timer_irq);
/openbmc/linux/arch/arm64/kvm/
H A Darch_timer.c451 trace_kvm_timer_update_irq(vcpu->vcpu_id, timer_irq(timer_ctx), in kvm_timer_update_irq()
456 timer_irq(timer_ctx), in kvm_timer_update_irq()
669 phys_active = kvm_vgic_map_is_active(vcpu, timer_irq(ctx)); in kvm_timer_vcpu_load_gic()
731 hw = kvm_vgic_get_map(vcpu, timer_irq(map->direct_vtimer)); in kvm_timer_vcpu_load_nested_switch()
733 kvm_vgic_unmap_phys_irq(vcpu, timer_irq(map->emul_vtimer)); in kvm_timer_vcpu_load_nested_switch()
734 kvm_vgic_unmap_phys_irq(vcpu, timer_irq(map->emul_ptimer)); in kvm_timer_vcpu_load_nested_switch()
738 timer_irq(map->direct_vtimer), in kvm_timer_vcpu_load_nested_switch()
743 timer_irq(map->direct_ptimer), in kvm_timer_vcpu_load_nested_switch()
972 kvm_vgic_reset_mapped_irq(vcpu, timer_irq(map.direct_vtimer)); in kvm_timer_vcpu_reset()
974 kvm_vgic_reset_mapped_irq(vcpu, timer_irq(map.direct_ptimer)); in kvm_timer_vcpu_reset()
[all …]
/openbmc/qemu/hw/dma/
H A Drc4030.c95 qemu_irq timer_irq; member
109 qemu_irq_lower(s->timer_irq); in set_next_tick()
238 qemu_irq_lower(s->timer_irq); in rc4030_read()
373 qemu_irq_lower(s->timer_irq); in rc4030_write()
426 qemu_irq_raise(s->timer_irq); in rc4030_periodic_timer()
553 qemu_irq_lower(s->timer_irq); in rc4030_reset()
668 sysbus_init_irq(sysbus, &s->timer_irq); in rc4030_initfn()
/openbmc/qemu/hw/cpu/
H A Da15mpcore.c100 const int timer_irq[] = { in a15mp_priv_realize() local
106 for (irq = 0; irq < ARRAY_SIZE(timer_irq); irq++) { in a15mp_priv_realize()
109 ppibase + timer_irq[irq])); in a15mp_priv_realize()
/openbmc/linux/arch/m68k/q40/
H A Dq40ints.c154 int timer_irq; in q40_sched_init() local
156 timer_irq = Q40_IRQ_FRAME; in q40_sched_init()
158 if (request_irq(timer_irq, q40_timer_int, 0, "timer", NULL)) in q40_sched_init()
/openbmc/linux/drivers/rtc/
H A Drtc-pcap.c134 int timer_irq, alarm_irq; in pcap_rtc_probe() local
153 timer_irq = pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ); in pcap_rtc_probe()
156 err = devm_request_irq(&pdev->dev, timer_irq, pcap_rtc_irq, 0, in pcap_rtc_probe()
/openbmc/qemu/hw/arm/
H A Dmsf2-soc.c59 static const int timer_irq[MSF2_NUM_TIMERS] = { 14, 15 }; variable
169 qdev_get_gpio_in(armv7m, timer_irq[0])); in m2sxxx_soc_realize()
171 qdev_get_gpio_in(armv7m, timer_irq[1])); in m2sxxx_soc_realize()
H A Dstm32f205_soc.c45 static const int timer_irq[STM_NUM_TIMERS] = {28, 29, 30, 50}; variable
170 sysbus_connect_irq(busdev, 0, qdev_get_gpio_in(armv7m, timer_irq[i])); in stm32f205_soc_realize()
H A Dstm32f405_soc.c49 static const int timer_irq[] = { 28, 29, 30, 50 }; variable
204 sysbus_connect_irq(busdev, 0, qdev_get_gpio_in(armv7m, timer_irq[i])); in stm32f405_soc_realize()
H A Dallwinner-h3.c293 const int timer_irq[] = { in allwinner_h3_realize() local
301 for (irq = 0; irq < ARRAY_SIZE(timer_irq); irq++) { in allwinner_h3_realize()
304 ppibase + timer_irq[irq])); in allwinner_h3_realize()
H A Dallwinner-r40.c367 const int timer_irq[] = { in allwinner_r40_realize() local
375 for (irq = 0; irq < ARRAY_SIZE(timer_irq); irq++) { in allwinner_r40_realize()
378 ppibase + timer_irq[irq])); in allwinner_r40_realize()
H A Dmps3r.c295 const int timer_irq[] = { in create_gic() local
301 for (irq = 0; irq < ARRAY_SIZE(timer_irq); irq++) { in create_gic()
304 intidbase + timer_irq[irq])); in create_gic()
H A Daspeed_ast27x0.c442 const int timer_irq[] = { in aspeed_soc_ast2700_gic_realize() local
450 for (j = 0; j < ARRAY_SIZE(timer_irq); j++) { in aspeed_soc_ast2700_gic_realize()
452 qdev_get_gpio_in(gicdev, intidbase + timer_irq[j])); in aspeed_soc_ast2700_gic_realize()
H A Dsbsa-ref.c481 const int timer_irq[] = { in create_gic() local
489 for (irq = 0; irq < ARRAY_SIZE(timer_irq); irq++) { in create_gic()
492 intidbase + timer_irq[irq])); in create_gic()
H A Dxlnx-versal.c110 const int timer_irq[] = { in versal_create_apu_gic() local
117 for (ti = 0; ti < ARRAY_SIZE(timer_irq); ti++) { in versal_create_apu_gic()
120 ppibase + timer_irq[ti])); in versal_create_apu_gic()
H A Dstellaris.c994 static const int timer_irq[] = {19, 21, 23, 35}; in stellaris_init() local
1139 sysbus_connect_irq(sbd, 0, qdev_get_gpio_in(nvic, timer_irq[i])); in stellaris_init()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Darch_timer.c124 unsigned int timer_irq = 0; in guest_validate_irq() local
134 timer_irq = vtimer_irq; in guest_validate_irq()
139 timer_irq = ptimer_irq; in guest_validate_irq()
157 GUEST_ASSERT_EQ(intid, timer_irq); in guest_validate_irq()
/openbmc/linux/arch/sparc/kernel/
H A Dpcic.c706 int timer_irq, irq; in pci_time_init() local
723 timer_irq = PCI_COUNTER_IRQ_SYS(v); in pci_time_init()
724 writel (PCI_COUNTER_IRQ_SET(timer_irq, 0), in pci_time_init()
726 irq = pcic_build_device_irq(NULL, timer_irq); in pci_time_init()
730 prom_printf("time_init: unable to attach IRQ%d\n", timer_irq); in pci_time_init()
/openbmc/linux/include/kvm/
H A Darm_arch_timer.h132 #define timer_irq(ctx) (timer_vm_data(ctx)->ppi[arch_timer_ctx_index(ctx)]) macro
/openbmc/linux/drivers/net/fddi/skfp/h/
H A Dsmc.h481 void timer_irq(struct s_smc *smc);
/openbmc/linux/drivers/net/fddi/skfp/
H A Ddrvfbi.c250 void timer_irq(struct s_smc *smc) in timer_irq() function

12