/openbmc/u-boot/arch/x86/include/asm/ |
H A D | bitops.h | 330 static __inline__ unsigned long ffz(unsigned long word) in ffz() argument 333 :"=r" (word) in ffz() 334 :"r" (~word)); in ffz() 335 return word; in ffz() 346 static inline unsigned long __ffs(unsigned long word) in __ffs() argument 349 : "=r" (word) in __ffs() 350 : "rm" (word)); in __ffs() 351 return word; in __ffs()
|
/openbmc/qemu/replay/ |
H A D | replay-internal.c | 63 void replay_put_word(uint16_t word) in replay_put_word() argument 65 replay_put_byte(word >> 8); in replay_put_word() 66 replay_put_byte(word); in replay_put_word() 106 uint16_t word = 0; in replay_get_word() local 108 word = replay_get_byte(); in replay_get_word() 109 word = (word << 8) + replay_get_byte(); in replay_get_word() 112 return word; in replay_get_word()
|
/openbmc/qemu/disas/ |
H A D | hppa.c | 1820 extract_3 (unsigned word) in extract_3() argument 1822 return GET_FIELD (word, 18, 18) << 2 | GET_FIELD (word, 16, 17); in extract_3() 1844 return (word & MASK_5); in extract_5r_store() 1874 extract_11 (unsigned word) in extract_11() argument 1882 extract_14 (unsigned word) in extract_14() argument 1890 extract_16 (unsigned word) in extract_16() argument 1894 m0 = GET_BIT (word, 16); in extract_16() 1897 word = (word >> 1) & 0x1fff; in extract_16() 1898 word = word | (m15 << 15) | ((m15 ^ m0) << 14) | ((m15 ^ m1) << 13); in extract_16() 1909 word &= MASK_21; in extract_21() [all …]
|
/openbmc/u-boot/tools/ |
H A D | atmelimage.c | 155 static void atmel_print_pmecc_header(const uint32_t word) in atmel_print_pmecc_header() argument 163 val = (word >> 18) & 0x1ff; in atmel_print_pmecc_header() 166 val = (((word >> 16) & 0x3) == 0) ? 512 : 1024; in atmel_print_pmecc_header() 169 if (((word >> 13) & 0x7) <= 2) in atmel_print_pmecc_header() 170 val = (2 << ((word >> 13) & 0x7)); in atmel_print_pmecc_header() 172 val = (12 << (((word >> 13) & 0x7) - 3)); in atmel_print_pmecc_header() 175 val = (word >> 4) & 0x1ff; in atmel_print_pmecc_header() 178 val = (1 << ((word >> 1) & 0x3)); in atmel_print_pmecc_header() 181 printf("\t\tusePmecc: %10i\n", word & 0x1); in atmel_print_pmecc_header()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | head_32.S | 87 .word 0 89 .word 0 92 .word _end 792 .word 8 794 .word 7 801 .word 0 802 .word 0 808 .word 0 809 .word 0 810 .word 0 [all …]
|
H A D | etrap_64.S | 44 .word 661b 45 .word 0x85880000 ! allclean 98 .word 661b 105 .word 661b 116 .word 661b 117 .word 0x87880000 ! otherw 126 .word 661b 140 .word 661b 172 .word 661b 177 .word 661b [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | syscall.c | 20 u16 word; in SYSCALL_DEFINE5() local 39 cfg_ret = pci_user_read_config_word(dev, off, &word); in SYSCALL_DEFINE5() 58 err = put_user(word, (u16 __user *)buf); in SYSCALL_DEFINE5() 91 u16 word; in SYSCALL_DEFINE5() local 114 err = get_user(word, (u16 __user *)buf); in SYSCALL_DEFINE5() 117 err = pci_user_write_config_word(dev, off, word); in SYSCALL_DEFINE5()
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-altivec.c | 48 u32 word; in vr_get() member 61 vrsave.word = target->thread.vrsave; in vr_get() 100 u32 word; in vr_set() member 104 vrsave.word = target->thread.vrsave; in vr_set() 111 target->thread.vrsave = vrsave.word; in vr_set()
|
/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | ddr3_training_db.c | 576 u32 word; in pattern_table_get_isi_word() local 579 word = ((i1 == 5) | (i1 == 7)) ? 0xffffffff : 0x0; in pattern_table_get_isi_word() 581 word = (i1 == 6) ? 0xffffffff : 0x0; in pattern_table_get_isi_word() 583 word = ((i0 % 16) > 7) ? ~word : word; in pattern_table_get_isi_word() 585 return word; in pattern_table_get_isi_word() 612 u32 word; in pattern_table_get_isi_word16() local 615 word = (i1 > 1) ? 0x0000ffff : 0x0; in pattern_table_get_isi_word16() 617 word = (i1 == 3) ? 0xffff0000 : 0x0; in pattern_table_get_isi_word16() 619 word = ((i0 % 8) > 3) ? ~word : word; in pattern_table_get_isi_word16() 621 return word; in pattern_table_get_isi_word16()
|
/openbmc/linux/arch/alpha/lib/ |
H A D | ev6-stxcpy.S | 59 mskqh t2, a1, t2 # U : detection in the src word (stall) 63 mskql t0, a1, t0 # U : assemble the first output word 129 ldq_u t1, 0(a1) # L : load first src word 130 and a0, 7, t0 # E : take care not to load a word ... 178 stq_u t1, 0(a0) # L : store first output word 180 extql t2, a1, t0 # U : position ho-bits of lo word 181 ldq_u t2, 8(a1) # U : read next high-order source word 208 or t0, t1, t1 # E : current dst word now complete 210 stq_u t1, -8(a0) # L : save the current word (stall) 213 cmpbge zero, t2, t8 # E : test new word for eos [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | sram242x.S | 119 .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) 121 .word OMAP2420_PRCM_VOLTCTRL 123 .word 0xFFFF3FFC 127 .word . - omap242x_sram_ddr_init 214 .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) 218 .word OMAP2420_PRCM_VOLTCTRL 220 .word 0xFFFF3FFC 225 .word . - omap242x_sram_reprogram_sdrc 304 .word OMAP2420_PRCM_CLKCFG_CTRL 314 .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) [all …]
|
H A D | sram243x.S | 119 .word OMAP243X_SDRC_REGADDR(SDRC_DLLA_CTRL) 121 .word OMAP2430_PRCM_VOLTCTRL 123 .word 0xFFFF3FFC 127 .word . - omap243x_sram_ddr_init 214 .word OMAP243X_SDRC_REGADDR(SDRC_DLLA_CTRL) 218 .word OMAP2430_PRCM_VOLTCTRL 220 .word 0xFFFF3FFC 225 .word . - omap243x_sram_reprogram_sdrc 304 .word OMAP2430_PRCM_CLKCFG_CTRL 314 .word OMAP243X_SDRC_REGADDR(SDRC_DLLA_CTRL) [all …]
|
/openbmc/linux/arch/arm/mach-tegra/ |
H A D | sleep-tegra30.S | 592 .word TEGRA_EMC_BASE + EMC_CFG @0x0 593 .word TEGRA_EMC_BASE + EMC_ZCAL_INTERVAL @0x4 597 .word TEGRA_PMC_BASE + PMC_IO_DPD_STATUS @0x14 603 .word TEGRA_EMC0_BASE + EMC_CFG @0x0 604 .word TEGRA_EMC0_BASE + EMC_ZCAL_INTERVAL @0x4 608 .word TEGRA_PMC_BASE + PMC_IO_DPD_STATUS @0x14 611 .word TEGRA_EMC1_BASE + EMC_CFG @0x20 612 .word TEGRA_EMC1_BASE + EMC_ZCAL_INTERVAL @0x24 619 .word TEGRA124_EMC_BASE + EMC_CFG @0x0 624 .word TEGRA_PMC_BASE + PMC_IO_DPD_STATUS @0x14 [all …]
|
/openbmc/linux/arch/sh/boot/compressed/ |
H A D | head_32.S | 111 .word 0 113 .word 0x0202 ! header version number (>= 0x0105) 115 .word 0 ! default_switch 116 .word 0 ! SETUPSEG 117 .word 0x1000 118 .word 0 ! pointing to kernel version string 123 .word 0x8000 ! size to move, when setup is not
|
/openbmc/u-boot/board/nokia/rx51/ |
H A D | lowlevel_init.S | 10 .word . /* address of section (calculated at compile time) */ 13 .word CONFIG_SYS_TEXT_BASE 16 .word KERNEL_ADDRESS 19 .word KERNEL_MAXSIZE 22 .word KERNEL_OFFSET 25 .word IMAGE_MAXSIZE 28 .word 0x56190527
|
/openbmc/u-boot/doc/imx/common/ |
H A D | imx6.txt | 9 1.1 MAC Address: It is stored in fuse bank 4, with the 32 lsbs in word 2 and the 10 16 msbs in word 3[15:0]. 12 is stored in fuse bank 4, with the 16 lsb in word 3[31:16] and the 32 msbs in 13 word 4. 25 In order to use the fuse API, we need to pass the bank and word values, which 38 word = 2 59 word = 3 74 - The 'bank' and 'word' numbers can be easily obtained from the mx6 Reference
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sh-sci.c | 79 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode0() argument 82 return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); in sh_sci_spi_txrx_mode0() 86 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode1() argument 89 return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits); in sh_sci_spi_txrx_mode1() 93 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode2() argument 96 return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits); in sh_sci_spi_txrx_mode2() 100 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode3() argument 103 return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits); in sh_sci_spi_txrx_mode3()
|
/openbmc/u-boot/drivers/fpga/ |
H A D | zynqmppl.c | 51 u32 word = 0; in load_word() local 57 word <<= 8; in load_word() 58 word |= bitc[p]; in load_word() 62 word <<= 8; in load_word() 63 word |= bitc[p]; in load_word() 67 return word; in load_word() 105 u32 word, p = 0; /* possition */ in check_data() local 109 word = load_word(&buf[p], SWAP_NO); in check_data() 110 debug("%s: word %x %x/%px\n", __func__, word, p, &buf[p]); in check_data() 113 if (word == DUMMY_WORD) { in check_data()
|
/openbmc/linux/arch/x86/purgatory/ |
H A D | setup-x86_64.S | 44 .word gdt_end - gdt - 1 46 .word 0, 0, 0 49 .word 0xFFFF, 0x0000, 0x9A00, 0x00AF 52 .word 0xFFFF, 0x0000, 0x9200, 0x00CF
|
/openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
H A D | qbman_portal.h | 118 unsigned int word; /* which uint32_t[] array member encodes the field */ member 130 return d32_uint32_t(code->lsoffset, code->width, cacheline[code->word]); in qb_attr_code_decode() 138 cacheline[code->word] = in qb_attr_code_encode() 139 r32_uint32_t(code->lsoffset, code->width, cacheline[code->word]) in qb_attr_code_encode() 146 cacheline[code->word / 2] = val; in qb_attr_code_encode_64()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 19 struct ipu_cpmem_word word[2]; member 30 #define IPU_CPMEM_WORD(word, ofs, size) ((((word) * 160 + (ofs)) << 8) | (size)) argument 105 u32 word = (wbs >> 8) / 160; in ipu_ch_param_write_field() local 113 val = readl(&base->word[word].data[i]); in ipu_ch_param_write_field() 116 writel(val, &base->word[word].data[i]); in ipu_ch_param_write_field() 119 val = readl(&base->word[word].data[i + 1]); in ipu_ch_param_write_field() 122 writel(val, &base->word[word].data[i + 1]); in ipu_ch_param_write_field() 131 u32 word = (wbs >> 8) / 160; in ipu_ch_param_read_field() local 139 val = (readl(&base->word[word].data[i]) >> ofs) & mask; in ipu_ch_param_read_field() 144 tmp = readl(&base->word[word].data[i + 1]); in ipu_ch_param_read_field() [all …]
|
/openbmc/openpower-hw-diags/attn/pel/ |
H A D | primary_src.cpp | 18 for (auto& word : _srcWords) in flatten() local 20 stream << word; in flatten() 31 for (auto& word : _srcWords) in unflatten() local 33 stream >> word; in unflatten()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | alternative.h | 50 .word (from - .) ! \ 52 .word replacement ! \ 59 .word (from - .) ! \ 61 .word (new_instr_ptr - .) ! \
|
/openbmc/linux/arch/x86/realmode/rm/ |
H A D | reboot.S | 132 .word 0xffff /* Length - real mode default value */ 139 .word 0xffff /* Length - real mode default value */ 141 .word 0 147 .word 0xffff /* Limit */ 149 .word 0
|
/openbmc/u-boot/post/ |
H A D | post.c | 100 unsigned long word = post_word_load(); in post_bootmode_get() local 103 if ((word & 0xFFFF0000) != BOOTMODE_MAGIC) in post_bootmode_get() 106 bootmode = word & 0x7F; in post_bootmode_get() 109 *last_test = (word >> 8) & 0xFF; in post_bootmode_get() 145 unsigned long word = post_word_load(); in post_bootmode_test_on() local 147 word |= POST_POWERTEST; in post_bootmode_test_on() 149 word |= (last_test & 0xFF) << 8; in post_bootmode_test_on() 151 post_word_store(word); in post_bootmode_test_on() 156 unsigned long word = post_word_load(); in post_bootmode_test_off() local 158 word &= ~POST_POWERTEST; in post_bootmode_test_off() [all …]
|