/openbmc/linux/arch/arm64/kvm/ |
H A D | mmio.c | 19 u32 word; in kvm_mmio_write_buf() member 33 tmp.word = data; in kvm_mmio_write_buf() 34 datap = &tmp.word; in kvm_mmio_write_buf() 50 u32 word; in kvm_mmio_read_buf() member 63 memcpy(&tmp.word, buf, len); in kvm_mmio_read_buf() 64 data = tmp.word; in kvm_mmio_read_buf()
|
/openbmc/u-boot/fs/reiserfs/ |
H A D | reiserfs_private.h | 482 log2 (unsigned long word) in log2() argument 486 : "=r" (word) in log2() 487 : "r" (word)); in log2() 488 return word; in log2() 492 for(i=0; i<(8*sizeof(word)); i++) in log2() 493 if ((1<<i) & word) in log2() 501 is_power_of_two (unsigned long word) in is_power_of_two() argument 503 return (word & -word) == word; in is_power_of_two()
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | warmboot.h | 66 u32 word; member 83 u32 word; member 101 u32 word; member 117 u32 word; member
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | traps.c | 58 static void print_data(unsigned long base_addr, unsigned long word, int i) in print_data() argument 61 printk("(%08lx:)\t%08lx", base_addr + (i * 4), word); in print_data() 63 printk(" %08lx:\t%08lx", base_addr + (i * 4), word); in print_data() 125 unsigned long word; in show_registers() local 127 if (__get_user(word, &((unsigned long *)esp)[i])) { in show_registers() 133 print_data(esp, word, i); in show_registers() 141 unsigned long word; in show_registers() local 143 if (__get_user(word, &((unsigned long *)regs->pc)[i])) { in show_registers() 149 print_data(regs->pc, word, i); in show_registers()
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | arxescsi.c | 129 unsigned int word; in arxescsi_dma_pseudo() local 148 word = *addr | *(addr + 1) << 8; in arxescsi_dma_pseudo() 150 writew(word, base + DMADATA_OFFSET); in arxescsi_dma_pseudo() 179 unsigned long word; in arxescsi_dma_pseudo() local 187 word = readw(base + DMADATA_OFFSET); in arxescsi_dma_pseudo() 188 *addr++ = word; in arxescsi_dma_pseudo() 190 *addr++ = word >> 8; in arxescsi_dma_pseudo()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | alternative.c | 41 printk(KERN_CONT "<%08x> ", _buf[_j].word); \ 42 printk(KERN_CONT "<%08x>\n", _buf[_j].word); \ 50 insn->word = INSN_NOP; in add_nops() 132 buf[i].word = src[i].word; in copy_alt_insns() 166 insn[i].word = buf[i].word; in text_poke_early()
|
H A D | inst.c | 238 return insn.word; in larch_insn_gen_b() 253 return insn.word; in larch_insn_gen_bl() 267 return insn.word; in larch_insn_gen_break() 276 return insn.word; in larch_insn_gen_or() 295 return insn.word; in larch_insn_gen_lu12iw() 309 return insn.word; in larch_insn_gen_lu32id() 323 return insn.word; in larch_insn_gen_lu52id() 337 return insn.word; in larch_insn_gen_jirl()
|
/openbmc/u-boot/board/renesas/ap325rxa/ |
H A D | lowlevel_init.S | 107 DRVCRA_D: .word 0x4555 108 DRVCRB_D: .word 0x0005 113 RWTCSR_D1: .word 0xa507 114 RWTCSR_D2: .word 0xa504 115 RWTCNT_D: .word 0x5a00
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 1044 u32 word = be32_to_cpu( in t4vf_get_rss_glb_config() local 1095 u32 word; in t4vf_get_vfres() local 1113 word = be32_to_cpu(rpl.niqflint_niq); in t4vf_get_vfres() 1115 vfres->niq = FW_PFVF_CMD_NIQ_G(word); in t4vf_get_vfres() 1117 word = be32_to_cpu(rpl.type_to_neq); in t4vf_get_vfres() 1118 vfres->neq = FW_PFVF_CMD_NEQ_G(word); in t4vf_get_vfres() 1121 word = be32_to_cpu(rpl.tc_to_nexactf); in t4vf_get_vfres() 1122 vfres->tc = FW_PFVF_CMD_TC_G(word); in t4vf_get_vfres() 1123 vfres->nvi = FW_PFVF_CMD_NVI_G(word); in t4vf_get_vfres() 1207 u32 word = 0; in t4vf_write_rss_vi_config() local [all …]
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800usb.c | 406 u32 word; in rt2800usb_write_tx_desc() local 411 word = rt2x00_desc_read(txi, 0); in rt2800usb_write_tx_desc() 420 rt2x00_set_field32(&word, TXINFO_W0_WIV, in rt2800usb_write_tx_desc() 422 rt2x00_set_field32(&word, TXINFO_W0_QSEL, 2); in rt2800usb_write_tx_desc() 427 rt2x00_desc_write(txi, 0, word); in rt2800usb_write_tx_desc() 487 u32 word; in rt2800usb_fill_rxdone() local 501 word = rt2x00_desc_read(rxi, 0); in rt2800usb_fill_rxdone() 525 word = rt2x00_desc_read(rxd, 0); in rt2800usb_fill_rxdone() 527 if (rt2x00_get_field32(word, RXD_W0_CRC_ERROR)) in rt2800usb_fill_rxdone() 562 if (rt2x00_get_field32(word, RXD_W0_MY_BSS)) in rt2800usb_fill_rxdone() [all …]
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 472 word length; in smc_wait_to_send_packet() 474 word time_out; in smc_wait_to_send_packet() 537 word status; in smc_wait_to_send_packet() 583 word length; in smc_hardware_send_packet() 925 word address; in smc_probe() 1081 word address; in smc_open() 1130 word status; in smc_rcv() 1131 word packet_length; in smc_rcv() 1253 word tx_status; in smc_tx() 1318 word card_stats; in smc_interrupt() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-clone-metadata.c | 661 unsigned long word) in __update_metadata_word() argument 740 unsigned long word; in __flush_dmap() local 742 word = 0; in __flush_dmap() 744 word = find_next_bit(dmap->dirty_words, cmd->nr_words, word); in __flush_dmap() 746 if (word == cmd->nr_words) in __flush_dmap() 755 word++; in __flush_dmap() 756 } while (word < cmd->nr_words); in __flush_dmap() 840 unsigned long word, flags; in dm_clone_set_region_hydrated() local 848 word = region_nr / BITS_PER_LONG; in dm_clone_set_region_hydrated() 859 __set_bit(word, dmap->dirty_words); in dm_clone_set_region_hydrated() [all …]
|
/openbmc/u-boot/arch/arc/lib/ |
H A D | cache.c | 187 mmu4.word = read_aux_reg(ARC_AUX_MMU_BCR); in pae_exists() 200 ibcr.word = read_aux_reg(ARC_BCR_IC_BUILD); in icache_exists() 216 dbcr.word = read_aux_reg(ARC_BCR_DC_BUILD); in dcache_exists() 233 sbcr.word = read_aux_reg(ARC_BCR_SLC); in slc_exists() 254 cbcr.word = read_aux_reg(ARC_BCR_CLUSTER); in ioc_exists() 416 slc_cfg.word = read_aux_reg(ARC_AUX_SLC_CONFIG); in read_decode_cache_bcr_arcv2() 442 ibcr.word = read_aux_reg(ARC_BCR_IC_BUILD); in read_decode_cache_bcr() 449 dbcr.word = read_aux_reg(ARC_BCR_DC_BUILD); in read_decode_cache_bcr()
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | bitops.h | 263 static inline unsigned long __ffs(unsigned long word) in __ffs() argument 269 : "r" (word)); in __ffs() 281 static inline unsigned long __fls(unsigned long word) in __fls() argument 288 : "r" (word)); in __fls()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-dac124s085.c | 38 u16 word; in dac124s085_set_brightness() local 42 word = cpu_to_le16(((led->id) << 14) | REG_WRITE_UPDATE | in dac124s085_set_brightness() 44 ret = spi_write(led->spi, (const u8 *)&word, sizeof(word)); in dac124s085_set_brightness()
|
/openbmc/qemu/tests/tcg/tricore/c/ |
H A D | crt0-tc2x.S | 39 .word 0x00000000 40 .word 0xb3590070 41 .word 0x00000000 42 .word 0x00000000 43 .word 0x00000000 44 .word 0x00000000 45 .word 0x791eb864 46 .word 0x86e1479b 233 st.w [%a15+]4,%d15 # clear one word 267 jz %d0,__copy_word # block size < 8 => copy word [all …]
|
/openbmc/linux/arch/arm/include/debug/ |
H A D | tegra.S | 151 99: .word . 153 .word . + 4 172 .word 1 174 .word 0 176 .word 0 178 .word tegra_uart_config
|
/openbmc/linux/arch/x86/purgatory/ |
H A D | entry64.S | 90 .word gdt_end - gdt - 1 92 .word 0, 0, 0 95 .word 0xFFFF, 0x0000, 0x9A00, 0x00AF 98 .word 0xFFFF, 0x0000, 0x9200, 0x00CF
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | strnlen_user.S | 72 EX(10f) l32i a9, a4, 4 # get next word of string 86 # check two more bytes (bytes 0, 1 of word) 92 # check one more byte (byte 2 of word) 123 bbci.l a4, 1, .Laligned # if string pointer is now word-aligned 127 EX(10f) l32i a9, a4, 0 # get word with first two bytes of string 128 bnone a9, a7, .Lz2 # if byte 2 (of word, not string) is zero 129 bany a9, a8, .Laligned # if byte 3 (of word, not string) is nonzero
|
/openbmc/linux/include/linux/ |
H A D | sbitmap.h | 33 unsigned long word; member 266 unsigned long word; in __sbitmap_for_each_set() local 272 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set() 273 if (!word) in __sbitmap_for_each_set() 283 nr = find_next_bit(&word, depth, nr); in __sbitmap_for_each_set() 313 return &sb->map[SB_NR_TO_INDEX(sb, bitnr)].word; in __sbitmap_word()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | ichxrom.c | 60 u16 word; in ichxrom_cleanup() local 64 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup() 66 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup() 98 u16 word; in ichxrom_init_one() local 161 pci_read_config_word(pdev, BIOS_CNTL, &word); in ichxrom_init_one() 162 if (!(word & 1) && (word & (1<<1))) { in ichxrom_init_one() 169 pci_write_config_word(pdev, BIOS_CNTL, word | 1); in ichxrom_init_one()
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | adm1275.c | 206 struct i2c_client *client, u16 word) in adm1275_write_pmon_config() argument 216 word); in adm1275_write_pmon_config() 219 word); in adm1275_write_pmon_config() 235 bool is_power, u16 word) in adm1275_write_samples() argument 252 word = (ret & ~mask) | ((word << shift) & mask); in adm1275_write_samples() 254 return adm1275_write_pmon_config(data, client, word); in adm1275_write_samples() 369 u16 word) in adm1275_write_word_data() argument 382 word); in adm1275_write_word_data() 408 word = clamp_val(word, 1, ADM1275_SAMPLES_AVG_MAX); in adm1275_write_word_data() 409 ret = adm1275_write_samples(data, client, true, ilog2(word)); in adm1275_write_word_data() [all …]
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 129 const __le32 *word = data; in ipa_status_extract() local 133 return le32_get_bits(word[0], GENMASK(7, 0)); in ipa_status_extract() 135 return le32_get_bits(word[0], GENMASK(15, 8)); in ipa_status_extract() 152 return le32_to_cpu(word[2]); in ipa_status_extract() 154 return le32_get_bits(word[3], GENMASK(0, 0)); in ipa_status_extract() 156 return le32_get_bits(word[3], GENMASK(1, 1)); in ipa_status_extract() 158 return le32_get_bits(word[3], GENMASK(2, 2)); in ipa_status_extract() 160 return le32_get_bits(word[3], GENMASK(3, 3)); in ipa_status_extract() 183 return le32_get_bits(word[4], GENMASK(0, 0)); in ipa_status_extract() 194 return le32_get_bits(word[6], GENMASK(7, 0)); in ipa_status_extract() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/readline/files/ |
H A D | inputrc | 43 # # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving 44 # "\e[5C": forward-word 45 # "\e[5D": backward-word 46 # "\e\e[C": forward-word 47 # "\e\e[D": backward-word
|
/openbmc/u-boot/drivers/fpga/ |
H A D | zynqpl.c | 70 u32 word = 0; in load_word() local 76 word <<= 8; in load_word() 77 word |= bitc[p]; in load_word() 81 word <<= 8; in load_word() 82 word |= bitc[p]; in load_word() 86 return word; in load_word() 129 u32 word, p = 0; /* possition */ in check_data() local 133 word = load_word(&buf[p], SWAP_NO); in check_data() 134 debug("%s: word %x %x/%x\n", __func__, word, p, (u32)&buf[p]); in check_data() 137 if (word == DUMMY_WORD) { in check_data()
|