Lines Matching defs:reply

847 	DRM_DEBUG_KMS("link address reply parse length fail %d %d\n", idx, raw->curlen);
868 DRM_DEBUG_KMS("link address reply parse length fail %d %d\n", idx, raw->curlen);
902 DRM_DEBUG_KMS("remote i2c reply parse length fail %d %d\n", idx, raw->curlen);
992 struct drm_dp_query_stream_enc_status_ack_reply *reply;
994 reply = &repmsg->u.enc_status;
996 reply->stream_id = raw->msg[3];
998 reply->reply_signed = raw->msg[2] & BIT(0);
1008 reply->hdcp_1x_device_present = raw->msg[2] & BIT(4);
1009 reply->hdcp_2x_device_present = raw->msg[2] & BIT(3);
1011 reply->query_capable_device_present = raw->msg[2] & BIT(5);
1012 reply->legacy_device_present = raw->msg[2] & BIT(6);
1013 reply->unauthorizable_device_present = raw->msg[2] & BIT(7);
1015 reply->auth_completed = !!(raw->msg[1] & BIT(3));
1016 reply->encryption_enabled = !!(raw->msg[1] & BIT(4));
1017 reply->repeater_present = !!(raw->msg[1] & BIT(5));
1018 reply->state = (raw->msg[1] & GENMASK(7, 6)) >> 6;
1063 drm_err(mgr->dev, "Got unknown reply 0x%02x (%s)\n",
1094 drm_dbg_kms(mgr->dev, "connection status reply parse length fail %d %d\n",
1119 drm_dbg_kms(mgr->dev, "resource status reply parse length fail %d %d\n", idx, raw->curlen);
1264 * poll-waiting for the MST reply interrupt if we didn't receive
2889 struct drm_dp_link_address_ack_reply *reply)
2894 for (i = 0; i < reply->nports; i++) {
2895 port_reply = &reply->ports[i];
2915 struct drm_dp_link_address_ack_reply *reply;
2936 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK) {
2942 reply = &txmsg->reply.u.link_addr;
2943 drm_dbg_kms(mgr->dev, "link address reply: %d\n", reply->nports);
2944 drm_dp_dump_link_address(mgr, reply);
2946 ret = drm_dp_check_mstb_guid(mstb, reply->guid);
2955 for (i = 0; i < reply->nports; i++) {
2956 port_mask |= BIT(reply->ports[i].port_number);
2958 &reply->ports[i]);
3007 if (ret > 0 && txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK)
3034 path_res = &txmsg->reply.u.path_resources;
3036 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK) {
3161 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK)
3194 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK)
3246 } else if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK) {
3253 memcpy(status, &txmsg->reply.u.enc_status, sizeof(*status));
3482 if (txmsg->reply.reply_type == 1) {
3489 if (txmsg->reply.u.remote_dpcd_read_ack.num_bytes != size) {
3494 ret = min_t(size_t, txmsg->reply.u.remote_dpcd_read_ack.num_bytes,
3496 memcpy(bytes, txmsg->reply.u.remote_dpcd_read_ack.bytes, ret);
3531 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK)
3545 struct drm_dp_sideband_msg_reply_body reply;
3547 reply.reply_type = DP_SIDEBAND_REPLY_ACK;
3548 reply.req_type = req_type;
3549 drm_dp_encode_sideband_reply(&reply, msg);
3866 drm_dbg_kms(mgr->dev, "Got MST reply from unknown device %d\n", hdr.lct);
3916 /* Multi-packet message transmission, don't clear the reply */
3931 drm_dbg_kms(mgr->dev, "Got MST reply with no msg %p %d %d %02x %02x\n",
3936 drm_dp_sideband_parse_reply(mgr, msg, &txmsg->reply);
3938 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK) {
3940 "Got NAK reply: req 0x%02x (%s), reason 0x%02x (%s), nak data 0x%02x\n",
3941 txmsg->reply.req_type,
3942 drm_dp_mst_req_type_str(txmsg->reply.req_type),
3943 txmsg->reply.u.nak.reason,
3944 drm_dp_mst_nak_reason_str(txmsg->reply.u.nak.reason),
3945 txmsg->reply.u.nak.nak_data);
3993 drm_dbg_kms(mgr->dev, "Got MST reply from unknown device %d\n", hdr->lct);
5823 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK) {
5827 if (txmsg->reply.u.remote_i2c_read_ack.num_bytes != msgs[num - 1].len) {
5831 memcpy(msgs[num - 1].buf, txmsg->reply.u.remote_i2c_read_ack.bytes, msgs[num - 1].len);
5870 if (txmsg->reply.reply_type == DP_SIDEBAND_REPLY_NAK) {