Lines Matching refs:allocate_payload
349 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()
365 buf[idx] = (req->u.allocate_payload.sdp_stream_sink[i] & 0xf) << 4; in drm_dp_encode_sideband_req()
471 &req->u.allocate_payload; in drm_dp_decode_sideband_req()
620 req->u.allocate_payload.port_number, in drm_dp_dump_sideband_msg_req_body()
621 req->u.allocate_payload.vcpi, req->u.allocate_payload.pbn, in drm_dp_dump_sideband_msg_req_body()
622 req->u.allocate_payload.number_sdp_streams, in drm_dp_dump_sideband_msg_req_body()
623 req->u.allocate_payload.number_sdp_streams, in drm_dp_dump_sideband_msg_req_body()
624 req->u.allocate_payload.sdp_stream_sink); in drm_dp_dump_sideband_msg_req_body()
934 repmsg->u.allocate_payload.port_number = (raw->msg[idx] >> 4) & 0xf; in drm_dp_sideband_parse_allocate_payload_ack()
938 repmsg->u.allocate_payload.vcpi = raw->msg[idx]; in drm_dp_sideband_parse_allocate_payload_ack()
942 repmsg->u.allocate_payload.allocated_pbn = (raw->msg[idx] << 8) | (raw->msg[idx+1]); in drm_dp_sideband_parse_allocate_payload_ack()
1193 req.u.allocate_payload.port_number = port_num; in build_allocate_payload()
1194 req.u.allocate_payload.vcpi = vcpi; in build_allocate_payload()
1195 req.u.allocate_payload.pbn = pbn; in build_allocate_payload()
1196 req.u.allocate_payload.number_sdp_streams = number_sdp_streams; in build_allocate_payload()
1197 memcpy(req.u.allocate_payload.sdp_stream_sink, sdp_stream_sink, in build_allocate_payload()