/linux/arch/hexagon/kernel/ |
H A 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 …]
|
/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 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/arch/alpha/lib/ |
H A D | csum_partial_copy.c | 91 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 …]
|
H A D | stxncpy.S | 22 * t0 = last word written 26 * a0 = unaligned address of the last *word* written 51 t0 == the first destination word for masking back in 52 t1 == the first source word. */ 54 /* Create the 1st output word and detect 0's in the 1st input word. */ 56 mskqh t2, a1, t2 # e0 : detection in the src word 59 mskql t0, a1, t0 # e0 : assemble the first output word 66 t0 == a source word not containing a null. */ 78 /* Take care of the final (partial) word store. At this point 82 t0 == the source word containing the null [all …]
|
H A D | ev6-stxncpy.S | 22 * t0 = last word written 26 * a0 = unaligned address of the last *word* written 62 t0 == the first destination word for masking back in 63 t1 == the first source word. */ 65 /* Create the 1st output word and detect 0's in the 1st input word. */ 67 mskqh t2, a1, t2 # U : detection in the src word (stall) 71 mskql t0, a1, t0 # U : assemble the first output word 82 t0 == a source word not containing a null. */ 105 /* Take care of the final (partial) word store. At this point 109 t0 == the source word containing the null [all …]
|
H A D | stxcpy.S | 19 * a0 = unaligned address of the last *word* written 43 t0 == the first destination word for masking back in 44 t1 == the first source word. */ 46 /* Create the 1st output word and detect 0's in the 1st input word. */ 48 mskqh t2, a1, t2 # e0 : detection in the src word 51 mskql t0, a1, t0 # e0 : assemble the first output word 57 t0 == the first destination word for masking back in 58 t1 == a source word not containing a null. */ 68 /* Take care of the final (partial) word store. 70 t1 == the source word containing the null [all …]
|
H A D | ev6-stxcpy.S | 19 * a0 = unaligned address of the last *word* written 54 t0 == the first destination word for masking back in 55 t1 == the first source word. */ 57 /* Create the 1st output word and detect 0's in the 1st input word. */ 59 mskqh t2, a1, t2 # U : detection in the src word (stall) 63 mskql t0, a1, t0 # U : assemble the first output word 69 t0 == the first destination word for masking back in 70 t1 == a source word not containing a null. */ 84 /* Take care of the final (partial) word store. 86 t1 == the source word containing the null [all …]
|
/linux/arch/sh/drivers/pci/ |
H A 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 …]
|
/linux/arch/sparc/crypto/ |
H A 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 …]
|
/linux/arch/s390/include/asm/ |
H A D | bitops.h | 9 * Within a word, bits are numbered LSB first. Lot's of places make 11 * This can cause confusion for large (> 1 word) bitmaps on a 13 * bit depends on the word size. 127 * @word - The word to search 133 static inline unsigned char __flogr(unsigned long word) in __flogr() argument 135 if (__builtin_constant_p(word)) { in __flogr() 138 if (!word) in __flogr() 140 if (!(word & 0xffffffff00000000UL)) { in __flogr() 141 word <<= 32; in __flogr() 144 if (!(word & 0xffff000000000000UL)) { in __flogr() [all …]
|
/linux/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 4 * simple SPI master driver. Two do polled word-at-a-time I/O: 7 * expanding the per-word routines from the inline templates below. 51 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() [all …]
|
/linux/include/linux/ |
H A D | bitops.h | 102 * @word: value to rotate 105 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument 107 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64() 112 * @word: value to rotate 115 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument 117 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64() 122 * @word: value to rotate 125 static inline __u32 rol32(__u32 word, unsigne argument 135 ror32(__u32 word,unsigned int shift) ror32() argument 145 rol16(__u16 word,unsigned int shift) rol16() argument 155 ror16(__u16 word,unsigned int shift) ror16() argument 165 rol8(__u8 word,unsigned int shift) rol8() argument 175 ror8(__u8 word,unsigned int shift) ror8() argument 240 __ffs64(u64 word) __ffs64() argument 256 fns(unsigned long word,unsigned int n) fns() argument [all...] |
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpni-cmd.h | 145 /* response word 0 */ 148 /* response word 1 */ 150 /* response word 2 */ 199 /* response word 0 */ 205 /* response word 1 */ 212 /* response word 2 */ 246 /* response word 0 */ 251 /* response word 1 */ 259 /* cmd word 0 */ 266 /* cmd word 1 */ [all …]
|
/linux/arch/sparc/kernel/ |
H A 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 …]
|
H A 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 …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.h | 71 * WORD - structure size in bytes (includes size field) 72 * WORD - version 102 * WORD - structure size in bytes (includes size field) 108 * WORD - structure size in bytes (includes size field) 126 * WORD - structure size in bytes (includes size field) 162 * WORD - structure size in bytes (includes size field) 163 * WORD - selected displays 164 * WORD - connected displays 166 * WORD - structure size in bytes (includes size field) 167 * WORD - selected displays [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | vega10_sdma_pkt_open.h | 85 /*define for HEADER word*/ 116 /*define for COUNT word*/ 123 /*define for PARAMETER word*/ 136 /*define for SRC_ADDR_LO word*/ 143 /*define for SRC_ADDR_HI word*/ 150 /*define for DST_ADDR_LO word*/ 157 /*define for DST_ADDR_HI word*/ 169 /*define for HEADER word*/ 194 /*define for COUNT word*/ 201 /*define for PARAMETER word*/ [all …]
|
H A D | tonga_sdma_pkt_open.h | 69 /*define for HEADER word*/ 88 /*define for COUNT word*/ 95 /*define for PARAMETER word*/ 120 /*define for SRC_ADDR_LO word*/ 127 /*define for SRC_ADDR_HI word*/ 134 /*define for DST_ADDR_LO word*/ 141 /*define for DST_ADDR_HI word*/ 153 /*define for HEADER word*/ 172 /*define for COUNT word*/ 179 /*define for PARAMETER word*/ [all …]
|
H A D | sdma_v6_0_0_pkt_open.h | 106 /*define for HEADER word*/ 149 /*define for COUNT word*/ 156 /*define for PARAMETER word*/ 181 /*define for SRC_ADDR_LO word*/ 188 /*define for SRC_ADDR_HI word*/ 195 /*define for DST_ADDR_LO word*/ 202 /*define for DST_ADDR_HI word*/ 214 /*define for HEADER word*/ 227 /*define for COUNT word*/ 234 /*define for PARAMETER word*/ [all …]
|
H A D | iceland_sdma_pkt_open.h | 69 /*define for HEADER word*/ 88 /*define for COUNT word*/ 95 /*define for PARAMETER word*/ 120 /*define for SRC_ADDR_LO word*/ 127 /*define for SRC_ADDR_HI word*/ 134 /*define for DST_ADDR_LO word*/ 141 /*define for DST_ADDR_HI word*/ 153 /*define for HEADER word*/ 172 /*define for COUNT word*/ 179 /*define for PARAMETER word*/ [all …]
|
/linux/tools/include/asm-generic/bitops/ |
H A D | __fls.h | 8 * generic___fls - find last (most-significant) set bit in a long word 9 * @word: the word to search 13 static __always_inline unsigned int generic___fls(unsigned long word) in generic___fls() argument 18 if (!(word & (~0ul << 32))) { in generic___fls() 20 word <<= 32; in generic___fls() 23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in generic___fls() 25 word <<= 16; in generic___fls() 27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in generic___fls() 29 word << in generic___fls() 45 __fls(word) global() argument [all...] |
H A D | __ffs.h | 9 * __ffs - find first bit in word. 10 * @word: The word to search 14 static __always_inline unsigned int __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 >> in __ffs() [all...] |
/linux/drivers/gpu/drm/tegra/ |
H A D | firewall.c | 17 static int fw_next(struct tegra_drm_firewall *fw, u32 *word) in fw_next() argument 22 *word = fw->data[fw->pos++]; in fw_next() 44 u32 word; in fw_check_reg() local 47 err = fw_next(fw, &word); in fw_check_reg() 60 if (!fw_check_addr_valid(fw, word)) in fw_check_reg() 161 u32 word, opcode, offset, count, mask, class; in tegra_drm_fw_validate() local 163 err = fw_next(&fw, &word); in tegra_drm_fw_validate() 167 opcode = (word & 0xf0000000) >> 28; in tegra_drm_fw_validate() 171 offset = word >> 16 & 0xfff; in tegra_drm_fw_validate() 172 mask = word & 0x3f; in tegra_drm_fw_validate() [all …]
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_rtbitmap.c | 271 int bit; /* bit number in the word */ in xfs_rtfind_back() 274 xfs_rtxnum_t firstbit; /* first useful bit in the word */ in xfs_rtfind_back() 281 unsigned int word; /* word number in the buffer */ in xfs_rtfind_back() local 292 * Get the first word's index & point to it. in xfs_rtfind_back() 294 word = xfs_rtx_to_rbmword(mp, start); in xfs_rtfind_back() 301 incore = xfs_rtbitmap_getword(args, word); in xfs_rtfind_back() 304 * If the starting position is not word-aligned, deal with the in xfs_rtfind_back() 305 * partial word. in xfs_rtfind_back() 310 * and mask for all the relevant bits in this word. in xfs_rtfind_back() 329 * Go on to previous block if that's where the previous word is in xfs_rtfind_back() [all …]
|
/linux/arch/nios2/kernel/ |
H A 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 …]
|