Home
last modified time | relevance | path

Searched refs:VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/abi/
Dguc_relay_actions_abi.h166 #define VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN (GUC_HXG_MSG_MIN_LEN + 1u) macro
168 (VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN + VF2PF_QUERY_RUNTIME_MAX_COUNT * 2)
172 ((GUC_RELAY_MSG_MAX_LEN - VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN) / 2)
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_sriov_vf.c737 u32 response[VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN + 32]; /* up to 16 regs */ in vf_query_runtime_info()
738 u32 limit = (ARRAY_SIZE(response) - VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN) / 2; in vf_query_runtime_info()
764 if (unlikely(ret < VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN)) { in vf_query_runtime_info()
768 if (unlikely((ret - VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN) % 2)) { in vf_query_runtime_info()
773 num = (ret - VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN) / 2; in vf_query_runtime_info()
797 reg->offset = response[VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN + 2 * i]; in vf_query_runtime_info()
798 reg->value = response[VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN + 2 * i + 1]; in vf_query_runtime_info()
Dxe_gt_sriov_pf_service.c429 if (unlikely(resp_size < VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN)) in pf_process_runtime_query_msg()
436 max_chunks = (resp_size - VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN) / chunk_size; in pf_process_runtime_query_msg()
438 reg_data_buf = (void *)(response + VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN); in pf_process_runtime_query_msg()
449 return VF2PF_QUERY_RUNTIME_RESPONSE_MSG_MIN_LEN + ret * hxg_sizeof(struct reg_data); in pf_process_runtime_query_msg()