/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 38 (BITS((word), 24, 26))) 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 [all …]
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
D | vm_init_segtable.S | 47 .word X,X,X,X 48 .word X,X,X,X 49 .word X,X,X,X 50 .word X,X,X,X 51 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 52 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 53 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 54 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 55 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 56 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X [all …]
|
/kernel/linux/linux-5.10/arch/sh/drivers/pci/ |
D | pci-sh7751.c | 22 unsigned long word; in __area_sdram_check() local 24 word = __raw_readl(SH7751_BCR1); in __area_sdram_check() 26 if (((word >> area) & 1) == 0) { in __area_sdram_check() 28 area, word); in __area_sdram_check() 31 pci_write_reg(chan, word, SH4_PCIBCR1); in __area_sdram_check() 33 word = __raw_readw(SH7751_BCR2); in __area_sdram_check() 35 if (((word >> (area << 1)) & 0x3) != 0x3) { in __area_sdram_check() 37 area, word); in __area_sdram_check() 40 pci_write_reg(chan, word, SH4_PCIBCR2); in __area_sdram_check() 79 u32 word, reg; in sh7751_pci_init() local [all …]
|
/kernel/linux/linux-5.10/arch/alpha/lib/ |
D | csum_partial_copy.c | 90 unsigned long word; in csum_partial_cfu_aligned() local 91 if (__get_word(ldq, word, src)) in csum_partial_cfu_aligned() 95 checksum += word; in csum_partial_cfu_aligned() 97 carry = checksum < word; in csum_partial_cfu_aligned() 98 *dst = word; in csum_partial_cfu_aligned() 104 unsigned long word, tmp; in csum_partial_cfu_aligned() local 105 if (__get_word(ldq, word, src)) in csum_partial_cfu_aligned() 108 mskql(word, len, word); in csum_partial_cfu_aligned() 109 checksum += word; in csum_partial_cfu_aligned() 111 carry = checksum < word; in csum_partial_cfu_aligned() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/crypto/ |
D | opcodes.h | 19 .word (F3F(2,0x36,0x147)|RS1(a)|RS2(b)|RD(c)); 22 .word 0x81b02800; 24 .word 0x81b02820; 26 .word 0x81b02840; 28 .word 0x81b02860; 31 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 33 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 35 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 37 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 39 .word (F3F(2, 0x19, 4)|RS1(a)|RS2(b)|RS3(c)|RD(d)); [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | wait_bit.h | 21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument 22 { .flags = word, .bit_nr = bit, } 26 void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit); 29 void wake_up_bit(void *word, int bit); 30 int out_of_line_wait_on_bit(void *word, int, wait_bit_action_f *action, unsigned int mode); 31 int out_of_line_wait_on_bit_timeout(void *word, int, wait_bit_action_f *action, unsigned int mode, … 32 int out_of_line_wait_on_bit_lock(void *word, int, wait_bit_action_f *action, unsigned int mode); 33 struct wait_queue_head *bit_waitqueue(void *word, int bit); 38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument 40 .key = __WAIT_BIT_KEY_INITIALIZER(word, bit), \ [all …]
|
D | bitops.h | 83 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument 85 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64() 93 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument 95 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64() 103 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 105 return (word << (shift & 31)) | (word >> ((-shift) & 31)); in rol32() 113 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() argument 115 return (word >> (shift & 31)) | (word << ((-shift) & 31)); in ror32() 123 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() argument 125 return (word << (shift & 15)) | (word >> ((-shift) & 15)); in rol16() [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-bitbang-txrx.h | 49 u32 word, u8 bits) in bitbang_txrx_be_cpha0() argument 53 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0() 55 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha0() 59 if ((word & (1 << 31)) != oldbit) { in bitbang_txrx_be_cpha0() 60 setmosi(spi, word & (1 << 31)); in bitbang_txrx_be_cpha0() 61 oldbit = word & (1 << 31); in bitbang_txrx_be_cpha0() 70 word <<= 1; in bitbang_txrx_be_cpha0() 72 word |= getmiso(spi); in bitbang_txrx_be_cpha0() 75 return word; in bitbang_txrx_be_cpha0() 81 u32 word, u8 bits) in bitbang_txrx_be_cpha1() argument [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
D | cc_hw_queue_defs.h | 24 #define CC_HWQ_GENMASK(word, field) \ argument 25 CC_GENMASK(CC_DSCRPTR_QUEUE_WORD ## word ## _ ## field) 64 u32 word[HW_DESC_SIZE_WORDS]; member 224 pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1); in set_queue_last_ind_bit() 240 pdesc->word[0] = lower_32_bits(addr); in set_din_type() 242 pdesc->word[5] |= FIELD_PREP(WORD5_DIN_ADDR_HIGH, upper_32_bits(addr)); in set_din_type() 244 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_DMA_MODE, dma_mode) | in set_din_type() 259 pdesc->word[0] = addr; in set_din_no_dma() 260 pdesc->word[1] |= FIELD_PREP(WORD1_DIN_SIZE, size); in set_din_no_dma() 271 pdesc->word[0] |= CC_CPP_DIN_ADDR; in set_cpp_crypto_key() [all …]
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
D | entry.S | 71 .word unhandled_exception /* 0 - Reset */ 72 .word unhandled_exception /* 1 - Processor-only Reset */ 73 .word external_interrupt /* 2 - Interrupt */ 74 .word handle_trap /* 3 - Trap Instruction */ 76 .word instruction_trap /* 4 - Unimplemented instruction */ 77 .word handle_illegal /* 5 - Illegal instruction */ 78 .word handle_unaligned /* 6 - Misaligned data access */ 79 .word handle_unaligned /* 7 - Misaligned destination address */ 81 .word handle_diverror /* 8 - Division error */ 82 .word protection_exception_ba /* 9 - Supervisor-only instr. address */ [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | una_asm_32.S | 62 .word 4b, retl_efault 63 .word 5b, retl_efault 64 .word 6b, retl_efault 65 .word 7b, retl_efault 66 .word 8b, retl_efault 67 .word 9b, retl_efault 68 .word 10b, retl_efault 69 .word 11b, retl_efault 70 .word 12b, retl_efault 71 .word 13b, retl_efault [all …]
|
D | una_asm_64.S | 52 .word 4b, __retl_efault 53 .word 5b, __retl_efault 54 .word 6b, __retl_efault 55 .word 7b, __retl_efault 56 .word 8b, __retl_efault 57 .word 9b, __retl_efault 58 .word 10b, __retl_efault 59 .word 11b, __retl_efault 60 .word 12b, __retl_efault 61 .word 13b, __retl_efault [all …]
|
D | sys32.S | 208 .word 1b, __retl_efault, 2b, __retl_efault 209 .word 3b, __retl_efault, 4b, __retl_efault 210 .word 5b, __retl_efault, 6b, __retl_efault 211 .word 7b, __retl_efault, 8b, __retl_efault 212 .word 9b, __retl_efault, 10b, __retl_efault 213 .word 11b, __retl_efault, 12b, __retl_efault 214 .word 13b, __retl_efault, 14b, __retl_efault 215 .word 15b, __retl_efault, 16b, __retl_efault 216 .word 17b, __retl_efault, 18b, __retl_efault 217 .word 19b, __retl_efault, 20b, __retl_efault [all …]
|
/kernel/linux/linux-5.10/include/asm-generic/bitops/ |
D | __ffs.h | 13 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() argument 18 if ((word & 0xffffffff) == 0) { in __ffs() 20 word >>= 32; in __ffs() 23 if ((word & 0xffff) == 0) { in __ffs() 25 word >>= 16; in __ffs() 27 if ((word & 0xff) == 0) { in __ffs() 29 word >>= 8; in __ffs() 31 if ((word & 0xf) == 0) { in __ffs() 33 word >>= 4; in __ffs() 35 if ((word & 0x3) == 0) { in __ffs() [all …]
|
D | __fls.h | 13 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument 18 if (!(word & (~0ul << 32))) { in __fls() 20 word <<= 32; in __fls() 23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 25 word <<= 16; in __fls() 27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 29 word <<= 8; in __fls() 31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 33 word <<= 4; in __fls() 35 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() [all …]
|
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/ |
D | __ffs.h | 14 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() argument 19 if ((word & 0xffffffff) == 0) { in __ffs() 21 word >>= 32; in __ffs() 24 if ((word & 0xffff) == 0) { in __ffs() 26 word >>= 16; in __ffs() 28 if ((word & 0xff) == 0) { in __ffs() 30 word >>= 8; in __ffs() 32 if ((word & 0xf) == 0) { in __ffs() 34 word >>= 4; in __ffs() 36 if ((word & 0x3) == 0) { in __ffs() [all …]
|
D | __fls.h | 13 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument 18 if (!(word & (~0ul << 32))) { in __fls() 20 word <<= 32; in __fls() 23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 25 word <<= 16; in __fls() 27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 29 word <<= 8; in __fls() 31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 33 word <<= 4; in __fls() 35 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.h | 49 u32 word[6]; member 52 #define RRD_NOR(rrd) BITS_GET((rrd)->word[0], 16, 19) 54 #define RRD_SI(rrd) BITS_GET((rrd)->word[0], 20, 31) 56 #define RRD_CVALN_TAG(rrd) BITS_GET((rrd)->word[2], 0, 15) 58 #define RRD_PKT_SIZE(rrd) BITS_GET((rrd)->word[3], 0, 13) 60 #define RRD_L4F(rrd) BITS_GET((rrd)->word[3], 14, 14) 62 #define RRD_CVTAG(rrd) BITS_GET((rrd)->word[3], 16, 16) 66 #define RRD_UPDT(rrd) BITS_GET((rrd)->word[3], 31, 31) 67 #define RRD_UPDT_SET(rrd, val) BITS_SET((rrd)->word[3], 31, 31, val) 69 #define RRD_TS_LOW(rrd) BITS_GET((rrd)->word[4], 0, 29) [all …]
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | bitops.h | 304 static inline unsigned char __flogr(unsigned long word) in __flogr() argument 306 if (__builtin_constant_p(word)) { in __flogr() 309 if (!word) in __flogr() 311 if (!(word & 0xffffffff00000000UL)) { in __flogr() 312 word <<= 32; in __flogr() 315 if (!(word & 0xffff000000000000UL)) { in __flogr() 316 word <<= 16; in __flogr() 319 if (!(word & 0xff00000000000000UL)) { in __flogr() 320 word <<= 8; in __flogr() 323 if (!(word & 0xf000000000000000UL)) { in __flogr() [all …]
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | bitops.h | 309 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument 313 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && in __fls() 321 : "r" (word)); in __fls() 326 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && in __fls() 334 : "r" (word)); in __fls() 342 if (!(word & (~0ul << 32))) { in __fls() 344 word <<= 32; in __fls() 347 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 349 word <<= 16; in __fls() 351 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() [all …]
|
/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() argument 15 unsigned long val = (unsigned long)word << shift | bit; in bit_waitqueue() 58 int __sched out_of_line_wait_on_bit(void *word, int bit, in out_of_line_wait_on_bit() argument 61 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit() 62 DEFINE_WAIT_BIT(wq_entry, word, 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() argument 72 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_timeout() 73 DEFINE_WAIT_BIT(wq_entry, word, bit); 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() argument 114 struct wait_queue_head *wq_head = bit_waitqueue(word, bit); in out_of_line_wait_on_bit_lock() [all …]
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-bcm7038-l1.c | 84 unsigned int word) in reg_status() argument 86 return (0 * intc->n_words + word) * sizeof(u32); in reg_status() 90 unsigned int word) in reg_mask_status() argument 92 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status() 96 unsigned int word) in reg_mask_set() argument 98 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set() 102 unsigned int word) in reg_mask_clr() argument 104 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr() 160 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local 163 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask() [all …]
|
/kernel/linux/linux-5.10/arch/arm/crypto/ |
D | sha2-ce-core.S | 52 .word 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5 53 .word 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5 54 .word 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3 55 .word 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174 56 .word 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc 57 .word 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da 58 .word 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7 59 .word 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967 60 .word 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13 61 .word 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85 [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | cpm2_pic.c | 81 int bit, word; in cpm2_mask_irq() local 85 word = irq_to_siureg[irq_nr]; in cpm2_mask_irq() 87 ppc_cached_irq_mask[word] &= ~(1 << bit); in cpm2_mask_irq() 88 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_mask_irq() 93 int bit, word; in cpm2_unmask_irq() local 97 word = irq_to_siureg[irq_nr]; in cpm2_unmask_irq() 99 ppc_cached_irq_mask[word] |= 1 << bit; in cpm2_unmask_irq() 100 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_unmask_irq() 105 int bit, word; in cpm2_ack() local 109 word = irq_to_siureg[irq_nr]; in cpm2_ack() [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 197 sync_clear_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_clear_pending() 202 event_word_t *word = event_word_from_port(port); in evtchn_fifo_set_pending() local 203 sync_set_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_set_pending() 208 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_pending() local 209 return sync_test_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_is_pending() 214 event_word_t *word = event_word_from_port(port); in evtchn_fifo_mask() local 215 sync_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_mask() 220 event_word_t *word = event_word_from_port(port); in evtchn_fifo_is_masked() local 221 return sync_test_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_is_masked() [all …]
|