Home
last modified time | relevance | path

Searched refs:allocate_payload (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_dp_mst_helper_test.c199 in.u.allocate_payload.number_sdp_streams = 3; in drm_test_dp_mst_sideband_msg_req_decode()
200 for (i = 0; i < in.u.allocate_payload.number_sdp_streams; i++) in drm_test_dp_mst_sideband_msg_req_decode()
201 in.u.allocate_payload.sdp_stream_sink[i] = i + 1; in drm_test_dp_mst_sideband_msg_req_decode()
203 in.u.allocate_payload.port_number = 0xf; in drm_test_dp_mst_sideband_msg_req_decode()
205 in.u.allocate_payload.vcpi = 0x7f; in drm_test_dp_mst_sideband_msg_req_decode()
207 in.u.allocate_payload.pbn = U16_MAX; in drm_test_dp_mst_sideband_msg_req_decode()
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c349 buf[idx] = (req->u.allocate_payload.port_number & 0xf) << 4 | in drm_dp_encode_sideband_req()
350 (req->u.allocate_payload.number_sdp_streams & 0xf); in drm_dp_encode_sideband_req()
352 buf[idx] = (req->u.allocate_payload.vcpi & 0x7f); in drm_dp_encode_sideband_req()
354 buf[idx] = (req->u.allocate_payload.pbn >> 8); in drm_dp_encode_sideband_req()
356 buf[idx] = (req->u.allocate_payload.pbn & 0xff); in drm_dp_encode_sideband_req()
358 for (i = 0; i < req->u.allocate_payload.number_sdp_streams / 2; i++) { in drm_dp_encode_sideband_req()
359 buf[idx] = ((req->u.allocate_payload.sdp_stream_sink[i * 2] & 0xf) << 4) | in drm_dp_encode_sideband_req()
360 (req->u.allocate_payload.sdp_stream_sink[i * 2 + 1] & 0xf); in drm_dp_encode_sideband_req()
363 if (req->u.allocate_payload.number_sdp_streams & 1) { in drm_dp_encode_sideband_req()
364 i = req->u.allocate_payload.number_sdp_streams - 1; in drm_dp_encode_sideband_req()
[all …]
/linux-6.1.9/include/drm/display/
Ddrm_dp_mst_helper.h443 struct drm_dp_allocate_payload allocate_payload; member
464 struct drm_dp_allocate_payload_ack_reply allocate_payload; member