/openbmc/linux/include/asm-generic/bitops/ |
H A D | __fls.h | 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() 37 word <<= 2; in __fls() [all …]
|
/openbmc/u-boot/include/asm-generic/bitops/ |
H A D | __fls.h | 17 if (!(word & (~0ul << 32))) { in __fls() 19 word <<= 32; in __fls() 22 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 24 word <<= 16; in __fls() 26 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 28 word <<= 8; in __fls() 30 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 32 word <<= 4; in __fls() 34 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() 36 word <<= 2; in __fls() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/ |
H A D | boot0.h | 13 .word 0x0 /* Key location */ 14 .word 0x0 /* start address of image */ 15 .word 0Xfc00 /* image size 63KB*/ 16 .word 0x0 /* signature address */ 17 .word 0x0 /* header revision ID low */ 18 .word 0x0 /* header revision ID high */ 19 .word 0x0 /* reserved */ 20 .word 0x0 /* checksum */ 21 .word 0x0 /* BL2 secure header */ 22 .word 0x0 /* public key or digest offset for BL2 */
|
/openbmc/qemu/include/hw/net/ |
H A D | npcm_gmac.h | 46 #define RX_DESC_RDES0_FRAME_LEN_MASK(word) extract32(word, 16, 14) argument 90 #define RX_DESC_RDES1_BFFR2_SZ_MASK(word) extract32(word, \ argument 93 #define RX_DESC_RDES1_BFFR1_SZ_MASK(word) extract32(word, 0, 11) argument 130 #define TX_DESC_TDES0_COLL_CNT_MASK(word) extract32(word, 3, 4) argument 145 #define TX_DESC_TDES1_CHKSM_INS_CTRL_MASK(word) extract32(word, 27, 2) argument 153 #define TX_DESC_TDES1_BFFR2_SZ_MASK(word) extract32(word, 11, 11) argument 155 #define TX_DESC_TDES1_BFFR1_SZ_MASK(word) extract32(word, 0, 11) argument 174 #define NPCM_DMA_STATUS_RO_MASK(word) (word & 0xfffe0000) argument 176 #define NPCM_DMA_STATUS_W1C_MASK(word) (word & 0x1e7ff) argument 311 #define NPCM_DMA_HOST_RX_DESC_MASK(word) ((uint32_t) (word) & ~3u) argument [all …]
|
H A D | npcm7xx_emc.h | 153 #define REG_DMARFC_RXMS(word) extract32((word), 0, 16) argument 212 #define TX_DESC_PKT_LEN(word) extract32((word), 0, 16) argument 215 #define TX_DESC_TXBSA(word) ((uint32_t) (word) & ~3u) argument 218 #define TX_DESC_NTXDSA(word) ((uint32_t) (word) & ~3u) argument 238 #define RX_DESC_PKT_LEN(word) extract32((word), 0, 16) argument 241 #define RX_DESC_RXBSA(word) ((uint32_t) (word) & ~3u) argument 244 #define RX_DESC_NRXDSA(word) ((uint32_t) (word) & ~3u) argument
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | bitops.h | 267 if (!word) in __flogr() 270 word <<= 32; in __flogr() 274 word <<= 16; in __flogr() 278 word <<= 8; in __flogr() 282 word <<= 4; in __flogr() 286 word <<= 2; in __flogr() 290 word <<= 1; in __flogr() 297 rp.even = word; in __flogr() 313 return __flogr(-word & word) ^ (BITS_PER_LONG - 1); in __ffs() 323 static inline int ffs(int word) in ffs() argument [all …]
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | sec_boot.S | 76 .word 0x0 @ REG0: RESUME_ADDR 77 .word 0x0 @ REG1: RESUME_FLAG 78 .word 0x0 @ REG2 79 .word 0x0 @ REG3 81 .word 0x0 @ REG4: SWITCH_ADDR 83 .word 0x0 @ REG5: CPU1_BOOT_REG 84 .word 0x0 @ REG6 86 .word 0x0 @ REG7: REG_C2_ADDR 88 .word 0x1 @ CPU0_STATE : RESET 93 .word 0x0 @ CPU0 - GICD_IGROUPR0 [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
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 …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | fsl_iim.c | 92 u32 word[0x100]; member 106 word >= ARRAY_SIZE((*regs)->bank[0].word) || in prepare_access() 142 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read() argument 152 *val = iim_read32(®s->bank[bank].word[word]); in fuse_read() 166 iim_write32(®s->ua, bank << 3 | word >> 5); in direct_access() 167 iim_write32(®s->la, (word << 3 | bit) & 0xff); in direct_access() 176 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense() argument 234 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog() argument 247 ret = prog_bit(regs, bank, word, bit); in fuse_prog() 258 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override() argument [all …]
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxbf-bootctl.c | 572 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(OPN); word++) { in opn_show() 601 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(OPN); word++) { in opn_store() 623 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(SKU); word++) { in sku_show() 652 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(SKU); word++) { in sku_store() 674 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(MODL); word++) { in modl_show() 703 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(MODL); word++) { in modl_store() 725 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(SN); word++) { in sn_show() 754 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(SN); word++) { in sn_store() 776 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(UUID); word++) { in uuid_show() 827 for (word = 0; word < MLNX_MFG_VAL_QWORD_CNT(REV); word++) { in rev_show() [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | bitops.h | 319 : "r" (word)); in __fls() 332 : "r" (word)); in __fls() 340 if (!(word & (~0ul << 32))) { in __fls() 342 word <<= 32; in __fls() 347 word <<= 16; in __fls() 351 word <<= 8; in __fls() 355 word <<= 4; in __fls() 359 word <<= 2; in __fls() 375 return __fls(word & -word); in __ffs() 440 if (!word) in ffs() [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | wait_bit.c | 12 wait_queue_head_t *bit_waitqueue(void *word, int bit) in bit_waitqueue() argument 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 73 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit_timeout() 115 DEFINE_WAIT_BIT(wq_entry, word, bit); in out_of_line_wait_on_bit_lock() 147 void wake_up_bit(void *word, int bit) in wake_up_bit() argument 149 __wake_up_bit(bit_waitqueue(word, bit), word, bit); in wake_up_bit() 221 if (time_after_eq(now, word->timeout)) in bit_wait_timeout() 223 schedule_timeout(word->timeout - now); in bit_wait_timeout() 235 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/ |
H A D | psci.S | 110 .word psci_cpu_off 112 .word psci_cpu_on 114 .word psci_migrate 116 .word psci_version 120 .word psci_cpu_off 122 .word psci_cpu_on 126 .word psci_migrate 132 .word psci_system_off 136 .word psci_features 151 .word 0 [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A 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 …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-bcm7038-l1.c | 80 unsigned int word) in reg_status() argument 86 unsigned int word) in reg_mask_status() argument 92 unsigned int word) in reg_mask_set() argument 98 unsigned int word) in reg_mask_clr() argument 159 reg_mask_clr(intc, word)); in __bcm7038_l1_unmask() 170 reg_mask_set(intc, word)); in __bcm7038_l1_mask() 298 int boot_cpu, word; in bcm7038_l1_suspend() local 309 for (word = 0; word < intc->n_words; word++) { in bcm7038_l1_suspend() 310 val = intc->wake_mask[word] | intc->irq_fwd_mask[word]; in bcm7038_l1_suspend() 324 int boot_cpu, word; in bcm7038_l1_resume() local [all …]
|
/openbmc/u-boot/board/espt/ |
H A D | lowlevel_init.S | 197 PBCR_D: .word 0x555A 200 PCCR_D: .word 0x5555 203 PDCR_D: .word 0x0155 204 PECR_D: .word 0x0000 205 PFCR_D: .word 0x0000 206 PGCR_D: .word 0x0000 207 PHCR_D: .word 0x0000 208 PICR_D: .word 0x0800 210 PJCR_D: .word 0x5A57 213 PKCR_D: .word 0xFFF9 [all …]
|
/openbmc/u-boot/cmd/ |
H A D | fuse.c | 47 u32 bank, word, cnt, val; in do_fuse() local 54 strtou32(argv[1], 0, &word)) in do_fuse() 64 for (i = 0; i < cnt; i++, word++) { in do_fuse() 66 printf("\nWord 0x%.8x:", word); in do_fuse() 68 ret = fuse_read(bank, word, &val); in do_fuse() 82 for (i = 0; i < cnt; i++, word++) { in do_fuse() 84 printf("\nWord 0x%.8x:", word); in do_fuse() 86 ret = fuse_sense(bank, word, &val); in do_fuse() 102 bank, word, val); in do_fuse() 105 ret = fuse_prog(bank, word, val); in do_fuse() [all …]
|
/openbmc/u-boot/arch/arm/mach-rmobile/include/mach/ |
H A D | boot0.h | 13 .word 0x0badc0d3; 14 .word 0x0badc0d3; 15 .word 0x0badc0d3; 16 .word 0x0badc0d3; 17 .word 0x0badc0d3; 18 .word 0x0badc0d3; 19 .word 0x0badc0d3; 20 .word 0x0badc0d3;
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/ |
H A D | spr_lowlevel_init.S | 136 .word 0xfca00000 138 .word 0xfca8000C 140 .word 0xfca80008 142 .word 0xfca80018 144 .word 0xfca80014 146 .word 0xff000000 148 .word 0x1C0A 150 .word 0x1C0E 152 .word 0x1C06 155 .word 0x9999 [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | cpm2_pic.c | 79 int bit, word; in cpm2_mask_irq() local 83 word = irq_to_siureg[irq_nr]; in cpm2_mask_irq() 86 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_mask_irq() 91 int bit, word; in cpm2_unmask_irq() local 95 word = irq_to_siureg[irq_nr]; in cpm2_unmask_irq() 98 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); in cpm2_unmask_irq() 103 int bit, word; in cpm2_ack() local 107 word = irq_to_siureg[irq_nr]; in cpm2_ack() 114 int bit, word; in cpm2_end_irq() local 118 word = irq_to_siureg[irq_nr]; in cpm2_end_irq() [all …]
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | module.c | 55 uint32_t word; in apply_relocate_add() local 84 word = *loc; in apply_relocate_add() 86 (word & 0x3f); in apply_relocate_add() 102 word = *loc; in apply_relocate_add() 103 *loc = ((((word >> 22) << 16) | in apply_relocate_add() 104 ((v >> 16) & 0xffff)) << 6) | (word & 0x3f); in apply_relocate_add() 107 word = *loc; in apply_relocate_add() 109 (word & 0x3f); in apply_relocate_add() 115 word = *loc; in apply_relocate_add() 117 *loc = ((((word >> 22) << 16) | word2) << 6) | in apply_relocate_add() [all …]
|
/openbmc/u-boot/board/renesas/rsk7269/ |
H A D | lowlevel_init.S | 115 WTCSR_D: .word 0xA518 116 WTCNT_D: .word 0x5A00 119 IBNR_D: .word 0x0000 122 FRQCR_D: .word 0x0015 126 PJCR3_D: .word 0x5000 129 PECR1_D: .word 0x2011 135 PFCR3_D: .word 0x0010 136 PFCR2_D: .word 0x0101 137 PBCR5_D: .word 0x0111 147 PCCR2_D: .word 0x0001 [all …]
|
/openbmc/linux/drivers/xen/events/ |
H A D | events_fifo.c | 197 sync_clear_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_clear_pending() 203 sync_set_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_set_pending() 209 return sync_test_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); in evtchn_fifo_is_pending() 215 sync_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_mask() 221 return sync_test_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); in evtchn_fifo_is_masked() 231 w = *word; in clear_masked_cond() 242 w = sync_cmpxchg(word, old, new); in clear_masked_cond() 254 if (!clear_masked_cond(word)) { in evtchn_fifo_unmask() 264 w = *word; in clear_linked() 282 event_word_t *word; in consume_one_event() local [all …]
|
/openbmc/linux/arch/microblaze/lib/ |
H A D | uaccess_old.S | 34 .word 1b, 33f; \ 35 .word 2b, 33f; \ 36 .word 3b, 33f; \ 37 .word 4b, 33f; \ 38 .word 5b, 33f; \ 39 .word 6b, 33f; \ 40 .word 7b, 33f; \ 96 .word w1, 0f; 97 .word w2, 0f; 174 .word bu1, 0b; [all …]
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | start16.S | 60 .word 0x10 /* segment */ 63 .word 0 /* limit */ 72 .word 0x1f /* limit (31 bytes = 4 GDT entries - 1) */ 89 .word 0x0000 /* limit_low */ 90 .word 0x0000 /* base_low */ 97 .word 0x0000 /* limit_low */ 98 .word 0x0000 /* base_low */ 111 .word 0xffff /* limit_low */ 112 .word 0x0000 /* base_low */ 125 .word 0xffff /* limit_low */ [all …]
|