Searched refs:wck_ratio (Results 1 – 10 of 10) sorted by relevance
287 clk_table->entries[i].wck_ratio) in dcn35_update_bw_bounding_box_fpu()290 clk_table->entries[i].wck_ratio; in dcn35_update_bw_bounding_box_fpu()369 clk_table->entries[i].memclk_mhz * clk_table->entries[i].wck_ratio; in dcn35_update_bw_bounding_box_fpu()
321 clk_table->entries[i].wck_ratio) in dcn351_update_bw_bounding_box_fpu()324 clk_table->entries[i].wck_ratio; in dcn351_update_bw_bounding_box_fpu()403 clk_table->entries[i].memclk_mhz * clk_table->entries[i].wck_ratio; in dcn351_update_bw_bounding_box_fpu()
525 bw_params->clk_table.entries[i].wck_ratio = 2; in dcn316_clk_mgr_helper_populate_bw_params()528 bw_params->clk_table.entries[i].wck_ratio = 4; in dcn316_clk_mgr_helper_populate_bw_params()531 bw_params->clk_table.entries[i].wck_ratio = 1; in dcn316_clk_mgr_helper_populate_bw_params()
240 if (clk_table->entries[i].memclk_mhz && clk_table->entries[i].wck_ratio) in dcn314_update_bw_bounding_box_fpu()241 …_limits[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * 2 * clk_table->entries[i].wck_ratio; in dcn314_update_bw_bounding_box_fpu()
589 static unsigned int convert_wck_ratio(uint8_t wck_ratio) in convert_wck_ratio() argument591 switch (wck_ratio) { in convert_wck_ratio()679 bw_params->clk_table.entries[i].wck_ratio = convert_wck_ratio( in dcn314_clk_mgr_helper_populate_bw_params()695 bw_params->clk_table.entries[i].wck_ratio = convert_wck_ratio( in dcn314_clk_mgr_helper_populate_bw_params()
600 bw_params->clk_table.entries[i].wck_ratio = 2; in dcn31_clk_mgr_helper_populate_bw_params()603 bw_params->clk_table.entries[i].wck_ratio = 4; in dcn31_clk_mgr_helper_populate_bw_params()606 bw_params->clk_table.entries[i].wck_ratio = 1; in dcn31_clk_mgr_helper_populate_bw_params()
633 2 * clk_table->entries[i].wck_ratio; in dcn31_update_bw_bounding_box()700 …_limits[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * 2 * clk_table->entries[i].wck_ratio; in dcn315_update_bw_bounding_box()773 2 * clk_table->entries[i].wck_ratio; in dcn316_update_bw_bounding_box()
115 unsigned int wck_ratio; member
758 static unsigned int convert_wck_ratio(uint8_t wck_ratio) in convert_wck_ratio() argument760 switch (wck_ratio) { in convert_wck_ratio()860 bw_params->clk_table.entries[i].wck_ratio = in dcn35_clk_mgr_helper_populate_bw_params()881 bw_params->clk_table.entries[i].wck_ratio = convert_wck_ratio( in dcn35_clk_mgr_helper_populate_bw_params()
518 bw_params->clk_table.entries[i].wck_ratio = 1; in dcn315_clk_mgr_helper_populate_bw_params()527 bw_params->clk_table.entries[i].wck_ratio = 1; in dcn315_clk_mgr_helper_populate_bw_params()