Home
last modified time | relevance | path

Searched refs:word (Results 76 – 100 of 1248) sorted by relevance

12345678910>>...50

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt73usb.c53 const unsigned int word, const u8 value) in rt73usb_bbp_write() argument
66 rt2x00_set_field32(&reg, PHY_CSR3_REGNUM, word); in rt73usb_bbp_write()
77 const unsigned int word) in rt73usb_bbp_read() argument
94 rt2x00_set_field32(&reg, PHY_CSR3_REGNUM, word); in rt73usb_bbp_read()
111 const unsigned int word, const u32 value) in rt73usb_rf_write() argument
135 rt2x00_rf_write(rt2x00dev, word, value); in rt73usb_rf_write()
654 u8 word; member
708 rt73usb_bbp_write(rt2x00dev, sel[i].word, sel[i].value[lna]); in rt73usb_config_ant()
1449 u32 word; in rt73usb_write_tx_desc() local
1454 word = rt2x00_desc_read(txd, 0); in rt73usb_write_tx_desc()
[all …]
H A Drt2500pci.c46 const unsigned int word, const u8 value) in rt2500pci_bbp_write() argument
59 rt2x00_set_field32(&reg, BBPCSR_REGNUM, word); in rt2500pci_bbp_write()
70 const unsigned int word) in rt2500pci_bbp_read() argument
87 rt2x00_set_field32(&reg, BBPCSR_REGNUM, word); in rt2500pci_bbp_read()
104 const unsigned int word, const u32 value) in rt2500pci_rf_write() argument
122 rt2x00_rf_write(rt2x00dev, word, value); in rt2500pci_rf_write()
806 u32 word; in rt2500pci_get_entry_state() local
809 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
811 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt2500pci_get_entry_state()
813 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2500pci_get_entry_state()
[all …]
H A Drt2400pci.c46 const unsigned int word, const u8 value) in rt2400pci_bbp_write() argument
59 rt2x00_set_field32(&reg, BBPCSR_REGNUM, word); in rt2400pci_bbp_write()
70 const unsigned int word) in rt2400pci_bbp_read() argument
87 rt2x00_set_field32(&reg, BBPCSR_REGNUM, word); in rt2400pci_bbp_read()
104 const unsigned int word, const u32 value) in rt2400pci_rf_write() argument
122 rt2x00_rf_write(rt2x00dev, word, value); in rt2400pci_rf_write()
717 u32 word; in rt2400pci_get_entry_state() local
720 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_get_entry_state()
722 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); in rt2400pci_get_entry_state()
724 word = rt2x00_desc_read(entry_priv->desc, 0); in rt2400pci_get_entry_state()
[all …]
/openbmc/linux/arch/arm/mm/
H A Dproc-macros.S62 .word \clear
63 .word \mmuset
65 .word \clear
66 .word \ucset
84 mov \reg, #4 @ bytes per word
101 mov \reg, #4 @ bytes per word
286 .word \dabort
287 .word \pabort
288 .word cpu_\name\()_proc_init
289 .word \bugs
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_support.c343 int kdb_getphysword(unsigned long *word, unsigned long addr, size_t size) in kdb_getphysword() argument
350 *word = 0; /* Default value if addr or size is invalid */ in kdb_getphysword()
356 *word = w1; in kdb_getphysword()
361 *word = w2; in kdb_getphysword()
366 *word = w4; in kdb_getphysword()
369 if (size <= sizeof(*word)) { in kdb_getphysword()
372 *word = w8; in kdb_getphysword()
393 int kdb_getword(unsigned long *word, unsigned long addr, size_t size) in kdb_getword() argument
400 *word = 0; /* Default value if addr or size is invalid */ in kdb_getword()
405 *word = w1; in kdb_getword()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-bitbang.c43 u32 word, u8 bits, unsigned flags);
48 u32 word, u8 bits,
58 u32 word, u8 bits, in bitbang_txrx_8() argument
71 u8 word = 0; in bitbang_txrx_8() local
74 word = *tx++; in bitbang_txrx_8()
75 word = txrx_word(spi, ns, word, bits, flags); in bitbang_txrx_8()
77 *rx++ = word; in bitbang_txrx_8()
87 u32 word, u8 bits, in bitbang_txrx_16() argument
100 u16 word = 0; in bitbang_txrx_16() local
103 word = *tx++; in bitbang_txrx_16()
[all …]
H A Dspi-lp8841-rtc.c68 u32 word, u8 bits) in bitbang_txrx_be_cpha0_lsb() argument
78 setmosi(data, (word & 1)); in bitbang_txrx_be_cpha0_lsb()
83 word >>= 1; in bitbang_txrx_be_cpha0_lsb()
85 word |= (getmiso(data) << 31); in bitbang_txrx_be_cpha0_lsb()
93 word >>= shift; in bitbang_txrx_be_cpha0_lsb()
94 return word; in bitbang_txrx_be_cpha0_lsb()
106 u8 word = 0; in spi_lp8841_rtc_transfer_one() local
113 word = *tx++; in spi_lp8841_rtc_transfer_one()
115 SPI_CONTROLLER_NO_RX, word, 8); in spi_lp8841_rtc_transfer_one()
122 word = bitbang_txrx_be_cpha0_lsb(data, 1, 0, in spi_lp8841_rtc_transfer_one()
[all …]
/openbmc/u-boot/doc/imx/habv4/guides/
H A Dmx6_mx7_secure_boot.txt171 The table below lists the SRK_HASH bank and word according to the i.MX device:
176 | SRK_HASH[31:00] | bank 3 word 0 | bank 6 word 0 | bank 5 word 0 |
178 | SRK_HASH[63:32] | bank 3 word 1 | bank 6 word 1 | bank 5 word 1 |
180 | SRK_HASH[95:64] | bank 3 word 2 | bank 6 word 2 | bank 5 word 2 |
182 | SRK_HASH[127:96] | bank 3 word 3 | bank 6 word 3 | bank 5 word 3 |
184 | SRK_HASH[159:128] | bank 3 word 4 | bank 7 word 0 | bank 5 word 4 |
186 | SRK_HASH[191:160] | bank 3 word 5 | bank 7 word 1 | bank 5 word 5 |
188 | SRK_HASH[223:192] | bank 3 word 6 | bank 7 word 2 | bank 5 word 6 |
190 | SRK_HASH[255:224] | bank 3 word 7 | bank 7 word 3 | bank 5 word 7 |
230 The table below list the SEC_CONFIG[1] bank and word according to the i.MX
[all …]
/openbmc/linux/arch/powerpc/lib/
H A Dsstep.c1361 unsigned int word, suffix; in analyse_instr() local
1364 word = ppc_inst_val(instr); in analyse_instr()
1373 imm = (signed short)(word & 0xfffc); in analyse_instr()
1374 if ((word & 2) == 0) in analyse_instr()
1377 if (word & 1) in analyse_instr()
1379 if (branch_taken(word, regs, op)) in analyse_instr()
1383 if ((word & 0xfe2) == 2) in analyse_instr()
1386 (word & 0xfe3) == 1) { /* scv */ in analyse_instr()
1395 imm = word & 0x03fffffc; in analyse_instr()
1398 if ((word & 2) == 0) in analyse_instr()
[all …]
/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_dec_parse.c27 static int read_word_be(struct mtk_jpeg_stream *stream, u32 *word) in read_word_be() argument
39 *word = (u32)byte | temp; in read_word_be()
64 u32 word; in mtk_jpeg_do_parse() local
83 if (read_word_be(&stream, &word)) in mtk_jpeg_do_parse()
90 if (read_word_be(&stream, &word)) in mtk_jpeg_do_parse()
92 param->pic_h = word; in mtk_jpeg_do_parse()
94 if (read_word_be(&stream, &word)) in mtk_jpeg_do_parse()
96 param->pic_w = word; in mtk_jpeg_do_parse()
127 if (read_word_be(&stream, &word)) in mtk_jpeg_do_parse()
129 length = (long)word - 2; in mtk_jpeg_do_parse()
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dpsci.S50 .word ARM_PSCI_0_2_FN_PSCI_VERSION
51 .word PSCI_FN_PSCI_VERSION_FEATURE_MASK
52 .word ARM_PSCI_0_2_FN_CPU_SUSPEND
53 .word PSCI_FN_CPU_SUSPEND_FEATURE_MASK
54 .word ARM_PSCI_0_2_FN_CPU_OFF
55 .word PSCI_FN_CPU_OFF_FEATURE_MASK
56 .word ARM_PSCI_0_2_FN_CPU_ON
57 .word PSCI_FN_CPU_ON_FEATURE_MASK
58 .word ARM_PSCI_0_2_FN_AFFINITY_INFO
59 .word PSCI_FN_AFFINITY_INFO_FEATURE_MASK
[all …]
/openbmc/linux/arch/x86/boot/
H A Dheader.S46 .word MZ_MAGIC
60 .word IMAGE_FILE_MACHINE_I386
64 .word IMAGE_FILE_MACHINE_AMD64
66 .word section_count # nr_sections
70 .word section_table - optional_header # SizeOfOptionalHeader
71 .word IMAGE_FILE_EXECUTABLE_IMAGE | \
77 .word pe_opt_magic
101 .word 0 # MajorOperatingSystemVersion
102 .word 0 # MinorOperatingSystemVersion
103 .word LINUX_EFISTUB_MAJOR_VERSION # MajorImageVersion
[all …]
/openbmc/u-boot/drivers/net/
H A Dlan91c96.h39 typedef unsigned short word; typedef
65 #define SMC_inw(edev, r) (*((volatile word *)SMCREG(edev, r)))
74 #define SMC_outw(edev, d, r) (*((volatile word *)SMCREG(edev, r)) = d)
75 #define SMC_outb(edev, d, r) ({ word __d = (byte)(d); \
76 word __w = SMC_inw(edev, (r)&~1); \
92 word *__b2; \
93 __b2 = (word *) b; \
111 word *__b2; \
112 __b2 = (word *) b; \
136 #define SMC_inw(edev, r) (*((volatile word *)((edev)->iobase+(r))))
[all …]
H A Dsmc91111.c169 static inline word SMC_inw(struct eth_device *dev, dword offset) in SMC_inw()
171 word v; in SMC_inw()
172 v = *((volatile word*)(dev->iobase + offset)); in SMC_inw()
177 static inline void SMC_outw(struct eth_device *dev, word value, dword offset) in SMC_outw()
179 *((volatile word*)(dev->iobase + offset)) = value; in SMC_outw()
185 word _w; in SMC_inb()
193 word _w; in SMC_outb()
197 *((volatile word*)(dev->iobase + (offset & ~((dword)1)))) = in SMC_outb()
200 *((volatile word*)(dev->iobase + offset)) = in SMC_outb()
207 volatile word *p = (volatile word *)buf; in SMC_insw()
[all …]
/openbmc/u-boot/arch/x86/cpu/
H A Dstart.S203 .word 0 /* limit */
234 .word 0x1f /* limit (31 bytes = 4 GDT entries - 1) */
251 .word 0x0000 /* limit_low */
252 .word 0x0000 /* base_low */
259 .word 0x0000 /* limit_low */
260 .word 0x0000 /* base_low */
273 .word 0xffff /* limit_low */
274 .word 0x0000 /* base_low */
287 .word 0xffff /* limit_low */
288 .word 0x0000 /* base_low */
/openbmc/linux/arch/alpha/include/asm/
H A Dbitops.h311 static inline unsigned long ffz(unsigned long word) in ffz() argument
315 return __kernel_cttz(~word); in ffz()
319 bits = __kernel_cmpbge(word, ~0UL); in ffz()
321 bits = __kernel_extbl(word, qofs); in ffz()
331 static inline unsigned long __ffs(unsigned long word) in __ffs() argument
335 return __kernel_cttz(word); in __ffs()
339 bits = __kernel_cmpbge(0, word); in __ffs()
341 bits = __kernel_extbl(word, qofs); in __ffs()
356 static inline int ffs(int word) in ffs() argument
358 int result = __ffs(word) + 1; in ffs()
[all …]
/openbmc/linux/arch/arm/boot/compressed/
H A Dhead-sharpsl.S97 .word 0x69052d00 @ PXA255 Processor ID
99 .word 0x69054100 @ PXA270 Processor ID
101 .word 0x57411002 @ w100 Chip ID
103 .word 0x08010000 @ w100 Chip ID Reg Address
105 .word 0x08800040
107 .word MACH_TYPE_POODLE
109 .word MACH_TYPE_CORGI
111 .word MACH_TYPE_SHEPHERD
113 .word MACH_TYPE_HUSKY
115 .word MACH_TYPE_TOSA
[all …]
/openbmc/u-boot/board/ms7722se/
H A Dlowlevel_init.S151 PSELA_D: .word 0x0A10
155 DRVCR_D: .word 0x0554
159 PCCR_D: .word 0x8800
163 PECR_D: .word 0x0000
167 PJCR_D: .word 0x1000
171 PXCR_D: .word 0x0AAA
217 SBSCR_D: .word 0x0040
218 PSCR_D: .word 0x0000
219 RWTCSR_D_1: .word 0xA507
220 RWTCSR_D_2: .word 0xA507
[all …]
/openbmc/linux/arch/arm/mach-omap2/
H A Dsleep43xx.S339 .word . - am43xx_do_wfi
440 .word v7_flush_dcache_all
442 .word PAGE_OFFSET
445 .word (AM43XX_CM_BASE + AM43XX_PRM_DEVICE_INST + \
448 .word (AM43XX_CM_MPU_CLKSTCTRL)
450 .word (AM43XX_CM_MPU_MPU_CLKCTRL)
452 .word (AM43XX_CM_PER_EMIF_CLKCTRL)
454 .word (AM43XX_CM_BASE + AM43XX_CM_PER_INST + \
460 .word omap4_get_l2cache_base
462 .word OMAP44XX_L2CACHE_BASE
[all …]
/openbmc/linux/arch/alpha/lib/
H A Dstxncpy.S56 mskqh t2, a1, t2 # e0 : detection in the src word
59 mskql t0, a1, t0 # e0 : assemble the first output word
135 ldq_u t1, 0(a1) # e0 : load first src word
138 beq t0, stxncpy_aligned # avoid loading dest word if not needed
158 ldq_u t2, 8(a1) # e0 : load second src word
162 or t1, t4, t1 # e1 : first aligned src word complete
164 or t0, t1, t0 # e0 : first output word complete
173 stq_u t0, 0(a0) # e0 : store first output word
183 extql t2, a1, t1 # e0 : position hi-bits of lo word
185 ldq_u t2, 8(a1) # e0 : read next high-order source word
[all …]
/openbmc/linux/arch/sh/include/asm/
H A Dbitops.h27 static inline unsigned long ffz(unsigned long word) in ffz() argument
35 : "=r" (result), "=r" (word) in ffz()
36 : "0" (~0L), "1" (word) in ffz()
47 static inline unsigned long __ffs(unsigned long word) in __ffs() argument
55 : "=r" (result), "=r" (word) in __ffs()
56 : "0" (~0L), "1" (word) in __ffs()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dmp2888.c263 static int mp2888_write_word_data(struct i2c_client *client, int page, int reg, u16 word) in mp2888_write_word_data() argument
270 word = DIV_ROUND_CLOSEST(word, MP2888_TEMP_UNIT); in mp2888_write_word_data()
272 word = clamp_val(word, 0, GENMASK(7, 0)); in mp2888_write_word_data()
276 word = data->total_curr_resolution ? DIV_ROUND_CLOSEST(word, 8) : in mp2888_write_word_data()
277 DIV_ROUND_CLOSEST(word, 4); in mp2888_write_word_data()
279 word = clamp_val(word, 0, GENMASK(9, 0)); in mp2888_write_word_data()
283 word = data->total_curr_resolution ? DIV_ROUND_CLOSEST(word, 4) : in mp2888_write_word_data()
284 DIV_ROUND_CLOSEST(word, 2); in mp2888_write_word_data()
286 word = clamp_val(word, 0, GENMASK(9, 0)); in mp2888_write_word_data()
291 return pmbus_write_word_data(client, page, reg, word); in mp2888_write_word_data()
/openbmc/u-boot/drivers/misc/
H A Dstm32mp_fuse.c18 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read() argument
30 ret = misc_read(dev, word * 4 + STM32_BSEC_SHADOW_OFFSET, in fuse_read()
46 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog() argument
58 ret = misc_write(dev, word * 4 + STM32_BSEC_OTP_OFFSET, in fuse_prog()
74 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense() argument
86 ret = misc_read(dev, word * 4 + STM32_BSEC_OTP_OFFSET, val, 4); in fuse_sense()
101 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override() argument
113 ret = misc_write(dev, word * 4 + STM32_BSEC_SHADOW_OFFSET, in fuse_override()
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Dwarmboot.c51 u32 word; member
69 u32 word; member
82 u32 word; member
98 u32 word; member
108 u32 word; member
118 u32 word; member
145 xm2cfga.word = readl(&gp->xm2cfga); in warmboot_save_sdram_params()
146 xm2cfgd.word = readl(&gp->xm2cfgd); in warmboot_save_sdram_params()
148 scratch2.word = 0; in warmboot_save_sdram_params()
168 writel(scratch2.word, &pmc->pmc_scratch2); in warmboot_save_sdram_params()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-bcm6345-l1.c91 unsigned int word) in reg_enable() argument
94 return (1 * intc->n_words - word - 1) * sizeof(u32); in reg_enable()
96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable()
101 unsigned int word) in reg_status() argument
104 return (2 * intc->n_words - word - 1) * sizeof(u32); in reg_status()
106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status()
145 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm6345_l1_unmask() local
149 intc->cpus[cpu_idx]->enable_cache[word] |= mask; in __bcm6345_l1_unmask()
150 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_unmask()
151 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_unmask()
[all …]

12345678910>>...50