| /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/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/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/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/asm-generic/bitops/ |
| H A D | __ffs.h | 8 * generic___ffs - find first bit in word. 9 * @word: The word to search 13 static __always_inline __attribute_const__ unsigned int generic___ffs(unsigned long word) in generic___ffs() argument 18 if ((word & 0xffffffff) == 0) { in generic___ffs() 20 word >>= 32; in generic___ffs() 23 if ((word & 0xffff) == 0) { in generic___ffs() 25 word >>= 16; in generic___ffs() 27 if ((word & 0xff) == 0) { in generic___ffs() 29 word >>= 8; in generic___ffs() 31 if ((word & 0xf) == 0) { in generic___ffs() [all …]
|
| 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 __attribute_const__ 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 <<= 8; in generic___fls() 31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in generic___fls() [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 __attribute_const__ 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 <<= 8; in generic___fls() 31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in generic___fls() [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/include/linux/ |
| H A D | bitops.h | 101 * @word: value to rotate 104 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument 106 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64() 111 * @word: value to rotate 114 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument 116 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64() 121 * @word: value to rotate 124 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 126 return (word << (shift & 31)) | (word >> ((-shift) & 31)); in rol32() 131 * @word: value to rotate [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/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/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/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/drivers/gpu/drm/amd/amdgpu/ |
| 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/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/drivers/crypto/cavium/cpt/ |
| H A D | cpt_hw_types.h | 32 * Word 0 38 * Word 1 45 * Word 2 54 * Word 3 63 * Word 4 64 * ei0; [319:256] Engine instruction word 0. Passed to the AE/SE. 65 * Word 5 66 * ei1; [383:320] Engine instruction word 1. Passed to the AE/SE. 67 * Word 6 68 * ei2; [447:384] Engine instruction word 1. Passed to the AE/SE. [all …]
|
| /linux/Documentation/locking/ |
| H A D | robust-futex-ABI.rst | 43 consisting of three words. Each word is 32 bits on 32 bit arch's, or 64 55 The first word in the memory structure at 'head' contains a 60 The second word, called 'offset', specifies the offset from the 62 be called the 'lock word', from that 'lock entry'. The 'lock word' 63 is always a 32 bit word, unlike the other words above. The 'lock 64 word' holds 2 flag bits in the upper 2 bits, and the thread id (TID) 68 The third word, called 'list_op_pending', contains transient copy of 74 of just a single word, pointing to the next 'lock entry', or back to 77 word, is one 'lock word'. 79 The 'lock word' is always 32 bits, and is intended to be the same 32 bit [all …]
|