Searched refs:throttling_logging_rs (Results 1 – 4 of 4) sorted by relevance
1924 adev->throttling_logging_rs.interval / HZ + 1); in amdgpu_get_thermal_throttling_logging()1946 raw_spin_lock_irqsave(&adev->throttling_logging_rs.lock, flags); in amdgpu_set_thermal_throttling_logging()1951 adev->throttling_logging_rs.interval = in amdgpu_set_thermal_throttling_logging()1953 adev->throttling_logging_rs.begin = 0; in amdgpu_set_thermal_throttling_logging()1954 adev->throttling_logging_rs.printed = 0; in amdgpu_set_thermal_throttling_logging()1955 adev->throttling_logging_rs.missed = 0; in amdgpu_set_thermal_throttling_logging()1956 raw_spin_unlock_irqrestore(&adev->throttling_logging_rs.lock, flags); in amdgpu_set_thermal_throttling_logging()
995 struct ratelimit_state throttling_logging_rs; member
3285 ratelimit_state_init(&adev->throttling_logging_rs, (60 - 1) * HZ, 1); in amdgpu_device_init()3286 ratelimit_set_flags(&adev->throttling_logging_rs, RATELIMIT_MSG_ON_RELEASE); in amdgpu_device_init()
1378 if (__ratelimit(&adev->throttling_logging_rs)) in smu_v11_0_irq_process()