Searched refs:vbflash_tmp_buf (Results 1 – 2 of 2) sorted by relevance
3871 kvfree(adev->psp.vbflash_tmp_buf); in amdgpu_psp_vbflash_write()3872 adev->psp.vbflash_tmp_buf = NULL; in amdgpu_psp_vbflash_write()3878 if (!adev->psp.vbflash_tmp_buf) { in amdgpu_psp_vbflash_write()3879 adev->psp.vbflash_tmp_buf = kvmalloc(AMD_VBIOS_FILE_MAX_SIZE_B, GFP_KERNEL); in amdgpu_psp_vbflash_write()3880 if (!adev->psp.vbflash_tmp_buf) in amdgpu_psp_vbflash_write()3885 memcpy(adev->psp.vbflash_tmp_buf + pos, buffer, count); in amdgpu_psp_vbflash_write()3920 memcpy_toio(fw_pri_cpu_addr, adev->psp.vbflash_tmp_buf, adev->psp.vbflash_image_size); in amdgpu_psp_vbflash_read()3929 kvfree(adev->psp.vbflash_tmp_buf); in amdgpu_psp_vbflash_read()3930 adev->psp.vbflash_tmp_buf = NULL; in amdgpu_psp_vbflash_read()
402 char *vbflash_tmp_buf; member