Home
last modified time | relevance | path

Searched refs:cap_msg (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/crypto/qat/qat_common/
Dadf_pfvf_vf_msg.c99 struct capabilities_v3 cap_msg = { 0 }; in adf_vf2pf_get_capabilities() local
100 unsigned int len = sizeof(cap_msg); in adf_vf2pf_get_capabilities()
107 (u8 *)&cap_msg, &len)) { in adf_vf2pf_get_capabilities()
113 switch (cap_msg.hdr.version) { in adf_vf2pf_get_capabilities()
119 hw_data->clock_frequency = cap_msg.frequency; in adf_vf2pf_get_capabilities()
125 hw_data->accel_capabilities_mask = cap_msg.capabilities; in adf_vf2pf_get_capabilities()
131 hw_data->extended_dc_capabilities = cap_msg.ext_dc_caps; in adf_vf2pf_get_capabilities()
/linux-5.19.10/drivers/hv/
Dhv_balloon.c1698 struct dm_capabilities cap_msg; in balloon_connect_vsp() local
1756 memset(&cap_msg, 0, sizeof(struct dm_capabilities)); in balloon_connect_vsp()
1757 cap_msg.hdr.type = DM_CAPABILITIES_REPORT; in balloon_connect_vsp()
1758 cap_msg.hdr.size = sizeof(struct dm_capabilities); in balloon_connect_vsp()
1759 cap_msg.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_connect_vsp()
1766 cap_msg.caps.cap_bits.balloon = ballooning_enabled(); in balloon_connect_vsp()
1767 cap_msg.caps.cap_bits.hot_add = hot_add_enabled(); in balloon_connect_vsp()
1773 cap_msg.caps.cap_bits.hot_add_alignment = 7; in balloon_connect_vsp()
1780 cap_msg.min_page_cnt = 0; in balloon_connect_vsp()
1781 cap_msg.max_page_number = -1; in balloon_connect_vsp()
[all …]