dte_tables 2570 drivers/gpu/drm/amd/amdgpu/si_dpm.c Smc_SIslands_DTE_Configuration *dte_tables = NULL; dte_tables 2584 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables = kzalloc(sizeof(Smc_SIslands_DTE_Configuration), GFP_KERNEL); dte_tables 2585 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (dte_tables == NULL) { dte_tables 2599 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->K = cpu_to_be32(table_size); dte_tables 2600 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->T0 = cpu_to_be32(dte_data->t0); dte_tables 2601 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->MaxT = cpu_to_be32(dte_data->max_t); dte_tables 2602 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->WindowSize = dte_data->window_size; dte_tables 2603 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->temp_select = dte_data->temp_select; dte_tables 2604 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->DTE_mode = dte_data->dte_mode; dte_tables 2605 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tthreshold = cpu_to_be32(dte_data->t_threshold); dte_tables 2611 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->tau[i] = cpu_to_be32(dte_data->tau[i]); dte_tables 2612 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->R[i] = cpu_to_be32(dte_data->r[i]); dte_tables 2615 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tdep_count = tdep_count; dte_tables 2618 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->T_limits[i] = dte_data->t_limits[i]; dte_tables 2619 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tdep_tau[i] = cpu_to_be32(dte_data->tdep_tau[i]); dte_tables 2620 drivers/gpu/drm/amd/amdgpu/si_dpm.c dte_tables->Tdep_R[i] = cpu_to_be32(dte_data->tdep_r[i]); dte_tables 2624 drivers/gpu/drm/amd/amdgpu/si_dpm.c (u8 *)dte_tables, dte_tables 2627 drivers/gpu/drm/amd/amdgpu/si_dpm.c kfree(dte_tables); dte_tables 2474 drivers/gpu/drm/radeon/si_dpm.c Smc_SIslands_DTE_Configuration *dte_tables = NULL; dte_tables 2488 drivers/gpu/drm/radeon/si_dpm.c dte_tables = kzalloc(sizeof(Smc_SIslands_DTE_Configuration), GFP_KERNEL); dte_tables 2489 drivers/gpu/drm/radeon/si_dpm.c if (dte_tables == NULL) { dte_tables 2503 drivers/gpu/drm/radeon/si_dpm.c dte_tables->K = cpu_to_be32(table_size); dte_tables 2504 drivers/gpu/drm/radeon/si_dpm.c dte_tables->T0 = cpu_to_be32(dte_data->t0); dte_tables 2505 drivers/gpu/drm/radeon/si_dpm.c dte_tables->MaxT = cpu_to_be32(dte_data->max_t); dte_tables 2506 drivers/gpu/drm/radeon/si_dpm.c dte_tables->WindowSize = dte_data->window_size; dte_tables 2507 drivers/gpu/drm/radeon/si_dpm.c dte_tables->temp_select = dte_data->temp_select; dte_tables 2508 drivers/gpu/drm/radeon/si_dpm.c dte_tables->DTE_mode = dte_data->dte_mode; dte_tables 2509 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tthreshold = cpu_to_be32(dte_data->t_threshold); dte_tables 2515 drivers/gpu/drm/radeon/si_dpm.c dte_tables->tau[i] = cpu_to_be32(dte_data->tau[i]); dte_tables 2516 drivers/gpu/drm/radeon/si_dpm.c dte_tables->R[i] = cpu_to_be32(dte_data->r[i]); dte_tables 2519 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tdep_count = tdep_count; dte_tables 2522 drivers/gpu/drm/radeon/si_dpm.c dte_tables->T_limits[i] = dte_data->t_limits[i]; dte_tables 2523 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tdep_tau[i] = cpu_to_be32(dte_data->tdep_tau[i]); dte_tables 2524 drivers/gpu/drm/radeon/si_dpm.c dte_tables->Tdep_R[i] = cpu_to_be32(dte_data->tdep_r[i]); dte_tables 2527 drivers/gpu/drm/radeon/si_dpm.c ret = si_copy_bytes_to_smc(rdev, si_pi->dte_table_start, (u8 *)dte_tables, dte_tables 2529 drivers/gpu/drm/radeon/si_dpm.c kfree(dte_tables);