Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/tests/drm_dp_mst_helper_test.c drm_test_dp_mst_sideband_msg_req_decode() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
PARAM_VALUE 1 raw 16,4096-ptr_max
BUF_SIZE 0 req 120
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw r kunit_kzalloc
MEM_ZERO 1 raw
NOCHECK_CALL

drivers/gpu/drm/display/drm_dp_mst_topology.c build_allocate_payload() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 8239381501776441344
PARAM_VALUE 0 req->req_type 17
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 4096-ptr_max
PARAM_VALUE 1 raw->dst->mgr 4096-ptr_max
PARAM_VALUE 1 raw->dst->topology_kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 raw->dst->topology_ref_history.entries 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
MEM_ZERO 0 req
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/display/drm_dp_mst_topology.c build_clear_payload_id_table() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 2142257386190917632
PARAM_VALUE 0 req->req_type 20
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 4096-ptr_max
PARAM_VALUE 1 raw->dst->mgr 4096-ptr_max
PARAM_VALUE 1 raw->dst->topology_kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 raw->dst->topology_ref_history.entries 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
NOCHECK_CALL
LOCK2 &mgr->probe_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct drm_dp_mst_topology_mgr)->probe_lock

drivers/gpu/drm/display/drm_dp_mst_topology.c build_dpcd_read() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 1343138841887203328
PARAM_VALUE 0 req->req_type 32
PARAM_VALUE 1 raw 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 req->u.dpcd_read.dpcd_address 0-u32max
USER_DATA 0 req->u.dpcd_read.num_bytes 1-15[c]
NO_OVERFLOW_SIMPLE 0 req->u.dpcd_read.num_bytes
HALF_LOCKED2 &_connector->mutex
HALF_LOCKED2 &aconnector->handle_mst_msg_ready
HALF_LOCKED2 &anx78xx->lock
HALF_LOCKED2 &aux->cec.lock
HALF_LOCKED2 &connector->mutex
HALF_LOCKED2 &dig_port->hdcp.mutex
HALF_LOCKED2 &first_bridge->encoder->bridge_chain_mutex
HALF_LOCKED2 &hdcp->mutex
HALF_LOCKED2 &mgr->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &outp->dp.hpd_irq_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

drivers/gpu/drm/display/drm_dp_mst_topology.c build_dpcd_write() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 2644508386857431040
PARAM_VALUE 0 req->req_type 33
PARAM_VALUE 1 raw 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 req->u.dpcd_write.num_bytes 1-31[c]
USER_DATA 0 req->u.dpcd_write.dpcd_address 0-u32max
USER_DATA 0 req->u.dpcd_write.num_bytes 1-15[c]
HALF_LOCKED2 &aconnector->handle_mst_msg_ready
HALF_LOCKED2 &anx78xx->lock
HALF_LOCKED2 &aux->cec.lock
HALF_LOCKED2 &dig_port->hdcp.mutex
HALF_LOCKED2 &display->drm->mode_config.mutex
HALF_LOCKED2 &first_bridge->encoder->bridge_chain_mutex
HALF_LOCKED2 &hdcp->mutex
HALF_LOCKED2 &mgr->lock
HALF_LOCKED2 &mhdp->link_mutex
HALF_LOCKED2 &outp->dp.hpd_irq_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &psr->lock
HALF_LOCKED2 _T->lock

drivers/gpu/drm/display/drm_dp_mst_topology.c build_enum_path_resources() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 2339846622294454272
PARAM_VALUE 0 req->req_type 16
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 4096-ptr_max
PARAM_VALUE 1 raw->dst->mgr 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
NOCHECK_CALL
HALF_LOCKED2 &mgr->base.lock.mutex
HALF_LOCKED2 &mgr->probe_lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/display/drm_dp_mst_topology.c build_link_address() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 7023178134045769728
PARAM_VALUE 0 req->req_type 1
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 1-u64max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
NOCHECK_CALL

drivers/gpu/drm/display/drm_dp_mst_topology.c build_power_updown_phy() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 2240647014640898048
PARAM_VALUE 0 req->req_type 36-37
PARAM_VALUE 1 raw 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/display/drm_dp_mst_topology.c build_query_stream_enc_status() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 9052964111982579712
PARAM_VALUE 0 req->req_type 56
PARAM_VALUE 0 req->u.enc_status.valid_stream_behavior 0
PARAM_VALUE 0 req->u.enc_status.valid_stream_event 0
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw $0
NOCHECK_CALL
LOCK2 &mgr->base.lock.mutex
TYPE_LOCK (struct drm_modeset_lock)->mutex

drivers/gpu/drm/display/drm_dp_mst_topology.c drm_dp_mst_i2c_read() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 4754291763919429632
PARAM_VALUE 0 req->req_type 34
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 4096-ptr_max
PARAM_VALUE 1 raw->dst->mgr 4096-ptr_max
PARAM_VALUE 1 raw->dst->topology_kref.refcount.refs.counter 0-s32max
PARAM_VALUE 1 raw->dst->topology_ref_history.entries 4096-ptr_max
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw r _kzalloc_noprof
MEM_ZERO 0 req
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/display/drm_dp_mst_topology.c drm_dp_mst_i2c_write() -> drm_dp_encode_sideband_req()

Type Parameter Key Value
PARAM_VALUE 0 req 8549531381219450880
PARAM_VALUE 0 req->req_type 35
PARAM_VALUE 1 raw 4096-ptr_max
PARAM_VALUE 1 raw->dst 4096-ptr_max
PARAM_VALUE 1 raw->dst->mgr 4096-ptr_max
PARAM_VALUE 1 raw->dst->topology_kref.refcount.refs.counter 0-s32max
PARAM_VALUE 1 raw->dst->topology_ref_history.entries 4096-ptr_max
PARAM_VALUE 1 raw->next.next 0
BUF_SIZE 1 raw 768
DATA_SOURCE 1 raw r _kzalloc_noprof
MEM_ZERO 0 req
MEM_ZERO 1 raw
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL