Searched refs:val_u16 (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/base/test/ |
A D | property-entry-test.c | 22 u16 val_u16, array_u16[2]; in pe_test_uints() local 50 error = fwnode_property_read_u16(node, "prop-u16", &val_u16); in pe_test_uints() 52 KUNIT_EXPECT_EQ(test, val_u16, 16); in pe_test_uints() 64 error = fwnode_property_read_u16(node, "no-prop-u16", &val_u16); in pe_test_uints() 133 u16 val_u16, array_u16[32]; in pe_test_uint_arrays() local 166 error = fwnode_property_read_u16(node, "prop-u16", &val_u16); in pe_test_uint_arrays() 168 KUNIT_EXPECT_EQ(test, val_u16, 16); in pe_test_uint_arrays() 185 error = fwnode_property_read_u16(node, "no-prop-u16", &val_u16); in pe_test_uint_arrays()
|
/linux-6.3-rc2/drivers/vdpa/ |
A D | vdpa.c | 876 u16 val_u16; in vdpa_dev_net_mq_config_fill() local 882 val_u16 = __virtio16_to_cpu(true, config->max_virtqueue_pairs); in vdpa_dev_net_mq_config_fill() 884 return nla_put_u16(msg, VDPA_ATTR_DEV_NET_CFG_MAX_VQP, val_u16); in vdpa_dev_net_mq_config_fill() 890 u16 val_u16; in vdpa_dev_net_mtu_config_fill() local 895 val_u16 = __virtio16_to_cpu(true, config->mtu); in vdpa_dev_net_mtu_config_fill() 897 return nla_put_u16(msg, VDPA_ATTR_DEV_NET_CFG_MTU, val_u16); in vdpa_dev_net_mtu_config_fill() 913 u16 val_u16; in vdpa_dev_net_status_config_fill() local 918 val_u16 = __virtio16_to_cpu(true, config->status); in vdpa_dev_net_status_config_fill() 919 return nla_put_u16(msg, VDPA_ATTR_DEV_NET_STATUS, val_u16); in vdpa_dev_net_status_config_fill()
|
/linux-6.3-rc2/lib/ |
A D | test_user_copy.c | 188 u16 val_u16; in test_user_copy_init() local
|
Completed in 7 milliseconds