/linux-6.6.21/drivers/spi/ |
D | spi-bitbang-txrx.h | 55 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0() local 61 if ((word & (1 << 31)) != oldbit) { in bitbang_txrx_be_cpha0() 63 oldbit = word & (1 << 31); in bitbang_txrx_be_cpha0() 87 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha1() local 94 if ((word & (1 << 31)) != oldbit) { in bitbang_txrx_be_cpha1() 96 oldbit = word & (1 << 31); in bitbang_txrx_be_cpha1() 120 u32 oldbit = !(word & 1); in bitbang_txrx_le_cpha0() local 126 if ((word & 1) != oldbit) { in bitbang_txrx_le_cpha0() 128 oldbit = word & 1; in bitbang_txrx_le_cpha0() 153 u32 oldbit = !(word & 1); in bitbang_txrx_le_cpha1() local [all …]
|
/linux-6.6.21/arch/x86/include/asm/ |
D | bitops.h | 150 bool oldbit; in arch___test_and_set_bit() local 154 : CC_OUT(c) (oldbit) in arch___test_and_set_bit() 156 return oldbit; in arch___test_and_set_bit() 176 bool oldbit; in arch___test_and_clear_bit() local 180 : CC_OUT(c) (oldbit) in arch___test_and_clear_bit() 182 return oldbit; in arch___test_and_clear_bit() 188 bool oldbit; in arch___test_and_change_bit() local 192 : CC_OUT(c) (oldbit) in arch___test_and_change_bit() 195 return oldbit; in arch___test_and_change_bit() 212 bool oldbit; in constant_test_bit_acquire() local [all …]
|
D | percpu.h | 394 bool oldbit; in x86_this_cpu_variable_test_bit() local 398 : CC_OUT(c) (oldbit) in x86_this_cpu_variable_test_bit() 401 return oldbit; in x86_this_cpu_variable_test_bit()
|
/linux-6.6.21/arch/alpha/include/asm/ |
D | bitops.h | 132 unsigned long oldbit; in test_and_set_bit() local 153 :"=&r" (temp), "=m" (*m), "=&r" (oldbit) in test_and_set_bit() 156 return oldbit != 0; in test_and_set_bit() 162 unsigned long oldbit; in test_and_set_bit_lock() local 180 :"=&r" (temp), "=m" (*m), "=&r" (oldbit) in test_and_set_bit_lock() 183 return oldbit != 0; in test_and_set_bit_lock() 203 unsigned long oldbit; in test_and_clear_bit() local 224 :"=&r" (temp), "=m" (*m), "=&r" (oldbit) in test_and_clear_bit() 227 return oldbit != 0; in test_and_clear_bit() 247 unsigned long oldbit; in test_and_change_bit() local [all …]
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | bitops.h | 93 unsigned long oldbit; in test_and_change_bit() local 98 oldbit = *addr; in test_and_change_bit() 99 *addr = oldbit ^ mask; in test_and_change_bit() 102 return (oldbit & mask) ? 1 : 0; in test_and_change_bit()
|
/linux-6.6.21/tools/perf/bench/ |
D | find-bit-bench.c | 43 bool oldbit; in asm_test_bit() local 46 : "=@ccc" (oldbit) in asm_test_bit() 49 return oldbit; in asm_test_bit()
|
/linux-6.6.21/lib/ |
D | bitmap.c | 1007 unsigned int oldbit, w; in bitmap_remap() local 1014 for_each_set_bit(oldbit, src, nbits) { in bitmap_remap() 1015 int n = bitmap_pos_to_ord(old, oldbit, nbits); in bitmap_remap() 1018 set_bit(oldbit, dst); /* identity map */ in bitmap_remap() 1051 int bitmap_bitremap(int oldbit, const unsigned long *old, in bitmap_bitremap() argument 1055 int n = bitmap_pos_to_ord(old, oldbit, bits); in bitmap_bitremap() 1057 return oldbit; in bitmap_bitremap() 1212 unsigned int oldbit; in bitmap_fold() local 1218 for_each_set_bit(oldbit, orig, nbits) in bitmap_fold() 1219 set_bit(oldbit % sz, dst); in bitmap_fold()
|
/linux-6.6.21/include/linux/ |
D | nodemask.h | 353 #define node_remap(oldbit, old, new) \ argument 354 __node_remap((oldbit), &(old), &(new), MAX_NUMNODES) 355 static inline int __node_remap(int oldbit, in __node_remap() argument 358 return bitmap_bitremap(oldbit, oldp->bits, newp->bits, nbits); in __node_remap()
|
D | bitmap.h | 213 int bitmap_bitremap(int oldbit,
|
/linux-6.6.21/drivers/rapidio/ |
D | rio-scan.c | 84 int oldbit; in rio_destid_reserve() local 89 oldbit = test_and_set_bit(destid, idtab->table); in rio_destid_reserve() 91 return oldbit; in rio_destid_reserve()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 3251 int oldbit; in sdma_ahg_alloc() local 3263 oldbit = test_and_set_bit(nr, &sde->ahg_bits); in sdma_ahg_alloc() 3264 if (!oldbit) in sdma_ahg_alloc()
|