Lines Matching refs:paddr_ptr
519 u64 *paddr_ptr; member
543 desc_list[0].paddr_ptr = &data->pdh_cert_address; in snp_populate_cmd_buf_desc_list()
545 desc_list[1].paddr_ptr = &data->cert_chain_address; in snp_populate_cmd_buf_desc_list()
552 desc_list[0].paddr_ptr = &data->address; in snp_populate_cmd_buf_desc_list()
559 desc_list[0].paddr_ptr = &data->address; in snp_populate_cmd_buf_desc_list()
566 desc_list[0].paddr_ptr = &data->address; in snp_populate_cmd_buf_desc_list()
574 desc_list[0].paddr_ptr = &data->address; in snp_populate_cmd_buf_desc_list()
582 desc_list[0].paddr_ptr = &data->address; in snp_populate_cmd_buf_desc_list()
589 desc_list[0].paddr_ptr = &data->guest_address; in snp_populate_cmd_buf_desc_list()
597 desc_list[0].paddr_ptr = &data->dst_addr; in snp_populate_cmd_buf_desc_list()
605 desc_list[0].paddr_ptr = &data->dst_addr; in snp_populate_cmd_buf_desc_list()
613 desc_list[0].paddr_ptr = &data->address; in snp_populate_cmd_buf_desc_list()
620 desc_list[0].paddr_ptr = &data->session_address; in snp_populate_cmd_buf_desc_list()
627 desc_list[0].paddr_ptr = &data->hdr_address; in snp_populate_cmd_buf_desc_list()
629 desc_list[1].paddr_ptr = &data->trans_address; in snp_populate_cmd_buf_desc_list()
636 desc_list[0].paddr_ptr = &data->hdr_address; in snp_populate_cmd_buf_desc_list()
638 desc_list[1].paddr_ptr = &data->trans_address; in snp_populate_cmd_buf_desc_list()
645 desc_list[0].paddr_ptr = &data->guest_address; in snp_populate_cmd_buf_desc_list()
653 desc_list[0].paddr_ptr = &data->guest_address; in snp_populate_cmd_buf_desc_list()
680 desc->paddr_orig = *desc->paddr_ptr; in snp_map_cmd_buf_desc()
681 *desc->paddr_ptr = __psp_pa(page_to_virt(page)); in snp_map_cmd_buf_desc()
687 if (rmp_mark_pages_firmware(*desc->paddr_ptr, npages, true)) { in snp_map_cmd_buf_desc()
705 if (snp_reclaim_pages(*desc->paddr_ptr, npages, true)) { in snp_unmap_cmd_buf_desc()
712 void *bounce_buf = __va(__sme_clr(*desc->paddr_ptr)); in snp_unmap_cmd_buf_desc()
719 *desc->paddr_ptr = desc->paddr_orig; in snp_unmap_cmd_buf_desc()
734 if (!desc->paddr_ptr) in snp_map_cmd_buf_desc_list()
757 if (!desc->paddr_ptr) in snp_unmap_cmd_buf_desc_list()