Lines Matching refs:limit
266 u16 smc_address, u16 limit) in rv770_set_smc_sram_address() argument
272 if ((smc_address + 3) > limit) in rv770_set_smc_sram_address()
285 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument
294 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc()
304 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc()
319 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc()
337 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc()
455 static void rv770_clear_smc_sram(struct radeon_device *rdev, u16 limit) in rv770_clear_smc_sram() argument
461 for (i = 0; i < limit; i += 4) { in rv770_clear_smc_sram()
462 rv770_set_smc_sram_address(rdev, i, limit); in rv770_clear_smc_sram()
469 u16 limit) in rv770_load_smc_ucode() argument
482 rv770_clear_smc_sram(rdev, limit); in rv770_load_smc_ucode()
578 ucode_data, ucode_size, limit); in rv770_load_smc_ucode()
592 u16 smc_address, u32 *value, u16 limit) in rv770_read_smc_sram_dword() argument
598 ret = rv770_set_smc_sram_address(rdev, smc_address, limit); in rv770_read_smc_sram_dword()
607 u16 smc_address, u32 value, u16 limit) in rv770_write_smc_sram_dword() argument
613 ret = rv770_set_smc_sram_address(rdev, smc_address, limit); in rv770_write_smc_sram_dword()