Home
last modified time | relevance | path

Searched refs:scrubrates (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/edac/
De752x_edac.c963 const struct scrubrate *scrubrates; in set_sdram_scrub_rate() local
969 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() local
999 scrubrates = scrubrates_i3100; in get_sdram_scrub_rate()
[all …]
Damd64_edac.c37 } scrubrates[] = { variable
177 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()