Home
last modified time | relevance | path

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

/linux/drivers/edac/
H A De752x_edac.c990 const struct scrubrate *scrubrates; in set_sdram_scrub_rate() local
996 scrubrates = scrubrates_i3100; in set_sdram_scrub_rate()
998 scrubrates = scrubrates_e752x; in set_sdram_scrub_rate()
1004 for (i = 0; scrubrates[i].bandwidth != SDRATE_EOT; i++) in set_sdram_scrub_rate()
1005 if (scrubrates[i].bandwidth >= new_bw) in set_sdram_scrub_rate()
1008 if (scrubrates[i].bandwidth == SDRATE_EOT) in set_sdram_scrub_rate()
1011 pci_write_config_word(pdev, E752X_MCHSCRB, scrubrates[i].scrubval); in set_sdram_scrub_rate()
1013 return scrubrates[i].bandwidth; in set_sdram_scrub_rate()
1019 const struct scrubrate *scrubrates; in get_sdram_scrub_rate() local
1026 scrubrates = scrubrates_i3100; in get_sdram_scrub_rate()
[all …]
H A Damd64_edac.c47 } scrubrates[] = { variable
201 for (i = 0; i < ARRAY_SIZE(scrubrates) - 1; i++) { in __set_scrub_rate()
206 if (scrubrates[i].scrubval < min_rate) in __set_scrub_rate()
209 if (scrubrates[i].bandwidth <= new_bw) in __set_scrub_rate()
213 scrubval = scrubrates[i].scrubval; in __set_scrub_rate()
225 return scrubrates[i].bandwidth; in __set_scrub_rate()
270 for (i = 0; i < ARRAY_SIZE(scrubrates); i++) { in get_scrub_rate()
271 if (scrubrates[i].scrubval == scrubval) { in get_scrub_rate()
272 retval = scrubrates[i].bandwidth; in get_scrub_rate()