/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_b.S | 8 bnone a2, a3, 1f 12 bnone a2, a3, 1f 13 j 2f 16 2: 22 beq a2, a3, 1f 26 beq a2, a3, 1f 27 j 2f 30 2: 36 blt a2, a3, 1f 40 blt a2, a3, 1f [all …]
|
H A D | test_bi.S | 7 beqi a2, 7, 1f 11 beqi a2, 7, 1f 12 j 2f 15 2: 20 bnei a2, 7, 1f 24 bnei a2, 7, 1f 25 j 2f 28 2: 33 blti a2, 7, 1f 37 blti a2, 7, 1f [all …]
|
H A D | test_loop.S | 10 loop a3, 1f 18 loop a2, 1f 21 j 1f 28 loop a3, 1f 30 j 1f 38 loop a3, 1f 40 beqi a2, 3, 1f 48 movi a4, 1f 49 movi a5, 2f 54 j 1f [all …]
|
H A D | test_bz.S | 7 _beqz a2, 1f 11 _beqz a2, 1f 12 j 2f 15 2: 20 _bnez a2, 1f 24 _bnez a2, 1f 25 j 2f 28 2: 33 bltz a2, 1f 37 bltz a2, 1f [all …]
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | checksum.S | 29 * This function assumes 2- or 4-byte alignment. Other alignments will fail! 35 bgeu sum, val, 99f ; \ 44 * is aligned on either a 2-byte or 4-byte boundary. 47 extui a5, a2, 0, 2 48 bnez a5, 8f /* branch if 2-byte aligned */ 53 loopgtz a5, 2f 55 beqz a5, 2f 80 2: 81 extui a5, a3, 2, 3 /* remaining 4-byte chunks */ 83 loopgtz a5, 3f [all …]
|
H A D | usercopy.S | 32 * 8B, 4B, 2B, and 1B copies conditional on the length. 36 * copying 1B and 2B and then retest. 73 bbsi.l a2, 0, .Ldst1mod2 # if dst is 1 mod 2 74 bbsi.l a2, 1, .Ldst2mod4 # if dst is 2 mod 4 93 EX(10f) l8ui a6, a3, 0 95 EX(10f) s8i a6, a5, 0 101 # copy 2 bytes 103 EX(10f) l8ui a6, a3, 0 104 EX(10f) l8ui a7, a3, 1 105 addi a3, a3, 2 [all …]
|
/openbmc/linux/arch/csky/abiv2/ |
H A D | strcmp.S | 12 bnez a2, 7f 14 bnez t1, 5f 20 /* If s1[i] != s2[i], goto 2f. */ 22 bt 2f 25 /* If at the end, goto 3f (finish comparing). */ 26 bf 3f 31 bt 2f 33 bf 3f 38 bt 2f 40 bf 3f [all …]
|
/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_cond.S | 12 * 2. Redistributions in binary form must reproduce the above copyright 56 lea (-2,%a0,%d2.w),%a0 57 jra 1f 65 lea (-2,%a0,%d0.l),%a0 71 jeq 1f 82 printf PDECODE,"d%d,%x\n",2,%d0,%a1 85 jne 2f 89 jcs 1f 92 2: jra fp_end 147 jmp ([0f:w,%pc,%d0*4]) [all …]
|
/openbmc/linux/tools/testing/selftests/rseq/ |
H A D | rseq-riscv-bits.h | 13 __asm__ __volatile__ goto(RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 14 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER() 16 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[error1]") in RSEQ_TEMPLATE_IDENTIFIER() 17 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER() 19 RSEQ_ASM_STORE_RSEQ_CS(2, 1b, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 67 __asm__ __volatile__ goto(RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 68 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[cmpfail]") in RSEQ_TEMPLATE_IDENTIFIER() 70 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[error1]") in RSEQ_TEMPLATE_IDENTIFIER() 71 RSEQ_ASM_DEFINE_EXIT_POINT(2f, "%l[error2]") in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-arm64-bits.h | 20 RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 21 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 23 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 24 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 26 RSEQ_ASM_STORE_RSEQ_CS(2, 1b, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 27 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 78 RSEQ_ASM_DEFINE_TABLE(1, 2f, 3f, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 79 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 81 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 82 RSEQ_ASM_DEFINE_EXIT_POINT(2f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-mips-bits.h | 19 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 22 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 23 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 26 RSEQ_ASM_STORE_RSEQ_CS(1, 3f, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 27 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 39 "2:\n\t" in RSEQ_TEMPLATE_IDENTIFIER() 41 "b 5f\n\t" in RSEQ_TEMPLATE_IDENTIFIER() 42 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 80 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
H A D | rseq-arm-bits.h | 19 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() 20 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[cmpfail]) in RSEQ_TEMPLATE_IDENTIFIER() 22 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error1]) in RSEQ_TEMPLATE_IDENTIFIER() 23 RSEQ_ASM_DEFINE_EXIT_POINT(1f, %l[error2]) in RSEQ_TEMPLATE_IDENTIFIER() 26 RSEQ_ASM_STORE_RSEQ_CS(1, 3f, rseq_cs) in RSEQ_TEMPLATE_IDENTIFIER() 27 RSEQ_ASM_CMP_CPU_ID(cpu_id, current_cpu_id, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 41 "2:\n\t" in RSEQ_TEMPLATE_IDENTIFIER() 43 "b 5f\n\t" in RSEQ_TEMPLATE_IDENTIFIER() 44 RSEQ_ASM_DEFINE_ABORT(3, 4, "", abort, 1b, 2b, 4f) in RSEQ_TEMPLATE_IDENTIFIER() 87 RSEQ_ASM_DEFINE_TABLE(9, 1f, 2f, 4f) /* start, commit, abort */ in RSEQ_TEMPLATE_IDENTIFIER() [all …]
|
/openbmc/linux/arch/csky/lib/ |
H A D | usercopy.c | 14 " bf 7f \n" in raw_copy_from_user() 16 " or %3, %2 \n" in raw_copy_from_user() 19 " bf 1f \n" in raw_copy_from_user() 20 " br 5f \n" in raw_copy_from_user() 22 " bt 3f \n" in raw_copy_from_user() 23 "2: ldw %3, (%2, 0) \n" in raw_copy_from_user() 24 "10: ldw %4, (%2, 4) \n" in raw_copy_from_user() 27 "11: ldw %3, (%2, 8) \n" in raw_copy_from_user() 28 "12: ldw %4, (%2, 12) \n" in raw_copy_from_user() 31 " addi %2, 16 \n" in raw_copy_from_user() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb_utils.h | 55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small() 56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small() 57 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0)\n" in fb_memclear_small() 58 "1: lsr.l #1,%1 ; jcc 1f ; move.l %2,-(%0) ; move.l %2,-(%0)\n" in fb_memclear_small() 64 " jcs 3f\n" in fb_memclear_small() 65 " move.l %2,%%d4; move.l %2,%%d5; move.l %2,%%d6\n" in fb_memclear_small() 66 "2: movem.l %2/%%d4/%%d5/%%d6,-(%0)\n" in fb_memclear_small() 67 " dbra %1,2b\n" in fb_memclear_small() 85 " lsr.l #1,%1 ; jcc 1f ; clr.b (%0)+\n" in fb_memclear() 86 "1: lsr.l #1,%1 ; jcc 1f ; clr.w (%0)+\n" in fb_memclear() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-touch-cap.c | 16 struct v4l2_pix_format *f = &dev->tch_format; in touch_cap_queue_setup() local 17 unsigned int size = f->sizeimage; in touch_cap_queue_setup() 26 if (vq->num_buffers + *nbuffers < 2) in touch_cap_queue_setup() 27 *nbuffers = 2 - vq->num_buffers; in touch_cap_queue_setup() 36 struct v4l2_pix_format *f = &dev->tch_format; in touch_cap_buf_prepare() local 37 unsigned int size = f->sizeimage; in touch_cap_buf_prepare() 120 int vivid_enum_fmt_tch(struct file *file, void *priv, struct v4l2_fmtdesc *f) in vivid_enum_fmt_tch() argument 122 if (f->index) in vivid_enum_fmt_tch() 125 f->pixelformat = V4L2_TCH_FMT_DELTA_TD16; in vivid_enum_fmt_tch() 129 int vivid_g_fmt_tch(struct file *file, void *priv, struct v4l2_format *f) in vivid_g_fmt_tch() argument [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs-regs.asc | 5 # - f field LSB MSB rflags 14 # f formula 25 - e BGGR 2 30 - f major 4 7 31 - f minor 0 3 39 - f 0 2 42 - e cs 2 53 - e 2-byte 1 54 - e 4-byte 2 56 - f rows 0 3 [all …]
|
/openbmc/linux/arch/s390/lib/ |
H A D | test_modules.h | 5 #define __REPEAT_10000_3(f, x) \ argument 6 f(x ## 0); \ 7 f(x ## 1); \ 8 f(x ## 2); \ 9 f(x ## 3); \ 10 f(x ## 4); \ 11 f(x ## 5); \ 12 f(x ## 6); \ 13 f(x ## 7); \ 14 f(x ## 8); \ [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | romimage-macros.h | 11 mov.l 1f, r1 12 mov.l 2f, r0 14 bra 3f 16 .align 2 18 2 : .long \data 24 mov.l 1f, r1 25 mov.l 2f, r0 27 bra 3f 29 .align 2 31 2 : .long \data [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | md5-asm.S | 63 and rT0,b,c; /* 1: f = b and c */ \ 65 andc rT1,d,b; /* 1: f' = ~b and d */ \ 67 or rT0,rT0,rT1; /* 1: f = f or f' */ \ 69 add a,a,rT0; /* 1: a = a + f */ \ 71 addis w1,w1,k1h; /* 2: wk = w + k */ \ 73 addi w1,w1,k1l; /* 2: wk = w + k' */ \ 75 add d,d,w1; /* 2: a = a + wk */ \ 77 and rT0,a,b; /* 2: f = b and c */ \ 78 andc rT1,c,a; /* 2: f' = ~b and d */ \ 79 or rT0,rT0,rT1; /* 2: f = f or f' */ \ [all …]
|
H A D | sha1-spe-asm.S | 108 and rT2,b,c; /* 1: F' = B and C */ \ 110 andc rT1,d,b; /* 1: F" = ~B and D */ \ 112 or rT2,rT2,rT1; /* 1: F = F' or F" */ \ 114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ 116 LOAD_DATA(w1, off+4) /* 2: W */ \ 117 add e,e,rT2; /* 1: E = E + F */ \ 118 and rT1,a,b; /* 2: F' = B and C */ \ 120 andc rT2,c,a; /* 2: F" = ~B and D */ \ 121 add d,d,rK; /* 2: E = E + K */ \ 122 or rT2,rT2,rT1; /* 2: F = F' or F" */ \ [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nft_set_pipapo.c | 37 * can be converted into b * 2 netmasks, from Theorem 3 in [Rottenstreich 2010], 91 * Example: 8 groups, 2^4 buckets: 96 * group 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 99 * 2 111 * Example: 2 entries, 10.0.0.5:1024 and 192.168.1.0-192.168.2.1:2048 114 * - rule #2: 192.168.2.0/31 125 * - rule #2: 192.168.2.0/31 mapping to buckets 126 * < 12 0 10 8 0 2 0 < 0..1 > > 133 * group 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 134 * 0 0 1,2 [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 32 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_yuv_prep_user_dma() local 40 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma() 42 if (f->offset_y) in ivtv_yuv_prep_user_dma() 128 if (f->offset_y && yi->blanking_dmaptr) { in ivtv_yuv_prep_user_dma() 217 static void ivtv_yuv_handle_horizontal(struct ivtv *itv, struct yuv_frame_info *f) in ivtv_yuv_handle_horizontal() argument 230 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal() 233 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal() 236 reg_2834 = f->dst_w; in ivtv_yuv_handle_horizontal() 240 reg_2890 = f->dst_x; in ivtv_yuv_handle_horizontal() 251 if (f->vis_w == 720) { in ivtv_yuv_handle_horizontal() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 21 #define F false macro 55 he, e, hf, f, hg, g) \ 62 .has_threads = hf, .threads = f, \ 70 #define SMP_CONFIG_WITH_CLUSTERS(ha, a, hb, b, hc, c, hd, d, he, e, hf, f) \ argument 77 .has_maxcpus = hf, .maxcpus = f, \ 85 d, he, e, hf, f, hg, g) \ 92 .has_threads = hf, .threads = f, \ 101 #define SMP_CONFIG_WITH_FULL_TOPO(a, b, c, d, e, f, g, h, i, j) \ argument 108 .has_clusters = true, .clusters = f, \ 141 .config = SMP_CONFIG_GENERIC(F, 0, F, 0, F, 0, F, 0, F, 0), [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | memcpy_64.S | 13 /* For big-endian, 0 == most CPUs, 1 == POWER6, 2 == Cell */ 71 bf cr7*4+0,2f 75 blt cr1,3f 78 2: ldu r8,16(r4) 82 beq 3f 85 bf cr7*4+1,1f 90 1: bf cr7*4+2,2f 92 addi r4,r4,2 94 addi r3,r3,2 95 2: bf cr7*4+3,3f [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/copyloops/ |
H A D | memcpy_64.S | 13 /* For big-endian, 0 == most CPUs, 1 == POWER6, 2 == Cell */ 71 bf cr7*4+0,2f 75 blt cr1,3f 78 2: ldu r8,16(r4) 82 beq 3f 85 bf cr7*4+1,1f 90 1: bf cr7*4+2,2f 92 addi r4,r4,2 94 addi r3,r3,2 95 2: bf cr7*4+3,3f [all …]
|