Searched refs:new_bw (Results 1 – 4 of 4) sorted by relevance
700 int new_bw = 0; in mci_sdram_scrub_rate_store() local705 new_bw = mci->set_sdram_scrub_rate(mci, bandwidth); in mci_sdram_scrub_rate_store()706 if (new_bw < 0) { in mci_sdram_scrub_rate_store()
2028 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate() argument2042 if (new_bw == 0) { in set_sdram_scrub_rate()2063 do_div(scrub_interval, new_bw); in set_sdram_scrub_rate()2082 return new_bw; in set_sdram_scrub_rate()
990 static int set_sdram_scrub_rate(struct mem_ctl_info *mci, u32 new_bw) in set_sdram_scrub_rate() argument1007 if (scrubrates[i].bandwidth >= new_bw) in set_sdram_scrub_rate()
176 static int __set_scrub_rate(struct amd64_pvt *pvt, u32 new_bw, u32 min_rate) in __set_scrub_rate() argument198 if (scrubrates[i].bandwidth <= new_bw) in __set_scrub_rate()