Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 857) sorted by relevance

12345678910>>...35

/linux-6.6.21/arch/arc/include/asm/
Ddisasm.h31 #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 …]
/linux-6.6.21/arch/hexagon/kernel/
Dvm_init_segtable.S47 .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 …]
/linux-6.6.21/arch/sh/drivers/pci/
Dpci-sh7751.c22 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 …]
/linux-6.6.21/drivers/spi/
Dspi-bitbang-txrx.h51 u32 word, u8 bits) in bitbang_txrx_be_cpha0() argument
55 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0()
57 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha0()
61 if ((word & (1 << 31)) != oldbit) { in bitbang_txrx_be_cpha0()
62 setmosi(spi, word & (1 << 31)); in bitbang_txrx_be_cpha0()
63 oldbit = word & (1 << 31); in bitbang_txrx_be_cpha0()
72 word <<= 1; in bitbang_txrx_be_cpha0()
74 word |= getmiso(spi); in bitbang_txrx_be_cpha0()
77 return word; in bitbang_txrx_be_cpha0()
83 u32 word, u8 bits) in bitbang_txrx_be_cpha1() argument
[all …]
/linux-6.6.21/arch/alpha/lib/
Dcsum_partial_copy.c91 unsigned long word; in csum_partial_cfu_aligned() local
92 if (__get_word(ldq, word, src)) in csum_partial_cfu_aligned()
96 checksum += word; in csum_partial_cfu_aligned()
98 carry = checksum < word; in csum_partial_cfu_aligned()
99 *dst = word; in csum_partial_cfu_aligned()
105 unsigned long word, tmp; in csum_partial_cfu_aligned() local
106 if (__get_word(ldq, word, src)) in csum_partial_cfu_aligned()
109 mskql(word, len, word); in csum_partial_cfu_aligned()
110 checksum += word; in csum_partial_cfu_aligned()
112 carry = checksum < word; in csum_partial_cfu_aligned()
[all …]
/linux-6.6.21/arch/sparc/crypto/
Dopcodes.h19 .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 …]
/linux-6.6.21/include/linux/
Dwait_bit.h21 #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 …]
Dbitops.h104 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument
106 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64()
114 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument
116 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64()
124 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument
126 return (word << (shift & 31)) | (word >> ((-shift) & 31)); in rol32()
134 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32() argument
136 return (word >> (shift & 31)) | (word << ((-shift) & 31)); in ror32()
144 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16() argument
146 return (word << (shift & 15)) | (word >> ((-shift) & 15)); in rol16()
[all …]
/linux-6.6.21/drivers/crypto/ccree/
Dcc_hw_queue_defs.h24 #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 …]
/linux-6.6.21/arch/nios2/kernel/
Dentry.S71 .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 …]
/linux-6.6.21/arch/sparc/kernel/
Duna_asm_32.S62 .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 …]
Duna_asm_64.S52 .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 …]
Dsys32.S208 .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 …]
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h49 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 …]
/linux-6.6.21/tools/include/asm-generic/bitops/
D__ffs.h14 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.h13 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 …]
/linux-6.6.21/include/asm-generic/bitops/
D__ffs.h13 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.h13 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 …]
/linux-6.6.21/arch/s390/include/asm/
Dbitops.h262 static inline unsigned char __flogr(unsigned long word) in __flogr() argument
264 if (__builtin_constant_p(word)) { in __flogr()
267 if (!word) in __flogr()
269 if (!(word & 0xffffffff00000000UL)) { in __flogr()
270 word <<= 32; in __flogr()
273 if (!(word & 0xffff000000000000UL)) { in __flogr()
274 word <<= 16; in __flogr()
277 if (!(word & 0xff00000000000000UL)) { in __flogr()
278 word <<= 8; in __flogr()
281 if (!(word & 0xf000000000000000UL)) { in __flogr()
[all …]
/linux-6.6.21/drivers/platform/mellanox/
Dmlxbf-bootctl.c569 int word; in opn_show() local
572 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(OPN); word++) { in opn_show()
574 MLNX_MFG_TYPE_OPN_0 + word, in opn_show()
580 opn_data[word] = res.a1; in opn_show()
593 int word; in opn_store() local
601 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(OPN); word++) { in opn_store()
603 MLNX_MFG_TYPE_OPN_0 + word, in opn_store()
604 sizeof(u64), opn[word], 0, 0, 0, 0, &res); in opn_store()
620 int word; in sku_show() local
623 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(SKU); word++) { in sku_show()
[all …]
/linux-6.6.21/arch/mips/include/asm/
Dbitops.h307 static __always_inline unsigned long __fls(unsigned long word) in __fls() argument
311 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && in __fls()
319 : "r" (word)); in __fls()
324 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && in __fls()
332 : "r" (word)); in __fls()
340 if (!(word & (~0ul << 32))) { in __fls()
342 word <<= 32; in __fls()
345 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()
347 word <<= 16; in __fls()
349 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()
[all …]
/linux-6.6.21/kernel/sched/
Dwait_bit.c12 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 …]
/linux-6.6.21/drivers/irqchip/
Dirq-bcm7038-l1.c80 unsigned int word) in reg_status() argument
82 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
86 unsigned int word) in reg_mask_status() argument
88 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
92 unsigned int word) in reg_mask_set() argument
94 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
98 unsigned int word) in reg_mask_clr() argument
100 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
154 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local
157 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask()
[all …]
/linux-6.6.21/arch/arm/crypto/
Dsha2-ce-core.S52 .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 …]
/linux-6.6.21/drivers/xen/events/
Devents_fifo.c196 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 …]

12345678910>>...35