Lines Matching full:tick
71 /* Set things up so user can access tick register for profiling in tick_disable_protection()
73 * read back of %tick after writing it. in tick_disable_protection()
79 "1: rd %%tick, %%g2\n" in tick_disable_protection()
82 " wrpr %%g2, 0, %%tick\n" in tick_disable_protection()
83 " rdpr %%tick, %%g0" in tick_disable_protection()
111 __asm__ __volatile__("rd %%tick, %0\n\t" in tick_get_tick()
122 __asm__ __volatile__("rd %%tick, %0" in tick_add_compare()
145 __asm__ __volatile__("rd %%tick, %0" in tick_add_compare()
157 __asm__ __volatile__("rd %%tick, %0\n\t" in tick_add_tick()
159 "wrpr %0, 0, %%tick\n\t" in tick_add_tick()
197 .name = "tick",
220 /* Writes to the %tick and %stick register are not in stick_init_tick()
381 * XXX {TICK + STICK} interrupt mux. -DaveM in hbtick_init_tick()
809 instr = (tlb_type == spitfire) ? p->tick : p->stick; in get_tick_patch()
822 unsigned long freq, quotient, tick; in init_tick_ops() local
826 tick = ops->get_tick(); in init_tick_ops()
828 ops->offset = (tick * quotient) >> SPARC64_NSEC_PER_CYC_SHIFT; in init_tick_ops()
887 * latency with reading tick, because reading %tick/%stick is a in sched_clock()