| /linux/arch/arc/include/asm/ |
| H A 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 …]
|
| /linux/kernel/sched/ |
| H A D | wait_bit.c | 15 wait_queue_head_t *bit_waitqueue(unsigned long *word, int bit) in bit_waitqueue() 61 int __sched out_of_line_wait_on_bit(unsigned long *word, int bit, in out_of_line_wait_on_bit() 72 unsigned long *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout() 114 int __sched out_of_line_wait_on_bit_lock(unsigned long *word, int bit, in out_of_line_wait_on_bit_lock() 124 void __wake_up_bit(struct wait_queue_head *wq_head, unsigned long *word, int bit) in __wake_up_bit() 158 void wake_up_bit(unsigned long *word, int bit) in wake_up_bit() 238 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait() 248 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io() 258 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout()
|
| /linux/drivers/irqchip/ |
| H A D | irq-bcm7038-l1.c | 80 unsigned int word) in reg_status() 86 unsigned int word) in reg_mask_status() 92 unsigned int word) in reg_mask_set() 98 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 201 u32 word = hw / IRQS_PER_WORD; in bcm7038_l1_set_affinity() local 298 int boot_cpu, word; in bcm7038_l1_suspend() local 324 int boot_cpu, word; in bcm7038_l1_resume() local 351 u32 word = d->hwirq / IRQS_PER_WORD; in bcm7038_l1_set_wake() local [all …]
|
| H A D | irq-bcm6345-l1.c | 91 unsigned int word) in reg_enable() 101 unsigned int word) in reg_status() 145 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm6345_l1_unmask() local 157 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm6345_l1_mask() local 191 u32 word = d->hwirq / IRQS_PER_WORD; in bcm6345_l1_set_affinity() local
|
| /linux/include/linux/ |
| H A D | bitops.h | 104 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() 114 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() 124 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() 134 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() 144 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() 154 static inline __u16 ror16(__u16 word, unsigned int shift) in ror16() 164 static inline __u8 rol8(__u8 word, unsigned int shift) in rol8() 174 static inline __u8 ror8(__u8 word, unsigned int shift) in ror8() 270 static inline __attribute_const__ unsigned int __ffs64(u64 word) in __ffs64() 286 static inline unsigned int fns(unsigned long word, unsigned int n) in fns()
|
| /linux/drivers/xen/events/ |
| H A 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() 249 event_word_t *word = event_word_from_port(port); in evtchn_fifo_unmask() local 259 static uint32_t clear_linked(volatile event_word_t *word) in clear_linked() 280 event_word_t *word; in consume_one_event() local
|
| /linux/drivers/spi/ |
| H A D | spi-gpio.c | 107 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode0() 116 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode1() 125 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode2() 134 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_txrx_word_mode3() 153 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode0() 163 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode1() 173 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode2() 183 unsigned int nsecs, u32 word, u8 bits, unsigned int flags) in spi_gpio_spec_txrx_word_mode3()
|
| H A D | spi-bitbang-txrx.h | 51 u32 word, u8 bits) in bitbang_txrx_be_cpha0() 83 u32 word, u8 bits) in bitbang_txrx_be_cpha1() 115 u32 word, u8 bits) in bitbang_txrx_le_cpha0() 148 u32 word, u8 bits) in bitbang_txrx_le_cpha1()
|
| /linux/arch/alpha/lib/ |
| H A D | csum_partial_copy.c | 91 unsigned long word; in csum_partial_cfu_aligned() local 105 unsigned long word, tmp; in csum_partial_cfu_aligned() local 130 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local 186 unsigned long word; in csum_partial_cfu_src_aligned() local 252 unsigned long second, word; in csum_partial_cfu_unaligned() local 274 unsigned long second, word; in csum_partial_cfu_unaligned() local 296 unsigned long second, word; in csum_partial_cfu_unaligned() local
|
| /linux/arch/powerpc/sysdev/ |
| H A D | cpm2_pic.c | 79 int bit, word; in cpm2_mask_irq() local 91 int bit, word; in cpm2_unmask_irq() local 103 int bit, word; in cpm2_ack() local 114 int bit, word; in cpm2_end_irq() local
|
| /linux/arch/mips/include/asm/octeon/ |
| H A 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()
|
| /linux/drivers/platform/mellanox/ |
| H A D | mlxbf-bootctl.c | 587 int word; in opn_show() local 611 int word; in opn_store() local 638 int word; in sku_show() local 662 int word; in sku_store() local 689 int word; in modl_show() local 713 int word; in modl_store() local 740 int word; in sn_show() local 764 int word; in sn_store() local 791 int word; in uuid_show() local 815 int word; in uuid_store() local [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | rtbitmap_repair.c | 103 xfs_rtword_t *word) in xfbmp_load() 124 const xfs_rtword_t word) in xfbmp_store() 140 const union xfs_rtword_raw *word, in xfbmp_copyin() 151 union xfs_rtword_raw *word, in xfbmp_copyout() 165 xfs_rtword_t word; in xrep_rtbitmap_or() local
|
| /linux/arch/x86/include/asm/ |
| H A D | bitops.h | 243 static __always_inline __attribute_const__ unsigned long variable__ffs(unsigned long word) in variable__ffs() 257 #define __ffs(word) \ argument 262 static __always_inline __attribute_const__ unsigned long variable_ffz(unsigned long word) in variable_ffz() 273 #define ffz(word) \ argument 284 static __always_inline __attribute_const__ unsigned long __fls(unsigned long word) in __fls()
|
| /linux/include/asm-generic/bitops/ |
| H A D | __ffs.h | 13 static __always_inline __attribute_const__ unsigned int generic___ffs(unsigned long word) in generic___ffs() 45 #define __ffs(word) generic___ffs(word) argument
|
| H A D | __fls.h | 13 static __always_inline __attribute_const__ unsigned int generic___fls(unsigned long word) in generic___fls() 45 #define __fls(word) generic___fls(word) argument
|
| /linux/tools/include/asm-generic/bitops/ |
| H A D | __fls.h | 13 static __always_inline __attribute_const__ unsigned int generic___fls(unsigned long word) in generic___fls() 45 #define __fls(word) generic___fls(word) argument
|
| /linux/arch/sh/include/asm/ |
| H A D | bitops.h | 27 static inline unsigned long __attribute_const__ ffz(unsigned long word) in ffz() 47 static inline __attribute_const__ unsigned long __ffs(unsigned long word) in __ffs()
|
| /linux/arch/riscv/include/asm/ |
| H A D | bitops.h | 48 static __always_inline __attribute_const__ unsigned long variable__ffs(unsigned long word) in variable__ffs() 72 #define __ffs(word) \ argument 77 static __always_inline __attribute_const__ unsigned long variable__fls(unsigned long word) in variable__fls() 101 #define __fls(word) \ argument
|
| /linux/arch/sh/drivers/pci/ |
| H A D | pci-sh7751.c | 22 unsigned long word; in __area_sdram_check() local 79 u32 word, reg; in sh7751_pci_init() local
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2500pci.c | 46 const unsigned int word, const u8 value) in rt2500pci_bbp_write() 70 const unsigned int word) in rt2500pci_bbp_read() 104 const unsigned int word, const u32 value) in rt2500pci_rf_write() 806 u32 word; in rt2500pci_get_entry_state() local 824 u32 word; in rt2500pci_clear_entry() local 1253 u32 word; in rt2500pci_write_tx_desc() local 1400 u32 word; in rt2500pci_txdone() local 1560 u16 word; in rt2500pci_validate_eeprom() local
|
| H A D | rt2400pci.c | 46 const unsigned int word, const u8 value) in rt2400pci_bbp_write() 70 const unsigned int word) in rt2400pci_bbp_read() 104 const unsigned int word, const u32 value) in rt2400pci_rf_write() 717 u32 word; in rt2400pci_get_entry_state() local 735 u32 word; in rt2400pci_clear_entry() local 1100 u32 word; in rt2400pci_write_tx_desc() local 1272 u32 word; in rt2400pci_txdone() local 1434 u16 word; in rt2400pci_validate_eeprom() local
|
| /linux/lib/crypto/mips/ |
| H A D | sha1.h | 27 u32 word[2]; in octeon_sha1_store_hash() member 41 u32 word[2]; in octeon_sha1_read_hash() member
|
| /linux/drivers/gpio/ |
| H A D | gpio-max7301.c | 23 u16 word = ((reg & 0x7F) << 8) | (val & 0xFF); in max7301_spi_write() local 33 u16 word; in max7301_spi_read() local
|
| /linux/arch/mips/include/asm/ |
| H A D | bitops.h | 330 static __always_inline __attribute_const__ unsigned long __fls(unsigned long word) in __fls() 396 static __always_inline __attribute_const__ unsigned long __ffs(unsigned long word) in __ffs() 461 static inline __attribute_const__ int ffs(int word) in ffs()
|