Home
last modified time | relevance | path

Searched refs:val32 (Results 1 – 25 of 26) sorted by relevance

12

/f-stack/freebsd/arm/ti/
H A Dti_sdhci.c176 uint32_t clkdiv, val32; in ti_sdhci_read_2() local
219 uint32_t val32; in ti_sdhci_read_4() local
221 val32 = RD4(sc, off); in ti_sdhci_read_4()
236 return (val32); in ti_sdhci_read_4()
253 uint32_t val32; in ti_sdhci_write_1() local
259 newval32 = val32; in ti_sdhci_write_1()
267 if (newval32 != val32) in ti_sdhci_write_1()
283 uint32_t clkdiv, val32; in ti_sdhci_write_2() local
299 val32 &= 0xffff0000; in ti_sdhci_write_2()
371 newval32 = val32; in ti_sdhci_update_ios()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_bitops.c9 uint32_t val32; variable
36 rte_bit_relaxed_set32(i, &val32); in test_bit_relaxed_set()
39 if (!rte_bit_relaxed_get32(i, &val32)) { in test_bit_relaxed_set()
62 rte_bit_relaxed_clear32(i, &val32); in test_bit_relaxed_clear()
65 if (rte_bit_relaxed_get32(i, &val32)) { in test_bit_relaxed_clear()
88 rte_bit_relaxed_test_and_set32(i, &val32); in test_bit_relaxed_test_set_clear()
91 if (!rte_bit_relaxed_test_and_clear32(i, &val32)) { in test_bit_relaxed_test_set_clear()
97 if (rte_bit_relaxed_get32(i, &val32)) { in test_bit_relaxed_test_set_clear()
123 val32 = 0; in test_bitops()
H A Dtest_common.c65 uint32_t val32; in test_bsf() local
79 val32 = 1U << shift; in test_bsf()
80 if ((uint32_t)rte_bsf32(val32) != shift) in test_bsf()
82 if (rte_bsf32_safe(val32, &pos) != 1) in test_bsf()
/f-stack/freebsd/mips/mips/
H A Dstdatomic.c161 reg_t val32, negmask, old; \
165 val32.v32 = 0x00000000; \
166 put_##N(&val32, mem, val); \
179 : "r" (val32.v32), "r" (negmask.v32), "m" (*mem32)); \
229 reg_t val32, posmask, old; \
233 val32.v32 = 0x00000000; \
234 put_##N(&val32, mem, val); \
266 reg_t val32, old; \
270 val32.v32 = idempotence ? 0xffffffff : 0x00000000; \
271 put_##N(&val32, mem, val); \
[all …]
/f-stack/freebsd/arm/arm/
H A Dstdatomic.c198 reg_t val32, negmask, old; \
202 val32.v32 = 0x00000000; \
203 put_##N(&val32, mem, val); \
218 : "r" (val32.v32), "r" (negmask.v32), "m" (*mem32)); \
271 reg_t val32, posmask, old; \
275 val32.v32 = 0x00000000; \
276 put_##N(&val32, mem, val); \
309 reg_t val32, old; \
313 val32.v32 = idempotence ? 0xffffffff : 0x00000000; \
314 put_##N(&val32, mem, val); \
[all …]
/f-stack/freebsd/contrib/ncsw/etc/
H A Dmemcpy.c445 uint32_t val32; in MemSet32() local
452 val32 = (uint32_t) val; in MemSet32()
453 val32 |= (val32 << 8); in MemSet32()
454 val32 |= (val32 << 16); in MemSet32()
467 *p_Dst32++ = val32; in MemSet32()
481 uint32_t val32; in IOMemSet32() local
488 val32 = (uint32_t) val; in IOMemSet32()
489 val32 |= (val32 << 8); in IOMemSet32()
490 val32 |= (val32 << 16); in IOMemSet32()
504 WRITE_UINT32(*p_Dst32, val32); in IOMemSet32()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c472 uint32_t val32; in bcm_sdhci_read_2() local
480 val32 = sc->blksz_and_count; in bcm_sdhci_read_2()
482 val32 = sc->cmd_and_mode; in bcm_sdhci_read_2()
484 val32 = RD4(sc, off & ~3); in bcm_sdhci_read_2()
514 WR4(sc, off & ~3, val32); in bcm_sdhci_write_1()
522 uint32_t val32; in bcm_sdhci_write_2() local
537 val32 = sc->cmd_and_mode; in bcm_sdhci_write_2()
539 val32 = RD4(sc, off & ~3); in bcm_sdhci_write_2()
545 sc->cmd_and_mode = val32; in bcm_sdhci_write_2()
557 sc->cmd_and_mode = val32; in bcm_sdhci_write_2()
[all …]
H A Dbcm2835_sdhost.c276 uint32_t val32; in WR2() local
278 val32 = RD4(sc, off & ~3); in WR2()
279 val32 &= ~(0xffff << (off & 3)*8); in WR2()
280 val32 |= (val << (off & 3)*8); in WR2()
281 WR4(sc, off & ~3, val32); in WR2()
287 uint32_t val32; in WR1() local
289 val32 = RD4(sc, off & ~3); in WR1()
290 val32 &= ~(0xff << (off & 3)*8); in WR1()
291 val32 |= (val << (off & 3)*8); in WR1()
292 WR4(sc, off & ~3, val32); in WR1()
/f-stack/lib/
H A Dff_compat.c162 Elf32_Addr *where32, val32; in elf_reloc_internal() local
214 val32 = (Elf32_Addr)(addr + addend - (Elf_Addr)where); in elf_reloc_internal()
217 if (*where32 != val32) in elf_reloc_internal()
218 *where32 = val32; in elf_reloc_internal()
223 val32 = (Elf32_Addr)(addr + addend); in elf_reloc_internal()
227 if (*where32 != val32) in elf_reloc_internal()
228 *where32 = val32; in elf_reloc_internal()
/f-stack/freebsd/amd64/amd64/
H A Delf_machdep.c264 Elf32_Addr *where32, val32; in elf_reloc_internal() local
326 val32 = (Elf32_Addr)(addr + addend - (Elf_Addr)where); in elf_reloc_internal()
329 if (*where32 != val32) in elf_reloc_internal()
330 *where32 = val32; in elf_reloc_internal()
335 val32 = (Elf32_Addr)(addr + addend); in elf_reloc_internal()
339 if (*where32 != val32) in elf_reloc_internal()
340 *where32 = val32; in elf_reloc_internal()
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dmem.h110 MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32);
119 MEM_STATIC void MEM_writeBE32(void* memPtr, U32 val32);
328 MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32) in MEM_writeLE32() argument
331 MEM_write32(memPtr, val32); in MEM_writeLE32()
333 MEM_write32(memPtr, MEM_swap32(val32)); in MEM_writeLE32()
378 MEM_STATIC void MEM_writeBE32(void* memPtr, U32 val32) in MEM_writeBE32() argument
381 MEM_write32(memPtr, MEM_swap32(val32)); in MEM_writeBE32()
383 MEM_write32(memPtr, val32); in MEM_writeBE32()
/f-stack/freebsd/netinet6/
H A Din6_ifattach.c160 u_int32_t val32; in generate_tmp_ifid() local
168 val32 = arc4random(); in generate_tmp_ifid()
169 bcopy(&val32, seed + sizeof(val32) * i, sizeof(val32)); in generate_tmp_ifid()
210 val32 = arc4random(); in generate_tmp_ifid()
211 val32 = 1 + (val32 % (0xffffffff - 1)); in generate_tmp_ifid()
/f-stack/dpdk/drivers/net/bnxt/hcapi/
H A Dhcapi_cfa_p4.c20 static inline uint32_t SWAP_WORDS32(uint32_t val32) in SWAP_WORDS32() argument
22 return (((val32 & 0x0000ffff) << 16) | in SWAP_WORDS32()
23 ((val32 & 0xffff0000) >> 16)); in SWAP_WORDS32()
/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_rtsym.c251 uint32_t val32, id; in nfp_rtsym_read_le() local
269 err = nfp_cpp_readl(rtbl->cpp, id, sym->addr, &val32); in nfp_rtsym_read_le()
270 val = val32; in nfp_rtsym_read_le()
/f-stack/freebsd/arm/nvidia/
H A Dtegra_sdhci.c149 uint32_t val32; in tegra_sdhci_read_4() local
152 val32 = bus_read_4(sc->mem_res, off); in tegra_sdhci_read_4()
155 val32 |= SDHCI_CARD_PRESENT; in tegra_sdhci_read_4()
156 return (val32); in tegra_sdhci_read_4()
/f-stack/freebsd/vm/
H A Dvm_meter.c330 uint32_t val32; in sysctl_handle_vmstat() local
335 if (req->oldlen == sizeof(val32)) { in sysctl_handle_vmstat()
336 val32 = val; /* truncate */ in sysctl_handle_vmstat()
337 return (SYSCTL_OUT(req, &val32, sizeof(val32))); in sysctl_handle_vmstat()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c681 uint32_t val32; in zio_crypt_encode_params_bp() local
688 bcopy(iv + sizeof (uint64_t), &val32, sizeof (uint32_t)); in zio_crypt_encode_params_bp()
689 BP_SET_IV2(bp, val32); in zio_crypt_encode_params_bp()
697 bcopy(iv + sizeof (uint64_t), &val32, sizeof (uint32_t)); in zio_crypt_encode_params_bp()
698 BP_SET_IV2(bp, BSWAP_32(val32)); in zio_crypt_encode_params_bp()
706 uint32_t val32; in zio_crypt_decode_params_bp() local
721 val32 = (uint32_t)BP_GET_IV2(bp); in zio_crypt_decode_params_bp()
722 bcopy(&val32, iv + sizeof (uint64_t), sizeof (uint32_t)); in zio_crypt_decode_params_bp()
730 val32 = BSWAP_32((uint32_t)BP_GET_IV2(bp)); in zio_crypt_decode_params_bp()
731 bcopy(&val32, iv + sizeof (uint64_t), sizeof (uint32_t)); in zio_crypt_decode_params_bp()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c747 uint32_t val32; in zio_crypt_encode_params_bp() local
754 bcopy(iv + sizeof (uint64_t), &val32, sizeof (uint32_t)); in zio_crypt_encode_params_bp()
755 BP_SET_IV2(bp, val32); in zio_crypt_encode_params_bp()
763 bcopy(iv + sizeof (uint64_t), &val32, sizeof (uint32_t)); in zio_crypt_encode_params_bp()
764 BP_SET_IV2(bp, BSWAP_32(val32)); in zio_crypt_encode_params_bp()
772 uint32_t val32; in zio_crypt_decode_params_bp() local
787 val32 = (uint32_t)BP_GET_IV2(bp); in zio_crypt_decode_params_bp()
788 bcopy(&val32, iv + sizeof (uint64_t), sizeof (uint32_t)); in zio_crypt_decode_params_bp()
796 val32 = BSWAP_32((uint32_t)BP_GET_IV2(bp)); in zio_crypt_decode_params_bp()
797 bcopy(&val32, iv + sizeof (uint64_t), sizeof (uint32_t)); in zio_crypt_decode_params_bp()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dadapter.h560 u32 val32 = val; in t4_os_pci_write_cfg4() local
562 if (rte_pci_write_config(adapter->pdev, &val32, sizeof(val32), in t4_os_pci_write_cfg4()
/f-stack/freebsd/kern/
H A Duipc_socket.c2995 uint32_t val32; local
3079 error = sooptcopyin(sopt, &val32, sizeof val32,
3080 sizeof val32);
3083 so->so_user_cookie = val32;
3168 error = sooptcopyin(sopt, &val32, sizeof(val32),
3169 sizeof(val32));
3172 so->so_max_pacing_rate = val32;
/f-stack/freebsd/netgraph/
H A Dng_parse.c529 int32_t val32; in ng_int32_parse() local
540 val32 = (int32_t)val; in ng_int32_parse()
541 bcopy(&val32, buf, sizeof(int32_t)); in ng_int32_parse()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.h2087 uint32_t val32 = val; in pci_write_long() local
2088 if (rte_pci_write_config(sc->pci_dev, &val32, in pci_write_long()
2089 sizeof(val32), addr) <= 0) { in pci_write_long()
/f-stack/freebsd/contrib/zstd/programs/
H A Dzstdcli.c671 #define NEXT_UINT32(val32) { \ argument
674 val32 = readU32FromChar(&__nb); \
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h641 u32 val32; member
/f-stack/freebsd/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c3036 uint32_t val32; in print_us_node() local
3049 (void) nvpair_value_uint32(nvp, &val32); in print_us_node()
3066 strval = (char *)us_type2str(val32); in print_us_node()

12