Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_klv_helpers.c obj_raw_encoder() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 12
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c str_klv_size() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 1-26

drivers/gpu/drm/xe/xe_guc_klv_helpers.c test_encode_object_klv() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 4
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c test_encode_object_klv() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 8
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c test_encode_object_nested() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 4
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c test_encode_object_nested() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 8
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c test_encode_object_raw() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 12
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c xe_guc_klv_encode_string() -> to_num_dwords()

Type Parameter Key Value
CAPPED_DATA 0 size 1
CAPPED_DATA 0 size 1

drivers/gpu/drm/xe/xe_guc_klv_helpers.c xe_guc_klv_encode_u32() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 4
UNITS 0 size unit_byte

drivers/gpu/drm/xe/xe_guc_klv_helpers.c xe_guc_klv_encode_u64() -> to_num_dwords()

Type Parameter Key Value
PARAM_VALUE 0 size 8
UNITS 0 size unit_byte