Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/drm_debugfs.c audio_infoframe_read() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 1 buffer 5943722601480544256
PARAM_VALUE 2 size 14
BUF_SIZE 0 frame 60
BUF_SIZE 1 buffer 14
UNITS 2 size unit_byte
LOCK2 &connector->hdmi.infoframes.lock
TYPE_LOCK (struct drm_connector_hdmi)->infoframes.lock

drivers/gpu/drm/drm_debugfs.c avi_read_infoframe() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 1 buffer 3880746429496532992
PARAM_VALUE 2 size 31
BUF_SIZE 0 frame 60
BUF_SIZE 1 buffer 31
UNITS 2 size unit_byte
LOCK2 &dev->mode_config.connection_mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/drm_debugfs.c hdmi_read_infoframe() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 1 buffer 4942936519979184128
PARAM_VALUE 2 size 31
BUF_SIZE 0 frame 60
BUF_SIZE 1 buffer 31
UNITS 2 size unit_byte
LOCK2 &dev->mode_config.connection_mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/drm_debugfs.c hdr_drm_read_infoframe() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 1 buffer 6044588929128599552
PARAM_VALUE 2 size 31
BUF_SIZE 0 frame 60
BUF_SIZE 1 buffer 31
UNITS 2 size unit_byte
LOCK2 &dev->mode_config.connection_mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/drm_debugfs.c spd_read_infoframe() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 1 buffer 8977450053101113344
PARAM_VALUE 2 size 31
BUF_SIZE 0 frame 60
BUF_SIZE 1 buffer 31
UNITS 2 size unit_byte
LOCK2 &dev->mode_config.connection_mutex.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/display/drm_hdmi_state_helper.c write_infoframe() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 4096-ptr_max
PARAM_VALUE 1 buffer 1620592042571268096
PARAM_VALUE 2 size 31
BUF_SIZE 1 buffer 31
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
LOCK2 &connector->hdmi.infoframes.lock
HALF_LOCKED2 &vc4_hdmi->mutex
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct drm_connector_hdmi)->infoframes.lock

drivers/gpu/drm/bridge/tda998x_drv.c tda998x_write_if() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 377124507902697472,4995046352631562240,8775431479339966464
PARAM_VALUE 1 buffer 6554956842382065664
PARAM_VALUE 2 size 32
BUF_SIZE 1 buffer 32
DATA_SOURCE 0 frame $3
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
LOCK2 &priv->audio_mutex
TYPE_LOCK (struct tda998x_priv)->audio_mutex

drivers/gpu/drm/i915/display/intel_lspcon.c lspcon_set_infoframes() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 5964000378155335680
PARAM_VALUE 0 frame->avi.active_aspect 8
PARAM_VALUE 0 frame->avi.bottom_bar 0
PARAM_VALUE 0 frame->avi.colorimetry 0-3
PARAM_VALUE 0 frame->avi.colorspace 0,3
PARAM_VALUE 0 frame->avi.content_type 0-3
PARAM_VALUE 0 frame->avi.extended_colorimetry 0-6
PARAM_VALUE 0 frame->avi.left_bar 0
PARAM_VALUE 0 frame->avi.length 13
PARAM_VALUE 0 frame->avi.nups 0
PARAM_VALUE 0 frame->avi.picture_aspect 0-2
PARAM_VALUE 0 frame->avi.pixel_repeat 0-1
PARAM_VALUE 0 frame->avi.quantization_range 0-2
PARAM_VALUE 0 frame->avi.right_bar 0
PARAM_VALUE 0 frame->avi.scan_mode 2
PARAM_VALUE 0 frame->avi.top_bar 0
PARAM_VALUE 0 frame->avi.type 130
PARAM_VALUE 0 frame->avi.version 2
PARAM_VALUE 0 frame->avi.video_code 0-2,193
PARAM_VALUE 0 frame->avi.ycc_quantization_range 0-1
PARAM_VALUE 1 buffer 5563509486802915328
PARAM_VALUE 2 size 32
BUF_SIZE 1 buffer 32
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte

drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_hdmi_enable() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 7662444480416813056
PARAM_VALUE 0 frame->any.type 0
PARAM_VALUE 0 frame->audio.channel_allocation 0
PARAM_VALUE 0 frame->audio.channels 0
PARAM_VALUE 0 frame->audio.coding_type 0
PARAM_VALUE 0 frame->audio.coding_type_ext 0
PARAM_VALUE 0 frame->audio.downmix_inhibit 0
PARAM_VALUE 0 frame->audio.length 0
PARAM_VALUE 0 frame->audio.level_shift_value 0
PARAM_VALUE 0 frame->audio.sample_frequency 0
PARAM_VALUE 0 frame->audio.sample_size 0
PARAM_VALUE 0 frame->audio.type 0
PARAM_VALUE 0 frame->audio.version 0
PARAM_VALUE 0 frame->avi.active_aspect 8
PARAM_VALUE 0 frame->avi.bottom_bar 0
PARAM_VALUE 0 frame->avi.colorimetry 0
PARAM_VALUE 0 frame->avi.colorspace 0
PARAM_VALUE 0 frame->avi.content_type 0
PARAM_VALUE 0 frame->avi.extended_colorimetry 0
PARAM_VALUE 0 frame->avi.itc 0
PARAM_VALUE 0 frame->avi.left_bar 0
PARAM_VALUE 0 frame->avi.length 13
PARAM_VALUE 0 frame->avi.nups 0
PARAM_VALUE 0 frame->avi.picture_aspect 0-2
PARAM_VALUE 0 frame->avi.pixel_repeat 0-1
PARAM_VALUE 0 frame->avi.quantization_range 0-2
PARAM_VALUE 0 frame->avi.right_bar 0
PARAM_VALUE 0 frame->avi.scan_mode 2
PARAM_VALUE 0 frame->avi.top_bar 0
PARAM_VALUE 0 frame->avi.type 130
PARAM_VALUE 0 frame->avi.version 2
PARAM_VALUE 0 frame->avi.video_code 0-2,193
PARAM_VALUE 0 frame->avi.ycc_quantization_range 0-1
PARAM_VALUE 0 frame->drm.eotf 0
PARAM_VALUE 0 frame->drm.length 0
PARAM_VALUE 0 frame->drm.max_cll 0
PARAM_VALUE 0 frame->drm.max_display_mastering_luminance 0
PARAM_VALUE 0 frame->drm.max_fall 0
PARAM_VALUE 0 frame->drm.metadata_type 0
PARAM_VALUE 0 frame->drm.min_display_mastering_luminance 0
PARAM_VALUE 0 frame->drm.type 0
PARAM_VALUE 0 frame->drm.version 0
PARAM_VALUE 0 frame->drm.white_point.x 0
PARAM_VALUE 0 frame->drm.white_point.y 0
PARAM_VALUE 0 frame->spd.length 0
PARAM_VALUE 0 frame->spd.sdi 0
PARAM_VALUE 0 frame->spd.type 0
PARAM_VALUE 0 frame->spd.version 0
PARAM_VALUE 0 frame->vendor.any.oui 0
PARAM_VALUE 0 frame->vendor.any.type 0
PARAM_VALUE 0 frame->vendor.any.version 0
PARAM_VALUE 0 frame->vendor.hdmi.length 0
PARAM_VALUE 0 frame->vendor.hdmi.oui 0
PARAM_VALUE 0 frame->vendor.hdmi.s3d_ext_data 0
PARAM_VALUE 0 frame->vendor.hdmi.s3d_struct 0
PARAM_VALUE 0 frame->vendor.hdmi.type 0
PARAM_VALUE 0 frame->vendor.hdmi.version 0
PARAM_VALUE 0 frame->vendor.hdmi.vic 0
BUF_SIZE 1 buffer 17
DATA_SOURCE 2 size r __builtin_object_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_hdmi_enable() -> hdmi_infoframe_pack()

