Searched refs:test_pattern (Results 1 – 5 of 5) sorted by relevance
203 u32 test_pattern = 0xdeadbeef; in ast2500_sdrammc_calc_size() local210 writel(test_pattern, write_addr_base + (ram_size >> 1)); in ast2500_sdrammc_calc_size()211 test_pattern = (test_pattern >> 4) | (test_pattern << 28); in ast2500_sdrammc_calc_size()215 writel(test_pattern, write_addr_base); in ast2500_sdrammc_calc_size()218 test_pattern = 0xdeadbeef; in ast2500_sdrammc_calc_size()221 if (readl(write_addr_base + (ram_size >> 1)) == test_pattern) in ast2500_sdrammc_calc_size()226 test_pattern = (test_pattern >> 4) | (test_pattern << 28); in ast2500_sdrammc_calc_size()
724 u32 test_pattern = 0xdeadbeef; in ast2600_sdrammc_calc_size() local731 writel(test_pattern, write_addr_base + (ram_size >> 1)); in ast2600_sdrammc_calc_size()732 test_pattern = (test_pattern >> 4) | (test_pattern << 28); in ast2600_sdrammc_calc_size()736 writel(test_pattern, write_addr_base); in ast2600_sdrammc_calc_size()739 test_pattern = 0xdeadbeef; in ast2600_sdrammc_calc_size()742 if (readl(write_addr_base + (ram_size >> 1)) == test_pattern) in ast2600_sdrammc_calc_size()747 test_pattern = (test_pattern >> 4) | (test_pattern << 28); in ast2600_sdrammc_calc_size()
242 static const unsigned int test_pattern[] = { variable266 for (i = 0; i < ARRAY_SIZE(test_pattern); i++) { in dmc_valid_window_test_vector()268 if ((read_data & mask) != (test_pattern[i] & mask)) in dmc_valid_window_test_vector()414 for (i = 0; i < ARRAY_SIZE(test_pattern); i++) in software_find_read_offset()415 writel(test_pattern[i], test_addr + i * 4 + ch * 0x80); in software_find_read_offset()
610 const u32 test_pattern = 0x5aa5f00f; in sdram_col_row_detect() local623 writel(test_pattern, addr); in sdram_col_row_detect()624 if ((readl(addr) == test_pattern) && in sdram_col_row_detect()642 writel(test_pattern, addr); in sdram_col_row_detect()643 if ((readl(addr) == test_pattern) && in sdram_col_row_detect()
115 static void test_pattern(void) in test_pattern() function205 test_pattern(); in lcd_clear()
Completed in 20 milliseconds