Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_dp_mst_helper.c184 in.u.allocate_payload.number_sdp_streams = 3; in igt_dp_mst_sideband_msg_req_decode()
185 for (i = 0; i < in.u.allocate_payload.number_sdp_streams; i++) in igt_dp_mst_sideband_msg_req_decode()
186 in.u.allocate_payload.sdp_stream_sink[i] = i + 1; in igt_dp_mst_sideband_msg_req_decode()
188 in.u.allocate_payload.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
190 in.u.allocate_payload.vcpi = 0x7f; in igt_dp_mst_sideband_msg_req_decode()
192 in.u.allocate_payload.pbn = U16_MAX; in igt_dp_mst_sideband_msg_req_decode()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_mst_topology.c348 buf[idx] = (req->u.allocate_payload.port_number & 0xf) << 4 | in drm_dp_encode_sideband_req()
349 (req->u.allocate_payload.number_sdp_streams & 0xf); in drm_dp_encode_sideband_req()
351 buf[idx] = (req->u.allocate_payload.vcpi & 0x7f); in drm_dp_encode_sideband_req()
353 buf[idx] = (req->u.allocate_payload.pbn >> 8); in drm_dp_encode_sideband_req()
355 buf[idx] = (req->u.allocate_payload.pbn & 0xff); in drm_dp_encode_sideband_req()
357 for (i = 0; i < req->u.allocate_payload.number_sdp_streams / 2; i++) { in drm_dp_encode_sideband_req()
358 buf[idx] = ((req->u.allocate_payload.sdp_stream_sink[i * 2] & 0xf) << 4) | in drm_dp_encode_sideband_req()
359 (req->u.allocate_payload.sdp_stream_sink[i * 2 + 1] & 0xf); in drm_dp_encode_sideband_req()
362 if (req->u.allocate_payload.number_sdp_streams & 1) { in drm_dp_encode_sideband_req()
363 i = req->u.allocate_payload.number_sdp_streams - 1; in drm_dp_encode_sideband_req()
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_dp_mst_helper.h455 struct drm_dp_allocate_payload allocate_payload; member
476 struct drm_dp_allocate_payload_ack_reply allocate_payload; member