Lines Matching +full:tmr +full:- +full:add
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <asm/asm-const.h>
120 * 16-bit immediate helper macros: HA() is for use with sign-extending instrs
121 * (e.g. LD, ADDI). If the bottom 16 bits is "-ve", add another bit into the
131 * 18-bit immediate helper for prefix 18-bit upper immediate si0 field.
430 * Define what the VSX XX1 form instructions will look like, then add
464 #define PPC_RAW_MTTMR(tmr, r) (0x7c0003dc | TMRN(tmr) | ___PPC_RS(r)) argument
465 #define PPC_RAW_MFTMR(tmr, r) (0x7c0002dc | TMRN(tmr) | ___PPC_RT(r)) argument
575 /* slwi = rlwinm Rx, Ry, n, 0, 31-n */
576 #define PPC_RAW_SLWI(d, a, i) PPC_RAW_RLWINM(d, a, i, 0, 31-(i))
577 /* srwi = rlwinm Rx, Ry, 32-n, n, 31 */
578 #define PPC_RAW_SRWI(d, a, i) PPC_RAW_RLWINM(d, a, 32-(i), i, 31)
579 /* sldi = rldicr Rx, Ry, n, 63-n */
580 #define PPC_RAW_SLDI(d, a, i) PPC_RAW_RLDICR(d, a, i, 63-(i))
581 /* sldi = rldicl Rx, Ry, 64-n, n */
582 #define PPC_RAW_SRDI(d, a, i) PPC_RAW_RLDICL(d, a, 64-(i), i)
698 #define MTTMR(tmr, r) stringify_in_c(.long PPC_RAW_MTTMR(tmr, r)) argument
699 #define MFTMR(tmr, r) stringify_in_c(.long PPC_RAW_MFTMR(tmr, r)) argument