aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_mc.h')
-rw-r--r--drivers/edac/edac_mc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.h b/drivers/edac/edac_mc.h
index a1cfd4e3c97d..c41986a9ed5b 100644
--- a/drivers/edac/edac_mc.h
+++ b/drivers/edac/edac_mc.h
@@ -315,6 +315,18 @@ struct mem_ctl_info {
315 unsigned long scrub_cap; /* chipset scrub capabilities */ 315 unsigned long scrub_cap; /* chipset scrub capabilities */
316 enum scrub_type scrub_mode; /* current scrub mode */ 316 enum scrub_type scrub_mode; /* current scrub mode */
317 317
318 /* Translates sdram memory scrub rate given in bytes/sec to the
319 internal representation and configures whatever else needs
320 to be configured.
321 */
322 int (*set_sdram_scrub_rate) (struct mem_ctl_info *mci, u32 *bw);
323
324 /* Get the current sdram memory scrub rate from the internal
325 representation and converts it to the closest matching
326 bandwith in bytes/sec.
327 */
328 int (*get_sdram_scrub_rate) (struct mem_ctl_info *mci, u32 *bw);
329
318 /* pointer to edac checking routine */ 330 /* pointer to edac checking routine */
319 void (*edac_check) (struct mem_ctl_info * mci); 331 void (*edac_check) (struct mem_ctl_info * mci);
320 /* 332 /*