Lines Matching defs:tmp
229 .macro inc_preempt_count, ti, tmp
230 ldr \tmp, [\ti, #TI_PREEMPT] @ get preempt count
231 add \tmp, \tmp, #1 @ increment it
232 str \tmp, [\ti, #TI_PREEMPT]
235 .macro dec_preempt_count, ti, tmp
236 ldr \tmp, [\ti, #TI_PREEMPT] @ get preempt count
237 sub \tmp, \tmp, #1 @ decrement it
238 str \tmp, [\ti, #TI_PREEMPT]
241 .macro inc_preempt_count, ti, tmp
244 .macro dec_preempt_count, ti, tmp
312 .macro set_current, rn:req, tmp:req
318 .L0_\@: str_va \rn, __current, \tmp
324 str_va \rn, __current, \tmp
595 .macro __adldst_l, op, reg, sym, tmp, c
597 ldr\c \tmp, .La\@
606 movw\c \tmp, #:lower16:\sym - .Lpc\@
607 movt\c \tmp, #:upper16:\sym - .Lpc\@
613 add\c \reg, \tmp, pc
615 \op\c \reg, [pc, \tmp]
618 .Lb\@: add\c \tmp, \tmp, pc
628 \op\c \reg, [\tmp]
672 * @tmp: mandatory scratch register
675 .macro str_l, src:req, sym:req, tmp:req, cond
676 __adldst_l str, \src, \sym, \tmp, \cond
679 .macro __ldst_va, op, reg, tmp, sym, cond, offset
683 mov_l \tmp, \sym, \cond
695 .L0_\@: sub\cond \tmp, pc, #8 - \offset
696 .L1_\@: sub\cond \tmp, \tmp, #4 - \offset
699 \op\cond \reg, [\tmp, #\offset]
705 .macro ldr_va, rd:req, sym:req, cond, tmp, offset=0
706 .ifnb \tmp
707 __ldst_va ldr, \rd, \tmp, \sym, \cond, \offset
716 .macro str_va, rn:req, sym:req, tmp:req, cond
717 __ldst_va str, \rn, \tmp, \sym, \cond, 0
745 ldr_va \rd, \sym, tmp=\t1
761 * @tmp: scratch register
763 .macro rev_l, val:req, tmp:req
765 eor \tmp, \val, \val, ror #16
766 bic \tmp, \tmp, #0x00ff0000
768 eor \val, \val, \tmp, lsr #8