Type Parameter Key Value
PARAM_VALUE 0 frame 7662444480416813056
PARAM_VALUE 0 frame->any.type 0
PARAM_VALUE 0 frame->audio.channel_allocation 0
PARAM_VALUE 0 frame->audio.channels 0
PARAM_VALUE 0 frame->audio.coding_type 0
PARAM_VALUE 0 frame->audio.coding_type_ext 0
PARAM_VALUE 0 frame->audio.downmix_inhibit 0
PARAM_VALUE 0 frame->audio.length 0
PARAM_VALUE 0 frame->audio.level_shift_value 0
PARAM_VALUE 0 frame->audio.sample_frequency 0
PARAM_VALUE 0 frame->audio.sample_size 0
PARAM_VALUE 0 frame->audio.type 0
PARAM_VALUE 0 frame->audio.version 0
PARAM_VALUE 0 frame->avi.active_aspect 0,8
PARAM_VALUE 0 frame->avi.bottom_bar 0
PARAM_VALUE 0 frame->avi.colorimetry 0
PARAM_VALUE 0 frame->avi.colorspace 0
PARAM_VALUE 0 frame->avi.content_type 0
PARAM_VALUE 0 frame->avi.extended_colorimetry 0
PARAM_VALUE 0 frame->avi.itc 0
PARAM_VALUE 0 frame->avi.left_bar 0
PARAM_VALUE 0 frame->avi.length 0,13
PARAM_VALUE 0 frame->avi.nups 0
PARAM_VALUE 0 frame->avi.picture_aspect 0-2
PARAM_VALUE 0 frame->avi.pixel_repeat 0-1
PARAM_VALUE 0 frame->avi.quantization_range 0-2
PARAM_VALUE 0 frame->avi.right_bar 0
PARAM_VALUE 0 frame->avi.scan_mode 0,2
PARAM_VALUE 0 frame->avi.top_bar 0
PARAM_VALUE 0 frame->avi.type 0,130
PARAM_VALUE 0 frame->avi.version 0,2
PARAM_VALUE 0 frame->avi.video_code 0-2,193
PARAM_VALUE 0 frame->avi.ycc_quantization_range 0-1
PARAM_VALUE 0 frame->drm.eotf 0
PARAM_VALUE 0 frame->drm.length 0
PARAM_VALUE 0 frame->drm.max_cll 0
PARAM_VALUE 0 frame->drm.max_display_mastering_luminance 0
PARAM_VALUE 0 frame->drm.max_fall 0
PARAM_VALUE 0 frame->drm.metadata_type 0
PARAM_VALUE 0 frame->drm.min_display_mastering_luminance 0
PARAM_VALUE 0 frame->drm.type 0
PARAM_VALUE 0 frame->drm.version 0
PARAM_VALUE 0 frame->drm.white_point.x 0
PARAM_VALUE 0 frame->drm.white_point.y 0
PARAM_VALUE 0 frame->spd.length 0
PARAM_VALUE 0 frame->spd.sdi 0
PARAM_VALUE 0 frame->spd.type 0
PARAM_VALUE 0 frame->spd.version 0
PARAM_VALUE 0 frame->vendor.any.oui 0
PARAM_VALUE 0 frame->vendor.any.type 0
PARAM_VALUE 0 frame->vendor.any.version 0
PARAM_VALUE 0 frame->vendor.hdmi.length 4
PARAM_VALUE 0 frame->vendor.hdmi.oui 3075
PARAM_VALUE 0 frame->vendor.hdmi.s3d_ext_data 0
PARAM_VALUE 0 frame->vendor.hdmi.s3d_struct (-1)-6,8
PARAM_VALUE 0 frame->vendor.hdmi.type 129
PARAM_VALUE 0 frame->vendor.hdmi.version 1
PARAM_VALUE 0 frame->vendor.hdmi.vic 0-4
BUF_SIZE 1 buffer 17
DATA_SOURCE 2 size r __builtin_object_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex