Lines Matching +full:m +full:- +full:num

22  *	ColdFire - supports standard bset/bclr/bchg with register operand only
23 * 68000 - supports standard bset/bclr/bchg with memory operand
24 * >= 68020 - also supports the bfset/bfclr/bfchg instructions
46 : "+m" (*p) in bset_mem_set_bit()
89 : "+m" (*p) in bclr_mem_clear_bit()
132 : "+m" (*p) in bchg_mem_change_bit()
183 : "=d" (retval), "+m" (*p) in bset_mem_test_and_set_bit()
236 : "=d" (retval), "+m" (*p) in bclr_mem_test_and_clear_bit()
289 : "=d" (retval), "+m" (*p) in bchg_mem_test_and_change_bit()
327 : "+m" (*p) in xor_unlock_is_negative_byte()
333 char *cp = (char *)p + 3; /* m68k is big-endian */ in xor_unlock_is_negative_byte()
350 #include <asm-generic/bitops/ffz.h>
359 unsigned long num; in find_first_zero_bit() local
365 while (!(num = ~*p++)) { in find_first_zero_bit()
366 if (!--words) in find_first_zero_bit()
371 : "=d" (res) : "d" (num & -num)); in find_first_zero_bit()
374 res += ((long)p - (long)vaddr - 4) * 8; in find_first_zero_bit()
390 unsigned long num = ~*p++ & (~0UL << bit); in find_next_zero_bit() local
391 offset -= bit; in find_next_zero_bit()
395 : "=d" (res) : "d" (num & -num)); in find_next_zero_bit()
406 return offset + find_first_zero_bit(p, size - offset); in find_next_zero_bit()
416 unsigned long num; in find_first_bit() local
422 while (!(num = *p++)) { in find_first_bit()
423 if (!--words) in find_first_bit()
428 : "=d" (res) : "d" (num & -num)); in find_first_bit()
431 res += ((long)p - (long)vaddr - 4) * 8; in find_first_bit()
447 unsigned long num = *p++ & (~0UL << bit); in find_next_bit() local
448 offset -= bit; in find_next_bit()
452 : "=d" (res) : "d" (num & -num)); in find_next_bit()
463 return offset + find_first_bit(p, size - offset); in find_next_bit()
476 : "=d" (res) : "d" (~word & -~word)); in ffz()
510 #include <asm-generic/bitops/ffs.h>
511 #include <asm-generic/bitops/__ffs.h>
514 #include <asm-generic/bitops/fls.h>
515 #include <asm-generic/bitops/__fls.h>
530 : "dm" (x & -x)); in ffs()
531 return 32 - cnt; in ffs()
536 return ffs(x) - 1; in __ffs()
549 return 32 - cnt; in fls()
554 return fls(x) - 1; in __fls()
559 /* Simple test-and-set bit locks */
564 #include <asm-generic/bitops/non-instrumented-non-atomic.h>
565 #include <asm-generic/bitops/ext2-atomic.h>
566 #include <asm-generic/bitops/fls64.h>
567 #include <asm-generic/bitops/sched.h>
568 #include <asm-generic/bitops/hweight.h>
569 #include <asm-generic/bitops/le.h>