Searched refs:cap_msg (Results 1 – 2 of 2) sorted by relevance
99 struct capabilities_v3 cap_msg = { 0 }; in adf_vf2pf_get_capabilities() local100 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()
1762 struct dm_capabilities cap_msg; in balloon_connect_vsp() local1820 memset(&cap_msg, 0, sizeof(struct dm_capabilities)); in balloon_connect_vsp()1821 cap_msg.hdr.type = DM_CAPABILITIES_REPORT; in balloon_connect_vsp()1822 cap_msg.hdr.size = sizeof(struct dm_capabilities); in balloon_connect_vsp()1823 cap_msg.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_connect_vsp()1830 cap_msg.caps.cap_bits.balloon = ballooning_enabled(); in balloon_connect_vsp()1831 cap_msg.caps.cap_bits.hot_add = hot_add_enabled(); in balloon_connect_vsp()1837 cap_msg.caps.cap_bits.hot_add_alignment = 7; in balloon_connect_vsp()1844 cap_msg.min_page_cnt = 0; in balloon_connect_vsp()1845 cap_msg.max_page_number = -1; in balloon_connect_vsp()[all …]