| /kernel/linux/linux-4.19/arch/arc/include/asm/ |
| D | disasm.h | 34 #define IS_BIT(word, n) ((word) & (1<<n)) argument 35 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) argument 37 #define MAJOR_OPCODE(word) (BITS((word), 27, 31)) argument 38 #define MINOR_OPCODE(word) (BITS((word), 16, 21)) argument 39 #define FIELD_A(word) (BITS((word), 0, 5)) argument 40 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \ argument 42 #define FIELD_C(word) (BITS((word), 6, 11)) argument 43 #define FIELD_u6(word) FIELDC(word) argument 44 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \ argument 49 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \ argument [all …]
|
| /kernel/linux/linux-5.10/arch/arc/include/asm/ |
| D | disasm.h | 31 #define IS_BIT(word, n) ((word) & (1<<n)) argument 32 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) argument 34 #define MAJOR_OPCODE(word) (BITS((word), 27, 31)) argument 35 #define MINOR_OPCODE(word) (BITS((word), 16, 21)) argument 36 #define FIELD_A(word) (BITS((word), 0, 5)) argument 37 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \ argument 39 #define FIELD_C(word) (BITS((word), 6, 11)) argument 40 #define FIELD_u6(word) FIELDC(word) argument 41 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \ argument 46 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \ argument [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | wait_bit.h | 21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument 38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument 71 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit() 96 wait_on_bit_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_io() 122 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, in wait_on_bit_timeout() 150 wait_on_bit_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_action() 179 wait_on_bit_lock(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock() 203 wait_on_bit_lock_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock_io() 229 wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_lock_action() 317 static inline void clear_and_wake_up_bit(int bit, void *word) in clear_and_wake_up_bit()
|
| D | bitops.h | 61 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() 71 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() 81 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() 91 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() 101 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() 111 static inline __u16 ror16(__u16 word, unsigned int shift) in ror16() 121 static inline __u8 rol8(__u8 word, unsigned int shift) in rol8() 131 static inline __u8 ror8(__u8 word, unsigned int shift) in ror8() 201 static inline unsigned long __ffs64(u64 word) in __ffs64()
|
| /kernel/linux/linux-4.19/kernel/sched/ |
| D | wait_bit.c | 11 wait_queue_head_t *bit_waitqueue(void *word, int bit) in bit_waitqueue() 57 int __sched out_of_line_wait_on_bit(void *word, int bit, in out_of_line_wait_on_bit() 68 void *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() 110 int __sched out_of_line_wait_on_bit_lock(void *word, int bit, in out_of_line_wait_on_bit_lock() 120 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit) in __wake_up_bit() 146 void wake_up_bit(void *word, int bit) in wake_up_bit() 195 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() 205 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() 215 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout() 229 __sched int bit_wait_io_timeout(struct wait_bit_key *word, int mode) in bit_wait_io_timeout()
|
| /kernel/linux/linux-5.10/kernel/sched/ |
| D | wait_bit.c | 12 wait_queue_head_t *bit_waitqueue(void *word, int bit) in bit_waitqueue() 58 int __sched out_of_line_wait_on_bit(void *word, int bit, in out_of_line_wait_on_bit() 69 void *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() 111 int __sched out_of_line_wait_on_bit_lock(void *word, int bit, in out_of_line_wait_on_bit_lock() 121 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit) in __wake_up_bit() 147 void wake_up_bit(void *word, int bit) in wake_up_bit() 197 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() 207 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() 217 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout() 231 __sched int bit_wait_io_timeout(struct wait_bit_key *word, int mode) in bit_wait_io_timeout()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | wait_bit.h | 21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument 38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument 71 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit() 96 wait_on_bit_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_io() 122 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, in wait_on_bit_timeout() 150 wait_on_bit_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_action() 179 wait_on_bit_lock(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock() 203 wait_on_bit_lock_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock_io() 229 wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_lock_action() 330 static inline void clear_and_wake_up_bit(int bit, void *word) in clear_and_wake_up_bit()
|
| D | bitops.h | 83 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() 93 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() 103 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() 113 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() 123 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() 133 static inline __u16 ror16(__u16 word, unsigned int shift) in ror16() 143 static inline __u8 rol8(__u8 word, unsigned int shift) in rol8() 153 static inline __u8 ror8(__u8 word, unsigned int shift) in ror8() 218 static inline unsigned long __ffs64(u64 word) in __ffs64()
|
| /kernel/linux/linux-4.19/drivers/xen/events/ |
| D | events_fifo.c | 196 event_word_t *word = event_word_from_port(port); in evtchn_fifo_clear_pending() local 202 event_word_t *word = event_word_from_port(port); in evtchn_fifo_set_pending() local 208 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_pending() local 214 event_word_t *word = event_word_from_port(port); in evtchn_fifo_test_and_set_mask() local 220 event_word_t *word = event_word_from_port(port); in evtchn_fifo_mask() local 226 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_masked() local 233 static bool clear_masked_cond(volatile event_word_t *word) in clear_masked_cond() 253 event_word_t *word = event_word_from_port(port); in evtchn_fifo_unmask() local 263 static uint32_t clear_linked(volatile event_word_t *word) in clear_linked() 285 event_word_t *word; in consume_one_event() local
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-bcm7038-l1.c | 84 unsigned int word) in reg_status() 90 unsigned int word) in reg_mask_status() 96 unsigned int word) in reg_mask_set() 102 unsigned int word) in reg_mask_clr() 160 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local 171 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_mask() local 206 u32 word = hw / IRQS_PER_WORD; in bcm7038_l1_set_affinity() local 329 int boot_cpu, word; in bcm7038_l1_suspend() local 355 int boot_cpu, word; in bcm7038_l1_resume() local 382 u32 word = d->hwirq / IRQS_PER_WORD; in bcm7038_l1_set_wake() local [all …]
|
| /kernel/linux/linux-5.10/drivers/xen/events/ |
| D | events_fifo.c | 196 event_word_t *word = event_word_from_port(port); in evtchn_fifo_clear_pending() local 202 event_word_t *word = event_word_from_port(port); in evtchn_fifo_set_pending() local 208 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_pending() local 214 event_word_t *word = event_word_from_port(port); in evtchn_fifo_mask() local 220 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_masked() local 227 static bool clear_masked_cond(volatile event_word_t *word) in clear_masked_cond() 250 event_word_t *word = event_word_from_port(port); in evtchn_fifo_unmask() local 260 static uint32_t clear_linked(volatile event_word_t *word) in clear_linked() 282 event_word_t *word; in consume_one_event() local
|
| /kernel/linux/linux-4.19/arch/sh/include/asm/ |
| D | bitops.h | 30 static inline unsigned long ffz(unsigned long word) in ffz() 50 static inline unsigned long __ffs(unsigned long word) in __ffs() 64 static inline unsigned long ffz(unsigned long word) in ffz()
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-gpio.c | 136 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode0() 142 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode1() 148 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode2() 154 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode3() 170 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode0() 177 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode1() 184 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode2() 191 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode3()
|
| D | spi-bitbang.c | 58 u32 word, u8 bits, in bitbang_txrx_8() 70 u8 word = 0; in bitbang_txrx_8() local 86 u32 word, u8 bits, in bitbang_txrx_16() 98 u16 word = 0; in bitbang_txrx_16() local 114 u32 word, u8 bits, in bitbang_txrx_32() 126 u32 word = 0; in bitbang_txrx_32() local
|
| /kernel/linux/linux-4.19/drivers/irqchip/ |
| D | irq-bcm7038-l1.c | 78 unsigned int word) in reg_status() 84 unsigned int word) in reg_mask_status() 90 unsigned int word) in reg_mask_set() 96 unsigned int word) in reg_mask_clr() 154 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local 165 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_mask() local 200 u32 word = hw / IRQS_PER_WORD; in bcm7038_l1_set_affinity() local
|
| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| D | csum_partial_copy.c | 90 unsigned long word; in csum_partial_cfu_aligned() local 104 unsigned long word, tmp; in csum_partial_cfu_aligned() local 129 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local 185 unsigned long word; in csum_partial_cfu_src_aligned() local 251 unsigned long second, word; in csum_partial_cfu_unaligned() local 273 unsigned long second, word; in csum_partial_cfu_unaligned() local 295 unsigned long second, word; in csum_partial_cfu_unaligned() local
|
| /kernel/linux/linux-4.19/drivers/spi/ |
| D | spi-gpio.c | 155 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode0() 161 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode1() 167 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode2() 173 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_txrx_word_mode3() 189 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode0() 196 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode1() 203 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode2() 210 unsigned nsecs, u32 word, u8 bits, unsigned flags) in spi_gpio_spec_txrx_word_mode3()
|
| D | spi-bitbang.c | 67 u32 word, u8 bits, in bitbang_txrx_8() 79 u8 word = 0; in bitbang_txrx_8() local 95 u32 word, u8 bits, in bitbang_txrx_16() 107 u16 word = 0; in bitbang_txrx_16() local 123 u32 word, u8 bits, in bitbang_txrx_32() 135 u32 word = 0; in bitbang_txrx_32() local
|
| /kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
| D | cpm2_pic.c | 81 int bit, word; in cpm2_mask_irq() local 93 int bit, word; in cpm2_unmask_irq() local 105 int bit, word; in cpm2_ack() local 116 int bit, word; in cpm2_end_irq() local
|
| /kernel/linux/linux-4.19/arch/powerpc/sysdev/ |
| D | cpm2_pic.c | 81 int bit, word; in cpm2_mask_irq() local 93 int bit, word; in cpm2_unmask_irq() local 105 int bit, word; in cpm2_ack() local 116 int bit, word; in cpm2_end_irq() local
|
| /kernel/linux/linux-4.19/arch/alpha/lib/ |
| D | csum_partial_copy.c | 105 unsigned long word; in csum_partial_cfu_aligned() local 118 unsigned long word, tmp; in csum_partial_cfu_aligned() local 144 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local 199 unsigned long word; in csum_partial_cfu_src_aligned() local 265 unsigned long second, word; in csum_partial_cfu_unaligned() local 286 unsigned long second, word; in csum_partial_cfu_unaligned() local 307 unsigned long second, word; in csum_partial_cfu_unaligned() local
|
| /kernel/linux/linux-4.19/arch/mips/include/asm/octeon/ |
| D | cvmx-spinlock.h | 161 static inline void cvmx_spinlock_bit_lock(uint32_t *word) in cvmx_spinlock_bit_lock() 193 static inline unsigned int cvmx_spinlock_bit_trylock(uint32_t *word) in cvmx_spinlock_bit_trylock() 225 static inline void cvmx_spinlock_bit_unlock(uint32_t *word) in cvmx_spinlock_bit_unlock()
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
| D | cvmx-spinlock.h | 161 static inline void cvmx_spinlock_bit_lock(uint32_t *word) in cvmx_spinlock_bit_lock() 193 static inline unsigned int cvmx_spinlock_bit_trylock(uint32_t *word) in cvmx_spinlock_bit_trylock() 225 static inline void cvmx_spinlock_bit_unlock(uint32_t *word) in cvmx_spinlock_bit_unlock()
|
| /kernel/linux/linux-5.10/arch/sh/include/asm/ |
| D | bitops.h | 27 static inline unsigned long ffz(unsigned long word) in ffz() 47 static inline unsigned long __ffs(unsigned long word) in __ffs()
|
| /kernel/linux/linux-4.19/arch/s390/include/asm/ |
| D | bitops.h | 295 static inline unsigned char __flogr(unsigned long word) in __flogr() 344 static inline unsigned long __ffs(unsigned long word) in __ffs() 356 static inline int ffs(int word) in ffs() 370 static inline unsigned long __fls(unsigned long word) in __fls() 386 static inline int fls64(unsigned long word) in fls64() 400 static inline int fls(int word) in fls()
|