Lines Matching defs:sym
202 * Assembly version of "adr rd, BSYM(sym)". This should only be used to
207 .macro badr\c, rd, sym
209 adr\c \rd, \sym + 1
211 adr\c \rd, \sym
594 .macro __adldst_l, op, reg, sym, tmp, c
599 .La\@: .long \sym - .Lpc\@
605 movw\c \tmp, #:lower16:\sym - .Lpc\@
606 movt\c \tmp, #:upper16:\sym - .Lpc\@
648 * @sym: name of the symbol
651 .macro adr_l, dst:req, sym:req, cond
652 __adldst_l add, \dst, \sym, \dst, \cond
659 * @sym: name of the symbol
662 .macro ldr_l, dst:req, sym:req, cond
663 __adldst_l ldr, \dst, \sym, \dst, \cond
670 * @sym: name of the symbol
674 .macro str_l, src:req, sym:req, tmp:req, cond
675 __adldst_l str, \src, \sym, \tmp, \cond
678 .macro __ldst_va, op, reg, tmp, sym, cond, offset
682 mov_l \tmp, \sym, \cond
690 .globl \sym
691 .reloc .L0_\@, R_ARM_ALU_PC_G0_NC, \sym
692 .reloc .L1_\@, R_ARM_ALU_PC_G1_NC, \sym
693 .reloc .L2_\@, R_ARM_LDR_PC_G2, \sym
702 * ldr_va - load a 32-bit word from the virtual address of \sym
704 .macro ldr_va, rd:req, sym:req, cond, tmp, offset=0
706 __ldst_va ldr, \rd, \tmp, \sym, \cond, \offset
708 __ldst_va ldr, \rd, \rd, \sym, \cond, \offset
713 * str_va - store a 32-bit word to the virtual address of \sym
715 .macro str_va, rn:req, sym:req, tmp:req, cond
716 __ldst_va str, \rn, \tmp, \sym, \cond, 0
720 * ldr_this_cpu_armv6 - Load a 32-bit word from the per-CPU variable 'sym',
724 .macro ldr_this_cpu_armv6, rd:req, sym:req
726 .globl \sym
727 .reloc .L0_\@, R_ARM_ALU_PC_G0_NC, \sym
728 .reloc .L1_\@, R_ARM_ALU_PC_G1_NC, \sym
729 .reloc .L2_\@, R_ARM_LDR_PC_G2, \sym
737 * ldr_this_cpu - Load a 32-bit word from the per-CPU variable 'sym'
742 .macro ldr_this_cpu, rd:req, sym:req, t1:req, t2:req
744 ldr_va \rd, \sym, tmp=\t1
749 mov_l \t2, \sym
752 ldr_this_cpu_armv6 \rd, \sym