Searched refs:scrubrates (Results 1 – 2 of 2) sorted by relevance
963 const struct scrubrate *scrubrates; in set_sdram_scrub_rate() local969 scrubrates = scrubrates_i3100; in set_sdram_scrub_rate()971 scrubrates = scrubrates_e752x; in set_sdram_scrub_rate()977 for (i = 0; scrubrates[i].bandwidth != SDRATE_EOT; i++) in set_sdram_scrub_rate()978 if (scrubrates[i].bandwidth >= new_bw) in set_sdram_scrub_rate()981 if (scrubrates[i].bandwidth == SDRATE_EOT) in set_sdram_scrub_rate()984 pci_write_config_word(pdev, E752X_MCHSCRB, scrubrates[i].scrubval); in set_sdram_scrub_rate()986 return scrubrates[i].bandwidth; in set_sdram_scrub_rate()992 const struct scrubrate *scrubrates; in get_sdram_scrub_rate() local999 scrubrates = scrubrates_i3100; in get_sdram_scrub_rate()[all …]
37 } scrubrates[] = { variable177 for (i = 0; i < ARRAY_SIZE(scrubrates) - 1; i++) { in __amd64_set_scrub_rate()182 if (scrubrates[i].scrubval < min_rate) in __amd64_set_scrub_rate()185 if (scrubrates[i].bandwidth <= new_bw) in __amd64_set_scrub_rate()189 scrubval = scrubrates[i].scrubval; in __amd64_set_scrub_rate()194 return scrubrates[i].bandwidth; in __amd64_set_scrub_rate()228 for (i = 0; i < ARRAY_SIZE(scrubrates); i++) { in amd64_get_scrub_rate()229 if (scrubrates[i].scrubval == scrubval) { in amd64_get_scrub_rate()230 retval = scrubrates[i].bandwidth; in amd64_get_scrub_rate()