/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_mp.c | 110 max_m = cmp->m.max ?: 1 << cmp->m.width; in ccu_mp_round_rate() 111 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_round_rate() 137 return ccu_gate_helper_enable(&cmp->common, cmp->enable); in ccu_mp_enable() 159 reg = readl(cmp->common.base + cmp->common.reg); in ccu_mp_recalc_rate() 199 max_m = cmp->m.max ?: 1 << cmp->m.width; in ccu_mp_set_rate() 200 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_set_rate() 210 reg = readl(cmp->common.base + cmp->common.reg); in ccu_mp_set_rate() 211 reg &= ~GENMASK(cmp->m.width + cmp->m.shift - 1, cmp->m.shift); in ccu_mp_set_rate() 212 reg &= ~GENMASK(cmp->p.width + cmp->p.shift - 1, cmp->p.shift); in ccu_mp_set_rate() 213 reg |= (m - cmp->m.offset) << cmp->m.shift; in ccu_mp_set_rate() [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | rtc.c | 57 struct rtc_time now, time, cmp; in dm_test_rtc_set_get() local 80 memset(&cmp, '\0', sizeof(cmp)); in dm_test_rtc_set_get() 81 ut_assertok(dm_rtc_get(dev, &cmp)); in dm_test_rtc_set_get() 88 memset(&cmp, '\0', sizeof(cmp)); in dm_test_rtc_set_get() 90 ut_asserteq(1, cmp.tm_sec); in dm_test_rtc_set_get() 99 memset(&cmp, '\0', sizeof(cmp)); in dm_test_rtc_set_get() 105 memset(&cmp, '\0', sizeof(cmp)); in dm_test_rtc_set_get() 108 ut_asserteq(0, cmp.tm_sec); in dm_test_rtc_set_get() 148 struct rtc_time now1, now2, cmp; in dm_test_rtc_dual() local 165 memset(&cmp, '\0', sizeof(cmp)); in dm_test_rtc_dual() [all …]
|
/openbmc/linux/net/sched/ |
H A D | em_cmp.c | 25 unsigned char *ptr = tcf_get_base_ptr(skb, cmp->layer) + cmp->off; in em_cmp_match() 28 if (!tcf_valid_offset(skb, ptr, cmp->align)) in em_cmp_match() 31 switch (cmp->align) { in em_cmp_match() 39 if (cmp_needs_transformation(cmp)) in em_cmp_match() 49 if (cmp_needs_transformation(cmp)) in em_cmp_match() 57 if (cmp->mask) in em_cmp_match() 58 val &= cmp->mask; in em_cmp_match() 60 switch (cmp->opnd) { in em_cmp_match() 62 return val == cmp->val; in em_cmp_match() 64 return val < cmp->val; in em_cmp_match() [all …]
|
/openbmc/qemu/tests/tcg/cris/bare/ |
H A D | check_cmpc.s | 7 cmp.d -2,r3 12 cmp.d 1,r3 22 cmp.d 1,r3 32 cmp.w -2,r3 37 cmp.w 1,r3 42 cmp.w 1,r3 47 cmp.w 1,r3 57 cmp.b -2,r3 62 cmp.b 1,r3 67 cmp.b 1,r3 [all …]
|
H A D | check_cmpm.s | 15 cmp.d [r5+],r3 20 cmp.d [r5],r3 26 cmp.d [r5+],r3 31 cmp.d [r5+],r3 36 cmp.d [r5+],r3 41 cmp.w [r5+],r3 46 cmp.w [r5+],r3 51 cmp.w [r5],r3 66 cmp.b [r5],r3 72 cmp.b [r5],r3 [all …]
|
H A D | check_cmpr.s | 8 cmp.d r4,r3 14 cmp.d r4,r3 20 cmp.d r4,r3 26 cmp.d r4,r3 32 cmp.d r4,r3 38 cmp.w r4,r3 44 cmp.w r4,r3 50 cmp.w r4,r3 56 cmp.w r4,r3 62 cmp.w r4,r3 [all …]
|
/openbmc/linux/arch/sparc/lib/ |
H A D | strncmp_32.S | 15 cmp %o2, 3 27 cmp %o0, 0 31 cmp %o0, %g2 43 cmp %o0, 0 47 cmp %o0, %g2 59 cmp %o0, 0 63 cmp %o0, %g2 75 cmp %o0, 0 88 cmp %o4, 0 100 cmp %o0, 0 [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_qsort.c | 50 return cmp(a, b) < 0 ? in med3() 51 (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a)) in med3() 52 : (cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c)); in med3() 61 int (*cmp)(const void *, const void *)) in yaffs_qsort() 82 pl = med3(pl, pl + d, pl + 2 * d, cmp); in yaffs_qsort() 83 pm = med3(pm - d, pm, pm + d, cmp); in yaffs_qsort() 84 pn = med3(pn - 2 * d, pn - d, pn, cmp); in yaffs_qsort() 86 pm = med3(pl, pm, pn, cmp); in yaffs_qsort() 93 while (pb <= pc && (r = cmp(pb, a)) <= 0) { in yaffs_qsort() 101 while (pb <= pc && (r = cmp(pc, a)) >= 0) { in yaffs_qsort() [all …]
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | minmax.cocci | 23 binary operator cmp = {>, >=}; 30 * ((x) cmp@p (y) ? (x) : (y)) 38 binary operator cmp = {>, >=}; 45 * if ((x) cmp@p (y)) { 56 binary operator cmp = {<, <=}; 63 * ((x) cmp@p (y) ? (x) : (y)) 71 binary operator cmp = {<, <=}; 78 * if ((x) cmp@p (y)) { 95 - ((x) cmp (y) ? (x) : (y)) 110 - if ((x) cmp (y)) { [all …]
|
/openbmc/linux/arch/hexagon/lib/ |
H A D | memset.S | 29 p0 = cmp.eq(r2, #0) 30 p1 = cmp.gtu(r2, #7) 59 p1 = cmp.eq(r2, #1) 72 p1 = cmp.eq(r2, #2) 84 p0 = cmp.gtu(r2, #7) 85 p1 = cmp.eq(r2, #4) 98 p1 = cmp.eq(r3, #1) 114 p1 = cmp.eq(r2, #8) 125 p1 = cmp.eq(r2, #4) 136 p1 = cmp.eq(r2, #2) [all …]
|
H A D | memcpy.S | 255 p3 = cmp.gtu(back, #8); 261 p1 = cmp.eq(prolog, #0); 310 p2 = cmp.gtu(offset, #7); 322 p0 = cmp.gt(over, #0); 329 p0 = cmp.gt(rest, #16); 339 p3 = cmp.gtu(kernel, #0); 349 p3 = cmp.gtu(dalign, #24); 367 p3 = cmp.eq(kernel, rest); 443 p3 = cmp.eq(epilogdws, #0); 455 p3 = cmp.eq(kernel, #0); [all …]
|
H A D | divsi3.S | 10 p0 = cmp.gt(r0,#-1) 11 p1 = cmp.gt(r1,#-1) 18 p0 = cmp.gtu(r3,r2) 23 p1 = cmp.gtu(r3,r4) 35 p0 = cmp.gtu(r6,#4) 52 p0 = cmp.gtu(r4,r2) 58 p0 = cmp.gtu(r6,r2)
|
/openbmc/linux/arch/arm/lib/ |
H A D | lib1funcs.S | 120 cmp \divisor, #(1 << 8) 124 cmp \divisor, #(1 << 4) 128 cmp \divisor, #(1 << 2) 183 cmp \dividend, #1 219 cmp r0, r1 268 cmp r1, #0 276 cmp r3, r1 283 cmp ip, #0 298 cmp ip, #0 310 cmp r1, #0 [all …]
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_asm_32.S | 16 cmp r_OFF, 0 22 cmp r_TMP, 3 45 cmp r_OFF, 0 51 cmp r_TMP, 1 68 cmp r_OFF, 0 81 cmp r_OFF, 0 101 cmp %o0, 0; \ 144 cmp r_OFF, r_TMP 158 cmp r_OFF, r_TMP 172 cmp r_OFF, r_TMP [all …]
|
/openbmc/linux/security/selinux/ss/ |
H A D | hashtab.h | 22 int (*cmp)(const void *key1, const void *key2); member 76 int cmp = key_params.cmp(key, cur->key); in hashtab_insert() local 78 if (cmp == 0) in hashtab_insert() 80 if (cmp < 0) in hashtab_insert() 108 int cmp = key_params.cmp(key, cur->key); in hashtab_search() local 110 if (cmp == 0) in hashtab_search() 112 if (cmp < 0) in hashtab_search()
|
/openbmc/linux/arch/powerpc/math-emu/ |
H A D | fcmpu.c | 17 long cmp; in fcmpu() local 31 FP_CMP_D(cmp, A, B, 2); in fcmpu() 32 cmp = code[(cmp + 1) & 3]; in fcmpu() 35 __FPU_FPSCR |= (cmp << 12); in fcmpu() 38 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpu()
|
H A D | fcmpo.c | 17 long cmp; in fcmpo() local 34 FP_CMP_D(cmp, A, B, 2); in fcmpo() 35 cmp = code[(cmp + 1) & 3]; in fcmpo() 38 __FPU_FPSCR |= (cmp << 12); in fcmpo() 41 *ccr |= (cmp << ((7 - crfD) << 2)); in fcmpo()
|
/openbmc/linux/arch/arm/mach-tegra/ |
H A D | reset-handler.S | 46 cmp r6, #TEGRA20 62 cmp r8, r9 79 cmp r8, r9 99 cmp r1, #0 148 cmp r5, #0 197 cmp r10, #0 200 cmp lr, #0 211 cmp lr, #0 224 cmp r10, #0 228 cmp lr, #0 [all …]
|
/openbmc/linux/lib/ |
H A D | list_sort.c | 16 static struct list_head *merge(void *priv, list_cmp_func_t cmp, in merge() argument 23 if (cmp(priv, a, b) <= 0) { in merge() 52 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final() argument 60 if (cmp(priv, a, b) <= 0) { in merge_final() 90 cmp(priv, b, b); in merge_final() 185 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort() argument 225 a = merge(priv, cmp, b, a); in list_sort() 247 list = merge(priv, cmp, pending, list); in list_sort() 251 merge_final(priv, cmp, head, pending, list); in list_sort()
|
/openbmc/linux/tools/lib/ |
H A D | list_sort.c | 15 static struct list_head *merge(void *priv, list_cmp_func_t cmp, in merge() argument 22 if (cmp(priv, a, b) <= 0) { in merge() 51 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final() argument 59 if (cmp(priv, a, b) <= 0) { in merge_final() 89 cmp(priv, b, b); in merge_final() 184 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort() argument 224 a = merge(priv, cmp, b, a); in list_sort() 246 list = merge(priv, cmp, pending, list); in list_sort() 250 merge_final(priv, cmp, head, pending, list); in list_sort()
|
/openbmc/u-boot/board/nokia/rx51/ |
H A D | lowlevel_init.S | 47 cmp r0, r1 77 cmp r4, r5 83 cmp r1, r0 96 cmp r0, r1 115 cmp r5, r6 136 cmp r4, r5 /* higher address (r4 or r5) */ 151 cmp r4, r2 169 cmp r0, r1 176 cmp r1, r2 183 cmp r1, r0
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | lib1funcs.S | 106 cmp \divisor, #(1 << 8) 110 cmp \divisor, #(1 << 4) 114 cmp \divisor, #(1 << 2) 169 cmp \dividend, #1 202 cmp r0, r1 251 cmp r1, #0 259 cmp r3, r1 266 cmp ip, #0 281 cmp ip, #0 295 cmp r1, #0 [all …]
|
/openbmc/linux/arch/arm/include/debug/ |
H A D | tegra.S | 74 cmp \rp, #1 @ needs initialization? 87 cmp \rv, #3 @ so accept either 91 cmp \rv, #0 @ UART 0? 93 cmp \rv, #1 @ UART 1? 95 cmp \rv, #2 @ UART 2? 97 cmp \rv, #3 @ UART 3? 99 cmp \rv, #4 @ UART 4? 141 cmp \rp, #0 @ Valid UART address? 193 cmp \rx, #0 199 cmp \rx, #0 [all …]
|
/openbmc/linux/arch/ia64/lib/ |
H A D | memcpy_mck.S | 120 cmp.lt p7,p8=1,cnt 147 cmp.le p6,p0=8,tmp 149 cmp.le p7,p0=16,tmp 151 cmp.eq p16,p17 = r0,r0 174 cmp.le p8,p0=24,tmp 302 cmp.lt p7,p8=1,r21 345 cmp.eq p16,p17=r0,r0 474 cmp.le p10,p0 = 5,r30 478 cmp.le p11,p0 = 6,r30 489 cmp.eq p6,p7=r28,r29 [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | xchg.h | 131 unsigned long prev, tmp, cmp, addr64; in ____cmpxchg() local 148 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) in ____cmpxchg() 157 unsigned long prev, tmp, cmp, addr64; in ____cmpxchg() local 174 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) in ____cmpxchg() 183 unsigned long prev, cmp; in ____cmpxchg() local 196 : "=&r"(prev), "=&r"(cmp), "=m"(*m) in ____cmpxchg() 205 unsigned long prev, cmp; in ____cmpxchg() local 218 : "=&r"(prev), "=&r"(cmp), "=m"(*m) in ____cmpxchg()
|