Lines Matching refs:limit
78 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument
82 if ((smc_address + 3) > limit) in kv_set_smc_sram_address()
93 u32 *value, u32 limit) in amdgpu_kv_read_smc_sram_dword() argument
97 ret = kv_set_smc_sram_address(adev, smc_address, limit); in amdgpu_kv_read_smc_sram_dword()
123 const u8 *src, u32 byte_count, u32 limit) in amdgpu_kv_copy_bytes_to_smc() argument
128 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc()
138 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
164 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
177 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
192 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()
210 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc()