Lines Matching refs:toc_buf
744 struct amdgpu_bo **toc_buf = &adev->smu.toc_buf; in tonga_smu_init() local
766 NULL, NULL, toc_buf); in tonga_smu_init()
783 ret = amdgpu_bo_reserve(adev->smu.toc_buf, false); in tonga_smu_init()
785 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
790 ret = amdgpu_bo_pin(adev->smu.toc_buf, AMDGPU_GEM_DOMAIN_VRAM, &mc_addr); in tonga_smu_init()
792 amdgpu_bo_unreserve(adev->smu.toc_buf); in tonga_smu_init()
793 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
798 ret = amdgpu_bo_kmap(*toc_buf, &toc_buf_ptr); in tonga_smu_init()
800 amdgpu_bo_unreserve(adev->smu.toc_buf); in tonga_smu_init()
801 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
806 amdgpu_bo_unreserve(adev->smu.toc_buf); in tonga_smu_init()
814 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
823 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
832 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_init()
848 amdgpu_bo_unref(&adev->smu.toc_buf); in tonga_smu_fini()