Searched refs:ip_blocks (Results 1 – 6 of 6) sorted by relevance
79 if (!(adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_suspend_ip()81 adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_suspend_ip()85 r = adev->ip_blocks[i].version->funcs->suspend(adev); in sienna_cichlid_mode2_suspend_ip()90 adev->ip_blocks[i].version->funcs->name, r); in sienna_cichlid_mode2_suspend_ip()93 adev->ip_blocks[i].status.hw = false; in sienna_cichlid_mode2_suspend_ip()178 if (adev->ip_blocks[i].version->type == AMD_IP_BLOCK_TYPE_IH) { in sienna_cichlid_mode2_restore_ip()179 r = adev->ip_blocks[i].version->funcs->resume(adev); in sienna_cichlid_mode2_restore_ip()183 adev->ip_blocks[i].version->funcs->name, r); in sienna_cichlid_mode2_restore_ip()187 adev->ip_blocks[i].status.hw = true; in sienna_cichlid_mode2_restore_ip()192 if (!(adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_restore_ip()[all …]
1654 if (!adev->ip_blocks[i].status.valid) in amdgpu_device_ip_set_clockgating_state()1656 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_clockgating_state()1658 if (!adev->ip_blocks[i].version->funcs->set_clockgating_state) in amdgpu_device_ip_set_clockgating_state()1660 r = adev->ip_blocks[i].version->funcs->set_clockgating_state( in amdgpu_device_ip_set_clockgating_state()1664 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_clockgating_state()1688 if (!adev->ip_blocks[i].status.valid) in amdgpu_device_ip_set_powergating_state()1690 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_powergating_state()1692 if (!adev->ip_blocks[i].version->funcs->set_powergating_state) in amdgpu_device_ip_set_powergating_state()1694 r = adev->ip_blocks[i].version->funcs->set_powergating_state( in amdgpu_device_ip_set_powergating_state()1698 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_powergating_state()[all …]
85 if (!(adev->ip_blocks[i].version->type == in aldebaran_mode2_suspend_ip()87 adev->ip_blocks[i].version->type == in aldebaran_mode2_suspend_ip()91 r = adev->ip_blocks[i].version->funcs->suspend(adev); in aldebaran_mode2_suspend_ip()96 adev->ip_blocks[i].version->funcs->name, r); in aldebaran_mode2_suspend_ip()100 adev->ip_blocks[i].status.hw = false; in aldebaran_mode2_suspend_ip()283 if (!(adev->ip_blocks[i].version->type == in aldebaran_mode2_restore_ip()285 adev->ip_blocks[i].version->type == in aldebaran_mode2_restore_ip()288 r = adev->ip_blocks[i].version->funcs->resume(adev); in aldebaran_mode2_restore_ip()292 adev->ip_blocks[i].version->funcs->name, r); in aldebaran_mode2_restore_ip()296 adev->ip_blocks[i].status.hw = true; in aldebaran_mode2_restore_ip()[all …]
474 if (adev->ip_blocks[i].version->type == type && in amdgpu_hw_ip_info()475 adev->ip_blocks[i].status.valid) in amdgpu_hw_ip_info()484 result->hw_ip_version_major = adev->ip_blocks[i].version->major; in amdgpu_hw_ip_info()485 result->hw_ip_version_minor = adev->ip_blocks[i].version->minor; in amdgpu_hw_ip_info()614 if (adev->ip_blocks[i].version->type == type && in amdgpu_info_ioctl()615 adev->ip_blocks[i].status.valid && in amdgpu_info_ioctl()
965 struct amdgpu_ip_block ip_blocks[AMDGPU_MAX_IP_NUM]; member
3409 if (!adev->ip_blocks[AMD_IP_BLOCK_TYPE_PSP].status.late_initialized) { in psp_usbc_pd_fw_sysfs_read()3440 if (!adev->ip_blocks[AMD_IP_BLOCK_TYPE_PSP].status.late_initialized) { in psp_usbc_pd_fw_sysfs_write()