Defined in 2 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/i915/i915_hdcp_gsc.c intel_hdcp_gsc_msg_send() -> intel_gsc_uc_heci_cmd_emit_mtl_header()

Type Parameter Key Value
PARAM_VALUE 1 heci_client_id 18
PARAM_VALUE 2 message_size 56-57,72,88,93-4096
BUF_SIZE 0 header 1-s32max
BUF_SIZE 0 header 1-s32max
FUZZY_MAX 2 message_size 4096
HARD_MAX 2 message_size 4096
MEM_ZERO 0 header
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 message_size unit_byte
LOCK2 &dig_port->hdcp.mutex
LOCK2 &display->hdcp.hdcp_mutex
LOCK2 &hdcp->mutex
TYPE_LOCK (struct intel_digital_port)->hdcp.mutex
TYPE_LOCK (struct intel_display)->hdcp.hdcp_mutex
TYPE_LOCK (struct intel_hdcp)->mutex

drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c proxy_query() -> intel_gsc_uc_heci_cmd_emit_mtl_header()

Type Parameter Key Value
PARAM_VALUE 1 heci_client_id 10
PARAM_VALUE 2 message_size 52
PARAM_VALUE 3 host_session_id 0
NOCHECK_CALL
UNITS 2 message_size unit_byte
LOCK2 &gsc->proxy.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct intel_gsc_uc)->proxy.mutex

drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c gsc_fw_query_compatibility_version() -> intel_gsc_uc_heci_cmd_emit_mtl_header()

Type Parameter Key Value
PARAM_VALUE 0 header 1-ptr_max
PARAM_VALUE 1 heci_client_id 7
PARAM_VALUE 2 message_size 40
PARAM_VALUE 3 host_session_id 0
NOCHECK_CALL
UNITS 2 message_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c intel_huc_fw_auth_via_gsccs() -> intel_gsc_uc_heci_cmd_emit_mtl_header()

Type Parameter Key Value
PARAM_VALUE 0 header 4096-ptr_max
PARAM_VALUE 1 heci_client_id 17
PARAM_VALUE 2 message_size 64
PARAM_VALUE 3 host_session_id 0
RX_PATH
NOCHECK_CALL
UNITS 2 message_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.c gsccs_send_message() -> intel_gsc_uc_heci_cmd_emit_mtl_header()

Type Parameter Key Value
PARAM_VALUE 1 heci_client_id 17
PARAM_VALUE 2 message_size 36,64,112
MEM_ZERO 0 header
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 message_size unit_byte
LOCK2 &pxp->tee_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &pxp->arb_mutex
TYPE_LOCK (struct intel_pxp)->tee_mutex