Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_ct.c g2h_fast_path() -> msg_len_to_hxg_len()

Type Parameter Key Value
PARAM_VALUE 0 len 1-s32max
CAPPED_DATA 0 len 1
DATA_SOURCE 0 len $2
PREEMPT_ADD
LOCK2 &ct->fast_lock
HALF_LOCKED2 &xe->irq.lock
TYPE_LOCK (struct xe_guc_ct)->fast_lock

drivers/gpu/drm/xe/xe_guc_ct.c parse_g2h_response() -> msg_len_to_hxg_len()

Type Parameter Key Value
PARAM_VALUE 0 len 1-s32max
CAPPED_DATA 0 len 1
DATA_SOURCE 0 len $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ct->lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_ct.c process_g2h_msg() -> msg_len_to_hxg_len()

Type Parameter Key Value
PARAM_VALUE 0 len 1-s32max
CAPPED_DATA 0 len 1
DATA_SOURCE 0 len $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ct->lock