Home
last modified time | relevance | path

Searched refs:ip_blocks (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1478 if (!adev->ip_blocks[i].status.valid) in amdgpu_device_ip_set_clockgating_state()
1480 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_clockgating_state()
1482 if (!adev->ip_blocks[i].version->funcs->set_clockgating_state) in amdgpu_device_ip_set_clockgating_state()
1484 r = adev->ip_blocks[i].version->funcs->set_clockgating_state( in amdgpu_device_ip_set_clockgating_state()
1488 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_clockgating_state()
1512 if (!adev->ip_blocks[i].status.valid) in amdgpu_device_ip_set_powergating_state()
1514 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_powergating_state()
1516 if (!adev->ip_blocks[i].version->funcs->set_powergating_state) in amdgpu_device_ip_set_powergating_state()
1518 r = adev->ip_blocks[i].version->funcs->set_powergating_state( in amdgpu_device_ip_set_powergating_state()
1522 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_powergating_state()
[all …]
Damdgpu_kms.c449 if (adev->ip_blocks[i].version->type == type && in amdgpu_hw_ip_info()
450 adev->ip_blocks[i].status.valid) in amdgpu_hw_ip_info()
459 result->hw_ip_version_major = adev->ip_blocks[i].version->major; in amdgpu_hw_ip_info()
460 result->hw_ip_version_minor = adev->ip_blocks[i].version->minor; in amdgpu_hw_ip_info()
565 if (adev->ip_blocks[i].version->type == type && in amdgpu_info_ioctl()
566 adev->ip_blocks[i].status.valid && in amdgpu_info_ioctl()
Damdgpu.h932 struct amdgpu_ip_block ip_blocks[AMDGPU_MAX_IP_NUM]; member
Damdgpu_psp.c2649 if (!adev->ip_blocks[AMD_IP_BLOCK_TYPE_PSP].status.late_initialized) { in psp_usbc_pd_fw_sysfs_read()
2679 if (!adev->ip_blocks[AMD_IP_BLOCK_TYPE_PSP].status.late_initialized) { in psp_usbc_pd_fw_sysfs_write()