Home
last modified time | relevance | path

Searched refs:word (Results 176 – 200 of 1248) sorted by relevance

12345678910>>...50

/openbmc/linux/arch/openrisc/kernel/
H A Dtraps.c58 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/arch/arm64/kvm/
H A Dmmio.c19 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/linux/drivers/nvmem/
H A Dsunxi_sid.c43 u32 word; in sunxi_sid_read() local
56 word = readl_relaxed(sid->base + sid->value_offset + offset); in sunxi_sid_read()
57 memcpy(val, &word, bytes); in sunxi_sid_read()
97 u32 word; in sun8i_sid_read_by_reg() local
115 ret = sun8i_sid_register_readout(sid, offset, &word); in sun8i_sid_read_by_reg()
119 memcpy(val, &word, bytes); in sun8i_sid_read_by_reg()
/openbmc/openbmc/meta-phosphor/recipes-devtools/i2c-tools/i2c-tools/
H A D0001-4-byte-read-support-466.patch34 " W (word on even register addresses)\n"
37 + " d (double word)\n"
55 + size == I2C_SMBUS_DWORD ? "double word" :
56 size == I2C_SMBUS_BYTE_DATA ? "byte" : "word");
63 + /* handle mode 'd' (double word read) */
79 + "double word. %s\n", strerror(errno));
/openbmc/linux/arch/arm/lib/
H A Dbitops.h10 strbne r1, [ip] @ assert word-aligned
14 add r1, r1, r0, lsl #2 @ Get word offset
35 strbne r1, [ip] @ assert word-aligned
39 add r1, r1, r0, lsl #2 @ Get word offset
73 strbne r1, [ip] @ assert word-aligned
100 strbne r1, [ip] @ assert word-aligned
/openbmc/linux/arch/loongarch/kernel/
H A Dalternative.c41 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 Dinst.c238 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/linux/drivers/scsi/arm/
H A Darxescsi.c129 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/arm/include/debug/
H A Domap2plus.S22 omap_uart_phys: .word 0
23 omap_uart_virt: .word 0
24 omap_uart_lsr: .word 0
53 99: .word .
54 .word omap_uart_phys
H A Dtegra.S151 99: .word .
153 .word . + 4
172 .word 1
174 .word 0
176 .word 0
178 .word tegra_uart_config
/openbmc/linux/arch/sparc/lib/
H A Dhweight.S14 .word __arch_hweight8
27 .word __arch_hweight16
40 .word __arch_hweight32
53 .word __arch_hweight64
/openbmc/u-boot/arch/arc/lib/
H A Dcache.c187 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/u-boot/arch/arm/cpu/sa1100/
H A Dstart.S68 IC_BASE: .word 0x90050000
73 RST_BASE: .word 0x90030000
79 PWR_BASE: .word 0x90020000
82 cpuspeed: .word CONFIG_SYS_CPUSPEED
/openbmc/u-boot/board/renesas/ap325rxa/
H A Dlowlevel_init.S107 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/qemu/tests/tcg/tricore/c/
H A Dcrt0-tc2x.S39 .word 0x00000000
40 .word 0xb3590070
41 .word 0x00000000
42 .word 0x00000000
43 .word 0x00000000
44 .word 0x00000000
45 .word 0x791eb864
46 .word 0x86e1479b
222 jz %d0,__clear_word # block size < 8 => clear word
233 st.w [%a15+]4,%d15 # clear one word
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dwarmboot.h66 u32 word; member
83 u32 word; member
101 u32 word; member
117 u32 word; member
/openbmc/linux/drivers/net/ipa/
H A Dipa_endpoint.c129 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()
137 return le32_get_bits(word[0], GENMASK(31, 16)); in ipa_status_extract()
139 return le32_get_bits(word[1], GENMASK(15, 0)); in ipa_status_extract()
142 return le32_get_bits(word[1], GENMASK(20, 16)); in ipa_status_extract()
143 return le32_get_bits(word[1], GENMASK(23, 16)); in ipa_status_extract()
148 return le32_get_bits(word[1], GENMASK(28, 24)); in ipa_status_extract()
149 return le32_get_bits(word[7], GENMASK(23, 16)); in ipa_status_extract()
152 return le32_to_cpu(word[2]); in ipa_status_extract()
[all …]
/openbmc/linux/drivers/hwmon/pmbus/
H A Dadm1275.c206 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/arch/hexagon/include/asm/
H A Dbitops.h263 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/u-boot/drivers/fpga/
H A Dzynqpl.c70 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()
/openbmc/linux/drivers/mtd/maps/
H A Dichxrom.c60 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/arch/xtensa/lib/
H A Dstrnlen_user.S72 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 Dsbitmap.h33 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/leds/
H A Dleds-dac124s085.c38 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/linux/arch/arm/mach-at91/
H A Dpm_suspend.S1116 .word 0
1118 .word 0
1120 .word 0
1122 .word 0
1124 .word 0
1126 .word 0
1128 .word 0
1130 .word 0
1132 .word 0
1134 .word 0
[all …]

12345678910>>...50