Home
last modified time | relevance | path

Searched refs:val_u32 (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/vdpa/
H A Dvdpa.c963 u32 val_u32; in vdpa_dev_blk_seg_size_config_fill() local
968 val_u32 = __virtio32_to_cpu(true, config->size_max); in vdpa_dev_blk_seg_size_config_fill()
978 u32 val_u32; in vdpa_dev_blk_block_size_config_fill() local
983 val_u32 = __virtio32_to_cpu(true, config->blk_size); in vdpa_dev_blk_block_size_config_fill()
992 u32 val_u32; in vdpa_dev_blk_seg_max_config_fill() local
997 val_u32 = __virtio32_to_cpu(true, config->seg_max); in vdpa_dev_blk_seg_max_config_fill()
999 return nla_put_u32(msg, VDPA_ATTR_DEV_BLK_CFG_SEG_MAX, val_u32); in vdpa_dev_blk_seg_max_config_fill()
1047 u32 val_u32; in vdpa_dev_blk_discard_config_fill() local
1052 val_u32 = __virtio32_to_cpu(true, config->max_discard_sectors); in vdpa_dev_blk_discard_config_fill()
1056 val_u32 = __virtio32_to_cpu(true, config->max_discard_seg); in vdpa_dev_blk_discard_config_fill()
[all …]
/linux-6.15/drivers/base/test/
H A Dproperty-entry-test.c23 u32 val_u32, array_u32[2]; in pe_test_uints() local
70 error = fwnode_property_read_u32(node, "prop-u32", &val_u32); in pe_test_uints()
72 KUNIT_EXPECT_EQ(test, val_u32, 32); in pe_test_uints()
84 error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32); in pe_test_uints()
134 u32 val_u32, array_u32[32]; in pe_test_uint_arrays() local
191 error = fwnode_property_read_u32(node, "prop-u32", &val_u32); in pe_test_uint_arrays()
193 KUNIT_EXPECT_EQ(test, val_u32, 32); in pe_test_uint_arrays()
210 error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32); in pe_test_uint_arrays()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c394 __u32 val_u32; in ctx_narrow_access() local
427 val_u32 = *(__u32 *)&ctx->remote_port; in ctx_narrow_access()
428 if (val_u32 != SRC_PORT) in ctx_narrow_access()
/linux-6.15/drivers/acpi/
H A Dcppc_acpi.c1016 u32 val_u32; in cpc_read() local
1020 &val_u32, size); in cpc_read()
1027 *val = val_u32; in cpc_read()