cac_tables 2677 drivers/gpu/drm/amd/amdgpu/si_dpm.c PP_SIslands_CacConfig *cac_tables, cac_tables 2709 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = cac_tables 2717 drivers/gpu/drm/amd/amdgpu/si_dpm.c PP_SIslands_CacConfig *cac_tables, cac_tables 2745 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = cac_tables 2755 drivers/gpu/drm/amd/amdgpu/si_dpm.c PP_SIslands_CacConfig *cac_tables = NULL; cac_tables 2765 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables = kzalloc(sizeof(PP_SIslands_CacConfig), GFP_KERNEL); cac_tables 2766 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (!cac_tables) cac_tables 2791 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = si_init_dte_leakage_table(adev, cac_tables, cac_tables 2795 drivers/gpu/drm/amd/amdgpu/si_dpm.c ret = si_init_simplified_leakage_table(adev, cac_tables, cac_tables 2802 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); cac_tables 2803 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lts_truncate_n = si_pi->dyn_powertune_data.lts_truncate; cac_tables 2804 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->SHIFT_N = si_pi->dyn_powertune_data.shift_n; cac_tables 2805 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_V0 = cpu_to_be32((u32)vddc_min); cac_tables 2806 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_Vstep = cpu_to_be32((u32)vddc_step); cac_tables 2807 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->R_LL = cpu_to_be32(load_line_slope); cac_tables 2808 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->WinTime = cpu_to_be32(si_pi->dyn_powertune_data.wintime); cac_tables 2809 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->calculation_repeats = cpu_to_be32(2); cac_tables 2810 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->dc_cac = cpu_to_be32(0); cac_tables 2811 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->log2_PG_LKG_SCALE = 12; cac_tables 2812 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->cac_temp = si_pi->powertune_data->operating_temp; cac_tables 2813 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_T0 = cpu_to_be32((u32)t0); cac_tables 2814 drivers/gpu/drm/amd/amdgpu/si_dpm.c cac_tables->lkge_lut_Tstep = cpu_to_be32((u32)t_step); cac_tables 2817 drivers/gpu/drm/amd/amdgpu/si_dpm.c (u8 *)cac_tables, cac_tables 2832 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(cac_tables); cac_tables 3047 drivers/gpu/drm/radeon/ni_dpm.c PP_NIslands_CACTABLES *cac_tables) cac_tables 3082 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(smc_leakage); cac_tables 3088 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(max_leakage); cac_tables 3094 drivers/gpu/drm/radeon/ni_dpm.c PP_NIslands_CACTABLES *cac_tables) cac_tables 3127 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_lkge_lut[i][j] = cac_tables 3133 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_lkge_lut[i][j] = cac_tables 3143 drivers/gpu/drm/radeon/ni_dpm.c PP_NIslands_CACTABLES *cac_tables = NULL; cac_tables 3150 drivers/gpu/drm/radeon/ni_dpm.c cac_tables = kzalloc(sizeof(PP_NIslands_CACTABLES), GFP_KERNEL); cac_tables 3151 drivers/gpu/drm/radeon/ni_dpm.c if (!cac_tables) cac_tables 3163 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->cac_bif_lut[i] = ni_pi->cac_weights->pcie_cac[i]; cac_tables 3177 drivers/gpu/drm/radeon/ni_dpm.c ret = ni_init_driver_calculated_leakage_table(rdev, cac_tables); cac_tables 3179 drivers/gpu/drm/radeon/ni_dpm.c ret = ni_init_simplified_leakage_table(rdev, cac_tables); cac_tables 3184 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->pwr_const = cpu_to_be32(ni_pi->cac_data.pwr_const); cac_tables 3185 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->dc_cacValue = cpu_to_be32(ni_pi->cac_data.dc_cac_value); cac_tables 3186 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->bif_cacValue = cpu_to_be32(ni_pi->cac_data.bif_cac_value); cac_tables 3187 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->AllowOvrflw = ni_pi->cac_data.allow_ovrflw; cac_tables 3188 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->MCWrWeight = ni_pi->cac_data.mc_wr_weight; cac_tables 3189 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->MCRdWeight = ni_pi->cac_data.mc_rd_weight; cac_tables 3190 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->numWin_TDP = ni_pi->cac_data.num_win_tdp; cac_tables 3191 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->l2numWin_TDP = ni_pi->cac_data.l2num_win_tdp; cac_tables 3192 drivers/gpu/drm/radeon/ni_dpm.c cac_tables->lts_truncate_n = ni_pi->cac_data.lts_truncate_n; cac_tables 3194 drivers/gpu/drm/radeon/ni_dpm.c ret = rv770_copy_bytes_to_smc(rdev, ni_pi->cac_table_start, (u8 *)cac_tables, cac_tables 3203 drivers/gpu/drm/radeon/ni_dpm.c kfree(cac_tables); cac_tables 2580 drivers/gpu/drm/radeon/si_dpm.c PP_SIslands_CacConfig *cac_tables, cac_tables 2612 drivers/gpu/drm/radeon/si_dpm.c cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = cac_tables 2620 drivers/gpu/drm/radeon/si_dpm.c PP_SIslands_CacConfig *cac_tables, cac_tables 2648 drivers/gpu/drm/radeon/si_dpm.c cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = cac_tables 2658 drivers/gpu/drm/radeon/si_dpm.c PP_SIslands_CacConfig *cac_tables = NULL; cac_tables 2668 drivers/gpu/drm/radeon/si_dpm.c cac_tables = kzalloc(sizeof(PP_SIslands_CacConfig), GFP_KERNEL); cac_tables 2669 drivers/gpu/drm/radeon/si_dpm.c if (!cac_tables) cac_tables 2694 drivers/gpu/drm/radeon/si_dpm.c ret = si_init_dte_leakage_table(rdev, cac_tables, cac_tables 2698 drivers/gpu/drm/radeon/si_dpm.c ret = si_init_simplified_leakage_table(rdev, cac_tables, cac_tables 2705 drivers/gpu/drm/radeon/si_dpm.c cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); cac_tables 2706 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lts_truncate_n = si_pi->dyn_powertune_data.lts_truncate; cac_tables 2707 drivers/gpu/drm/radeon/si_dpm.c cac_tables->SHIFT_N = si_pi->dyn_powertune_data.shift_n; cac_tables 2708 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_V0 = cpu_to_be32((u32)vddc_min); cac_tables 2709 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_Vstep = cpu_to_be32((u32)vddc_step); cac_tables 2710 drivers/gpu/drm/radeon/si_dpm.c cac_tables->R_LL = cpu_to_be32(load_line_slope); cac_tables 2711 drivers/gpu/drm/radeon/si_dpm.c cac_tables->WinTime = cpu_to_be32(si_pi->dyn_powertune_data.wintime); cac_tables 2712 drivers/gpu/drm/radeon/si_dpm.c cac_tables->calculation_repeats = cpu_to_be32(2); cac_tables 2713 drivers/gpu/drm/radeon/si_dpm.c cac_tables->dc_cac = cpu_to_be32(0); cac_tables 2714 drivers/gpu/drm/radeon/si_dpm.c cac_tables->log2_PG_LKG_SCALE = 12; cac_tables 2715 drivers/gpu/drm/radeon/si_dpm.c cac_tables->cac_temp = si_pi->powertune_data->operating_temp; cac_tables 2716 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_T0 = cpu_to_be32((u32)t0); cac_tables 2717 drivers/gpu/drm/radeon/si_dpm.c cac_tables->lkge_lut_Tstep = cpu_to_be32((u32)t_step); cac_tables 2719 drivers/gpu/drm/radeon/si_dpm.c ret = si_copy_bytes_to_smc(rdev, si_pi->cac_table_start, (u8 *)cac_tables, cac_tables 2733 drivers/gpu/drm/radeon/si_dpm.c kfree(cac_tables);