Home
last modified time | relevance | path

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

/linux/drivers/vdpa/
H A Dvdpa.c927 u32 val_u32; in vdpa_dev_blk_seg_size_config_fill() local
932 val_u32 = __virtio32_to_cpu(true, config->size_max); in vdpa_dev_blk_seg_size_config_fill()
934 return nla_put_u32(msg, VDPA_ATTR_DEV_BLK_CFG_SIZE_MAX, val_u32); in vdpa_dev_blk_seg_size_config_fill()
942 u32 val_u32; in vdpa_dev_blk_block_size_config_fill() local
947 val_u32 = __virtio32_to_cpu(true, config->blk_size); in vdpa_dev_blk_block_size_config_fill()
949 return nla_put_u32(msg, VDPA_ATTR_DEV_BLK_CFG_BLK_SIZE, val_u32); in vdpa_dev_blk_block_size_config_fill()
956 u32 val_u32; in vdpa_dev_blk_seg_max_config_fill() local
961 val_u32 = __virtio32_to_cpu(true, config->seg_max); in vdpa_dev_blk_seg_max_config_fill()
963 return nla_put_u32(msg, VDPA_ATTR_DEV_BLK_CFG_SEG_MAX, val_u32); in vdpa_dev_blk_seg_max_config_fill()
1011 u32 val_u32; in vdpa_dev_blk_discard_config_fill() local
[all …]
/linux/drivers/base/test/
H A Dproperty-entry-test.c25 u32 val_u32, array_u32[2]; in pe_test_uints() local
72 error = fwnode_property_read_u32(node, "prop-u32", &val_u32); in pe_test_uints()
74 KUNIT_EXPECT_EQ(test, val_u32, 32); in pe_test_uints()
86 error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32); in pe_test_uints()
136 u32 val_u32, array_u32[32]; in pe_test_uint_arrays() local
193 error = fwnode_property_read_u32(node, "prop-u32", &val_u32); in pe_test_uint_arrays()
195 KUNIT_EXPECT_EQ(test, val_u32, 32); in pe_test_uint_arrays()
212 error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32); in pe_test_uint_arrays()
/linux/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/drivers/acpi/
H A Dcppc_acpi.c1140 u32 val_u32; in cpc_read() local
1144 &val_u32, size); in cpc_read()
1151 *val = val_u32; in cpc_read()