Lines Matching refs:securedisplay_cmd
80 void psp_prep_securedisplay_cmd_buf(struct psp_context *psp, struct securedisplay_cmd **cmd, in psp_prep_securedisplay_cmd_buf()
83 *cmd = (struct securedisplay_cmd *)psp->securedisplay_context.context.mem_context.shared_buf; in psp_prep_securedisplay_cmd_buf()
84 memset(*cmd, 0, sizeof(struct securedisplay_cmd)); in psp_prep_securedisplay_cmd_buf()
96 struct securedisplay_cmd *securedisplay_cmd; in amdgpu_securedisplay_debugfs_write() local
124 psp_prep_securedisplay_cmd_buf(psp, &securedisplay_cmd, in amdgpu_securedisplay_debugfs_write()
128 if (securedisplay_cmd->status == TA_SECUREDISPLAY_STATUS__SUCCESS) in amdgpu_securedisplay_debugfs_write()
130 securedisplay_cmd->securedisplay_out_message.query_ta.query_cmd_ret); in amdgpu_securedisplay_debugfs_write()
132 psp_securedisplay_parse_resp_status(psp, securedisplay_cmd->status); in amdgpu_securedisplay_debugfs_write()
136 psp_prep_securedisplay_cmd_buf(psp, &securedisplay_cmd, in amdgpu_securedisplay_debugfs_write()
138 securedisplay_cmd->securedisplay_in_message.send_roi_crc.phy_id = phy_id; in amdgpu_securedisplay_debugfs_write()
141 if (securedisplay_cmd->status == TA_SECUREDISPLAY_STATUS__SUCCESS) { in amdgpu_securedisplay_debugfs_write()
144 securedisplay_cmd->securedisplay_out_message.send_roi_crc.i2c_buf); in amdgpu_securedisplay_debugfs_write()
146 psp_securedisplay_parse_resp_status(psp, securedisplay_cmd->status); in amdgpu_securedisplay_debugfs_write()