Lines Matching refs:limit
278 u16 smc_address, u16 limit) in rv770_set_smc_sram_address() argument
284 if ((smc_address + 3) > limit) in rv770_set_smc_sram_address()
297 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument
306 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc()
316 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc()
331 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc()
349 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc()
467 static void rv770_clear_smc_sram(struct radeon_device *rdev, u16 limit) in rv770_clear_smc_sram() argument
473 for (i = 0; i < limit; i += 4) { in rv770_clear_smc_sram()
474 rv770_set_smc_sram_address(rdev, i, limit); in rv770_clear_smc_sram()
481 u16 limit) in rv770_load_smc_ucode() argument
494 rv770_clear_smc_sram(rdev, limit); in rv770_load_smc_ucode()
590 ucode_data, ucode_size, limit); in rv770_load_smc_ucode()
604 u16 smc_address, u32 *value, u16 limit) in rv770_read_smc_sram_dword() argument
610 ret = rv770_set_smc_sram_address(rdev, smc_address, limit); in rv770_read_smc_sram_dword()
619 u16 smc_address, u32 value, u16 limit) in rv770_write_smc_sram_dword() argument
625 ret = rv770_set_smc_sram_address(rdev, smc_address, limit); in rv770_write_smc_sram_dword()