yclk              691 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk              718 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              722 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              723 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              728 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk              747 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              751 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              752 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              757 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             1040 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			wm_high.yclk =
yclk             1045 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			wm_high.yclk = adev->pm.current_mclk * 10;
yclk             1079 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			wm_low.yclk =
yclk             1084 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			wm_low.yclk = adev->pm.current_mclk * 10;
yclk              717 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk              744 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              748 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              749 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              754 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk              773 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              777 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              778 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              783 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             1066 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			wm_high.yclk =
yclk             1071 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			wm_high.yclk = adev->pm.current_mclk * 10;
yclk             1105 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			wm_low.yclk =
yclk             1110 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			wm_low.yclk = adev->pm.current_mclk * 10;
yclk              490 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk              517 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              521 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              522 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              527 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk              546 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              550 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              551 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              556 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk              848 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			wm_high.yclk =
yclk              853 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			wm_high.yclk = adev->pm.current_mclk * 10;
yclk              875 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			wm_low.yclk =
yclk              880 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			wm_low.yclk = adev->pm.current_mclk * 10;
yclk              626 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk              653 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              657 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              658 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              663 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk              682 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk              686 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	yclk.full = dfixed_const(wm->yclk);
yclk              687 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	yclk.full = dfixed_div(yclk, a);
yclk              692 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk              975 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			wm_high.yclk =
yclk              980 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			wm_high.yclk = adev->pm.current_mclk * 10;
yclk             1014 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			wm_low.yclk =
yclk             1019 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			wm_low.yclk = adev->pm.current_mclk * 10;
yclk              101 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 	struct bw_fixed yclk[3];
yclk              126 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 	yclk[low] = vbios->low_yclk;
yclk              127 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 	yclk[mid] = vbios->mid_yclk;
yclk              128 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 	yclk[high] = vbios->high_yclk;
yclk             1188 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			data->dmif_burst_time[i][j] = bw_max3(data->dmif_total_page_close_open_time, bw_div(data->total_display_reads_required_dram_access_data, (bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[i]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels)))), bw_div(data->total_display_reads_required_data, (bw_mul(bw_mul(sclk[j], vbios->data_return_bus_width), bw_frc_to_fixed(dceip->percent_of_ideal_port_bw_received_after_urgent_latency, 100)))));
yclk             1190 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 				data->mcifwr_burst_time[i][j] = bw_max3(data->mcifwr_total_page_close_open_time, bw_div(data->total_display_writes_required_dram_access_data, (bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[i]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_wrchannels)))), bw_div(data->total_display_writes_required_data, (bw_mul(sclk[j], vbios->data_return_bus_width))));
yclk             1529 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels));
yclk             1535 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels));
yclk             1539 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation, 100),yclk[low]),bw_div(bw_int_to_fixed(vbios->dram_channel_width_in_bits),bw_int_to_fixed(8))),bw_int_to_fixed(vbios->number_of_dram_channels)))
yclk             1540 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 				&& bw_ltn(bw_mul(data->required_dram_bandwidth_gbyte_per_second, bw_int_to_fixed(1000)), bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[low]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels))) && (data->cpup_state_change_enable == bw_def_no || (bw_mtn(data->blackout_duration_margin[low][s_high], bw_int_to_fixed(0)) && bw_ltn(data->dispclk_required_for_blackout_duration[low][s_high], vbios->high_voltage_max_dispclk))) && (data->cpuc_state_change_enable == bw_def_no || (bw_mtn(data->blackout_duration_margin[low][s_high], bw_int_to_fixed(0)) && bw_ltn(data->dispclk_required_for_blackout_duration[low][s_high], vbios->high_voltage_max_dispclk) && bw_ltn(data->dispclk_required_for_blackout_recovery[low][s_high], vbios->high_voltage_max_dispclk))) && (!data->increase_voltage_to_support_mclk_switch || data->nbp_state_change_enable == bw_def_no || (bw_mtn(data->min_dram_speed_change_margin[low][s_high], bw_int_to_fixed(0)) && bw_ltn(data->min_dram_speed_change_margin[low][s_high], bw_int_to_fixed(9999)) && bw_leq(data->dispclk_required_for_dram_speed_change[low][s_high], vbios->high_voltage_max_dispclk) && data->num_displays_with_margin[low][s_high] == number_of_displays_enabled_with_margin))) {
yclk             1543 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[low]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels));
yclk             1545 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation, 100),yclk[mid]),bw_div(bw_int_to_fixed(vbios->dram_channel_width_in_bits),bw_int_to_fixed(8))),bw_int_to_fixed(vbios->number_of_dram_channels)))
yclk             1546 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 				&& bw_ltn(bw_mul(data->required_dram_bandwidth_gbyte_per_second, bw_int_to_fixed(1000)), bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[mid]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels))) && (data->cpup_state_change_enable == bw_def_no || (bw_mtn(data->blackout_duration_margin[mid][s_high], bw_int_to_fixed(0)) && bw_ltn(data->dispclk_required_for_blackout_duration[mid][s_high], vbios->high_voltage_max_dispclk))) && (data->cpuc_state_change_enable == bw_def_no || (bw_mtn(data->blackout_duration_margin[mid][s_high], bw_int_to_fixed(0)) && bw_ltn(data->dispclk_required_for_blackout_duration[mid][s_high], vbios->high_voltage_max_dispclk) && bw_ltn(data->dispclk_required_for_blackout_recovery[mid][s_high], vbios->high_voltage_max_dispclk))) && (!data->increase_voltage_to_support_mclk_switch || data->nbp_state_change_enable == bw_def_no || (bw_mtn(data->min_dram_speed_change_margin[mid][s_high], bw_int_to_fixed(0)) && bw_ltn(data->min_dram_speed_change_margin[mid][s_high], bw_int_to_fixed(9999)) && bw_leq(data->dispclk_required_for_dram_speed_change[mid][s_high], vbios->high_voltage_max_dispclk) && data->num_displays_with_margin[mid][s_high] == number_of_displays_enabled_with_margin))) {
yclk             1549 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[mid]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels));
yclk             1551 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation, 100),yclk[high]),bw_div(bw_int_to_fixed(vbios->dram_channel_width_in_bits),bw_int_to_fixed(8))),bw_int_to_fixed(vbios->number_of_dram_channels)))
yclk             1552 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 				&& bw_ltn(bw_mul(data->required_dram_bandwidth_gbyte_per_second, bw_int_to_fixed(1000)), bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels)))) {
yclk             1555 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels));
yclk             1560 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			data->dram_bandwidth = bw_mul(bw_div(bw_mul(bw_mul(data->dram_efficiency, yclk[high]), bw_int_to_fixed(vbios->dram_channel_width_in_bits)), bw_int_to_fixed(8)), bw_int_to_fixed(data->number_of_dram_channels));
yclk             8921 drivers/gpu/drm/radeon/cik.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk             8948 drivers/gpu/drm/radeon/cik.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk             8952 drivers/gpu/drm/radeon/cik.c 	yclk.full = dfixed_const(wm->yclk);
yclk             8953 drivers/gpu/drm/radeon/cik.c 	yclk.full = dfixed_div(yclk, a);
yclk             8958 drivers/gpu/drm/radeon/cik.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             8977 drivers/gpu/drm/radeon/cik.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk             8981 drivers/gpu/drm/radeon/cik.c 	yclk.full = dfixed_const(wm->yclk);
yclk             8982 drivers/gpu/drm/radeon/cik.c 	yclk.full = dfixed_div(yclk, a);
yclk             8987 drivers/gpu/drm/radeon/cik.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             9271 drivers/gpu/drm/radeon/cik.c 			wm_high.yclk =
yclk             9276 drivers/gpu/drm/radeon/cik.c 			wm_high.yclk = rdev->pm.current_mclk * 10;
yclk             9311 drivers/gpu/drm/radeon/cik.c 			wm_low.yclk =
yclk             9316 drivers/gpu/drm/radeon/cik.c 			wm_low.yclk = rdev->pm.current_mclk * 10;
yclk             1933 drivers/gpu/drm/radeon/evergreen.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk             1951 drivers/gpu/drm/radeon/evergreen.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk             1955 drivers/gpu/drm/radeon/evergreen.c 	yclk.full = dfixed_const(wm->yclk);
yclk             1956 drivers/gpu/drm/radeon/evergreen.c 	yclk.full = dfixed_div(yclk, a);
yclk             1961 drivers/gpu/drm/radeon/evergreen.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             1971 drivers/gpu/drm/radeon/evergreen.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk             1975 drivers/gpu/drm/radeon/evergreen.c 	yclk.full = dfixed_const(wm->yclk);
yclk             1976 drivers/gpu/drm/radeon/evergreen.c 	yclk.full = dfixed_div(yclk, a);
yclk             1981 drivers/gpu/drm/radeon/evergreen.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             2181 drivers/gpu/drm/radeon/evergreen.c 			wm_high.yclk =
yclk             2186 drivers/gpu/drm/radeon/evergreen.c 			wm_high.yclk = rdev->pm.current_mclk * 10;
yclk             2208 drivers/gpu/drm/radeon/evergreen.c 			wm_low.yclk =
yclk             2213 drivers/gpu/drm/radeon/evergreen.c 			wm_low.yclk = rdev->pm.current_mclk * 10;
yclk             2059 drivers/gpu/drm/radeon/si.c 	u32 yclk;          /* bandwidth per dram data pin in kHz */
yclk             2077 drivers/gpu/drm/radeon/si.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk             2081 drivers/gpu/drm/radeon/si.c 	yclk.full = dfixed_const(wm->yclk);
yclk             2082 drivers/gpu/drm/radeon/si.c 	yclk.full = dfixed_div(yclk, a);
yclk             2087 drivers/gpu/drm/radeon/si.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             2097 drivers/gpu/drm/radeon/si.c 	fixed20_12 yclk, dram_channels, bandwidth;
yclk             2101 drivers/gpu/drm/radeon/si.c 	yclk.full = dfixed_const(wm->yclk);
yclk             2102 drivers/gpu/drm/radeon/si.c 	yclk.full = dfixed_div(yclk, a);
yclk             2107 drivers/gpu/drm/radeon/si.c 	bandwidth.full = dfixed_mul(dram_channels, yclk);
yclk             2330 drivers/gpu/drm/radeon/si.c 			wm_high.yclk =
yclk             2335 drivers/gpu/drm/radeon/si.c 			wm_high.yclk = rdev->pm.current_mclk * 10;
yclk             2357 drivers/gpu/drm/radeon/si.c 			wm_low.yclk =
yclk             2362 drivers/gpu/drm/radeon/si.c 			wm_low.yclk = rdev->pm.current_mclk * 10;