Searched refs:smc_idx_lock (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | ci_smc.c | 64 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in ci_copy_bytes_to_smc() 109 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in ci_copy_bytes_to_smc() 228 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in ci_load_smc_ucode() 241 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in ci_load_smc_ucode() 252 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in ci_read_smc_sram_dword() 256 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in ci_read_smc_sram_dword() 267 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in ci_write_smc_sram_dword() 271 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in ci_write_smc_sram_dword()
|
D | si_smc.c | 62 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in si_copy_bytes_to_smc() 108 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in si_copy_bytes_to_smc() 264 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in si_load_smc_ucode() 277 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in si_load_smc_ucode() 288 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in si_read_smc_sram_dword() 292 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in si_read_smc_sram_dword() 303 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in si_write_smc_sram_dword() 307 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in si_write_smc_sram_dword()
|
D | rv770_smc.c | 311 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in rv770_copy_bytes_to_smc() 357 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in rv770_copy_bytes_to_smc() 472 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in rv770_clear_smc_sram() 477 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in rv770_clear_smc_sram() 609 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in rv770_read_smc_sram_dword() 613 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in rv770_read_smc_sram_dword() 624 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in rv770_write_smc_sram_dword() 628 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in rv770_write_smc_sram_dword()
|
D | ni.c | 52 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in tn_smc_rreg() 55 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in tn_smc_rreg() 63 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in tn_smc_wreg() 66 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in tn_smc_wreg()
|
D | radeon_device.c | 1383 spin_lock_init(&rdev->smc_idx_lock); in radeon_device_init()
|
D | radeon.h | 2368 spinlock_t smc_idx_lock; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_smc.c | 62 spin_lock_irqsave(&adev->smc_idx_lock, flags); in amdgpu_si_copy_bytes_to_smc() 106 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in amdgpu_si_copy_bytes_to_smc() 227 spin_lock_irqsave(&adev->smc_idx_lock, flags); in amdgpu_si_load_smc_ucode() 240 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in amdgpu_si_load_smc_ucode() 251 spin_lock_irqsave(&adev->smc_idx_lock, flags); in amdgpu_si_read_smc_sram_dword() 255 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in amdgpu_si_read_smc_sram_dword() 266 spin_lock_irqsave(&adev->smc_idx_lock, flags); in amdgpu_si_write_smc_sram_dword() 270 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in amdgpu_si_write_smc_sram_dword()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | vi.c | 332 spin_lock_irqsave(&adev->smc_idx_lock, flags); in vi_smc_rreg() 335 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in vi_smc_rreg() 343 spin_lock_irqsave(&adev->smc_idx_lock, flags); in vi_smc_wreg() 346 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in vi_smc_wreg() 358 spin_lock_irqsave(&adev->smc_idx_lock, flags); in cz_smc_rreg() 361 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in cz_smc_rreg() 369 spin_lock_irqsave(&adev->smc_idx_lock, flags); in cz_smc_wreg() 372 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in cz_smc_wreg() 655 spin_lock_irqsave(&adev->smc_idx_lock, flags); in vi_read_bios_from_rom() 663 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in vi_read_bios_from_rom()
|
D | cik.c | 182 spin_lock_irqsave(&adev->smc_idx_lock, flags); in cik_smc_rreg() 185 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in cik_smc_rreg() 193 spin_lock_irqsave(&adev->smc_idx_lock, flags); in cik_smc_wreg() 196 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in cik_smc_wreg() 1030 spin_lock_irqsave(&adev->smc_idx_lock, flags); in cik_read_bios_from_rom() 1038 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in cik_read_bios_from_rom()
|
D | si.c | 1073 spin_lock_irqsave(&adev->smc_idx_lock, flags); in si_smc_rreg() 1076 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in si_smc_rreg() 1084 spin_lock_irqsave(&adev->smc_idx_lock, flags); in si_smc_wreg() 1087 spin_unlock_irqrestore(&adev->smc_idx_lock, flags); in si_smc_wreg()
|
D | amdgpu.h | 805 spinlock_t smc_idx_lock; member
|
D | amdgpu_device.c | 3596 spin_lock_init(&adev->smc_idx_lock); in amdgpu_device_init()
|