Lines Matching full:tick
70 /* Set things up so user can access tick register for profiling in tick_disable_protection()
72 * read back of %tick after writing it. in tick_disable_protection()
78 "1: rd %%tick, %%g2\n" in tick_disable_protection()
81 " wrpr %%g2, 0, %%tick\n" in tick_disable_protection()
82 " rdpr %%tick, %%g0" in tick_disable_protection()
110 __asm__ __volatile__("rd %%tick, %0\n\t" in tick_get_tick()
121 __asm__ __volatile__("rd %%tick, %0" in tick_add_compare()
144 __asm__ __volatile__("rd %%tick, %0" in tick_add_compare()
156 __asm__ __volatile__("rd %%tick, %0\n\t" in tick_add_tick()
158 "wrpr %0, 0, %%tick\n\t" in tick_add_tick()
196 .name = "tick",
219 /* Writes to the %tick and %stick register are not in stick_init_tick()
380 * XXX {TICK + STICK} interrupt mux. -DaveM in hbtick_init_tick()
808 instr = (tlb_type == spitfire) ? p->tick : p->stick; in get_tick_patch()
821 unsigned long freq, quotient, tick; in init_tick_ops() local
825 tick = ops->get_tick(); in init_tick_ops()
827 ops->offset = (tick * quotient) >> SPARC64_NSEC_PER_CYC_SHIFT; in init_tick_ops()
886 * latency with reading tick, because reading %tick/%stick is a in sched_clock()