Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_clocks.c352 uint32_t req_clock, in calc_eng_mem_clock() argument
363 if (req_clock < 15000) { in calc_eng_mem_clock()
365 req_clock *= 8; in calc_eng_mem_clock()
368 req_clock *= 4; in calc_eng_mem_clock()
371 req_clock *= 2; in calc_eng_mem_clock()
375 req_clock *= ref_div; in calc_eng_mem_clock()
379 *fb_div = req_clock & 0xff; in calc_eng_mem_clock()
381 req_clock = (req_clock & 0xffff) << 1; in calc_eng_mem_clock()
383 req_clock /= ref_div; in calc_eng_mem_clock()
384 req_clock /= *post_div; in calc_eng_mem_clock()
[all …]