Searched refs:lapic_clockevent (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/x86/kernel/apic/
H A Dapic.c522 static struct clock_event_device lapic_clockevent = { variable in typeref:struct:clock_event_device
544 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; setup_APIC_timer()
546 lapic_clockevent.rating = 150; setup_APIC_timer()
549 memcpy(levt, &lapic_clockevent, sizeof(*levt)); setup_APIC_timer()
693 lapic_clockevent.mult = div_sc(lapic_timer_frequency/APIC_DIVISOR, calibrate_APIC_clock()
694 TICK_NSEC, lapic_clockevent.shift); calibrate_APIC_clock()
695 lapic_clockevent.max_delta_ns = calibrate_APIC_clock()
696 clockevent_delta2ns(0x7FFFFF, &lapic_clockevent); calibrate_APIC_clock()
697 lapic_clockevent.min_delta_ns = calibrate_APIC_clock()
698 clockevent_delta2ns(0xF, &lapic_clockevent); calibrate_APIC_clock()
699 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; calibrate_APIC_clock()
740 lapic_clockevent.mult = div_sc(delta, TICK_NSEC * LAPIC_CAL_LOOPS, calibrate_APIC_clock()
741 lapic_clockevent.shift); calibrate_APIC_clock()
742 lapic_clockevent.max_delta_ns = calibrate_APIC_clock()
743 clockevent_delta2ns(0x7FFFFFFF, &lapic_clockevent); calibrate_APIC_clock()
744 lapic_clockevent.min_delta_ns = calibrate_APIC_clock()
745 clockevent_delta2ns(0xF, &lapic_clockevent); calibrate_APIC_clock()
750 apic_printk(APIC_VERBOSE, "..... mult: %u\n", lapic_clockevent.mult); calibrate_APIC_clock()
837 lapic_clockevent.mult = 1; setup_boot_APIC_clock()
855 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; setup_boot_APIC_clock()

Completed in 45 milliseconds