Lines Matching refs:levt
541 struct clock_event_device *levt = this_cpu_ptr(&lapic_events); in setup_APIC_timer() local
549 memcpy(levt, &lapic_clockevent, sizeof(*levt)); in setup_APIC_timer()
550 levt->cpumask = cpumask_of(smp_processor_id()); in setup_APIC_timer()
553 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | in setup_APIC_timer()
555 levt->set_next_event = lapic_next_deadline; in setup_APIC_timer()
556 clockevents_config_and_register(levt, in setup_APIC_timer()
560 clockevents_register_device(levt); in setup_APIC_timer()
676 struct clock_event_device *levt = this_cpu_ptr(&lapic_events); in calibrate_APIC_clock() local
775 levt->features &= ~CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
787 levt->event_handler = lapic_cal_handler; in calibrate_APIC_clock()
788 lapic_timer_setup(CLOCK_EVT_MODE_PERIODIC, levt); in calibrate_APIC_clock()
798 lapic_timer_setup(CLOCK_EVT_MODE_SHUTDOWN, levt); in calibrate_APIC_clock()
808 levt->features |= CLOCK_EVT_FEAT_DUMMY; in calibrate_APIC_clock()
812 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { in calibrate_APIC_clock()