calculated_states 3162 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c struct _vcs_dpi_voltage_scaling_st calculated_states[MAX_CLOCK_LIMIT_STATES]; calculated_states 3170 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c memset(calculated_states, 0, sizeof(calculated_states)); calculated_states 3181 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].state = i; calculated_states 3182 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].dram_speed_mts = uclk_states[i] * 16 / 1000; calculated_states 3187 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].fabricclk_mhz = (min_fclk_required_by_uclk < min_dcfclk) ? calculated_states 3190 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].socclk_mhz = (calculated_states[i].fabricclk_mhz > max_clocks->socClockInKhz / 1000) ? calculated_states 3191 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c max_clocks->socClockInKhz / 1000 : calculated_states[i].fabricclk_mhz; calculated_states 3193 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].dcfclk_mhz = (calculated_states[i].fabricclk_mhz > max_clocks->dcfClockInKhz / 1000) ? calculated_states 3194 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c max_clocks->dcfClockInKhz / 1000 : calculated_states[i].fabricclk_mhz; calculated_states 3196 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].dispclk_mhz = max_clocks->displayClockInKhz / 1000; calculated_states 3197 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].dppclk_mhz = max_clocks->displayClockInKhz / 1000; calculated_states 3198 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].dscclk_mhz = max_clocks->displayClockInKhz / (1000 * 3); calculated_states 3200 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[i].phyclk_mhz = max_clocks->phyClockInKhz / 1000; calculated_states 3205 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[num_calculated_states - 1].socclk_mhz = max_clocks->socClockInKhz / 1000; calculated_states 3206 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[num_calculated_states - 1].fabricclk_mhz = max_clocks->socClockInKhz / 1000; calculated_states 3207 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c calculated_states[num_calculated_states - 1].dcfclk_mhz = max_clocks->dcfClockInKhz / 1000; calculated_states 3209 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c memcpy(bb->clock_limits, calculated_states, sizeof(bb->clock_limits));