Lines Matching full:timebase
67 static u64 timebase; variable
298 /* No sure how timebase sync works on those, let's use SW */ in smp_psurge_probe()
359 * We can't use udelay here because the timebase is now frozen. in smp_psurge_kick_cpu()
366 * Also, because the timebase is frozen, we must not return to the in smp_psurge_kick_cpu()
384 timebase = get_tb(); in smp_psurge_kick_cpu()
386 while (timebase) in smp_psurge_kick_cpu()
423 while (!timebase) in smp_psurge_take_timebase()
426 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_psurge_take_timebase()
427 timebase = 0; in smp_psurge_take_timebase()
466 timebase = get_tb(); in smp_core99_give_timebase()
468 while (timebase) in smp_core99_give_timebase()
486 while (!timebase) in smp_core99_take_timebase()
489 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_core99_take_timebase()
490 timebase = 0; in smp_core99_take_timebase()
498 * G5s enable/disable the timebase via an i2c-connected clock chip.
528 printk("Cypress Timebase %s rc: %d\n", in smp_core99_cypress_tb_freeze()
530 panic("Timebase freeze failed !\n"); in smp_core99_cypress_tb_freeze()
556 printk(KERN_ERR "Pulsar Timebase %s rc: %d\n", in smp_core99_pulsar_tb_freeze()
558 panic("Timebase freeze failed !\n"); in smp_core99_pulsar_tb_freeze()
613 printk(KERN_INFO "Processor timebase sync using %s i2c clock\n", in smp_core99_setup_i2c_hwsync()
637 pmf_call_function(cpus, "cpu-timebase", &args); in smp_core99_pfunc_tb_freeze()
644 * SMP G4 use a GPIO to enable/disable the timebase.
647 static unsigned int core99_tb_gpio; /* Timebase freeze GPIO */
711 of_property_read_bool(cpus, "platform-cpu-timebase")) { in smp_core99_setup()
713 printk(KERN_INFO "Processor timebase sync using" in smp_core99_setup()
729 tbprop = of_get_property(cpu, "timebase-enable", NULL); in smp_core99_setup()
735 printk(KERN_INFO "Processor timebase sync using" in smp_core99_setup()
741 /* No timebase sync, fallback to software */ in smp_core99_setup()
745 printk(KERN_INFO "Processor timebase sync using software\n"); in smp_core99_setup()
786 /* Setup various bits like timebase sync method, ability to nap, ... */ in smp_core99_probe()