Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/apic/
H A Dapic.c581 struct clock_event_device *levt = this_cpu_ptr(&lapic_events); in setup_APIC_timer() local
589 memcpy(levt, &lapic_clockevent, sizeof(*levt)); in setup_APIC_timer()
590 levt->cpumask = cpumask_of(smp_processor_id()); in setup_APIC_timer()
593 levt->name = "lapic-deadline"; in setup_APIC_timer()
594 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_DUMMY); in setup_APIC_timer()
595 levt->features |= CLOCK_EVT_FEAT_CLOCKSOURCE_COUPLED; in setup_APIC_timer()
596 levt->cs_id = CSID_X86_TSC; in setup_APIC_timer()
597 levt->set_next_event = lapic_next_deadline; in setup_APIC_timer()
598 clockevents_config_and_register(levt, tsc_khz * (1000 / TSC_DIVISOR), 0xF, ~0UL); in setup_APIC_timer()
600 clockevents_register_device(levt); in setup_APIC_timer()
[all …]