Home
last modified time | relevance | path

Searched refs:cac_tables (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dni_dpm.c3050 PP_NIslands_CACTABLES *cac_tables) in ni_init_driver_calculated_leakage_table() argument
3085 cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(smc_leakage); in ni_init_driver_calculated_leakage_table()
3091 cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(max_leakage); in ni_init_driver_calculated_leakage_table()
3097 PP_NIslands_CACTABLES *cac_tables) in ni_init_simplified_leakage_table() argument
3130 cac_tables->cac_lkge_lut[i][j] = in ni_init_simplified_leakage_table()
3136 cac_tables->cac_lkge_lut[i][j] = in ni_init_simplified_leakage_table()
3146 PP_NIslands_CACTABLES *cac_tables = NULL; in ni_initialize_smc_cac_tables() local
3153 cac_tables = kzalloc(sizeof(PP_NIslands_CACTABLES), GFP_KERNEL); in ni_initialize_smc_cac_tables()
3154 if (!cac_tables) in ni_initialize_smc_cac_tables()
3166 cac_tables->cac_bif_lut[i] = ni_pi->cac_weights->pcie_cac[i]; in ni_initialize_smc_cac_tables()
[all …]
H A Dsi_dpm.c2558 PP_SIslands_CacConfig *cac_tables, in si_init_dte_leakage_table() argument
2590 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_dte_leakage_table()
2598 PP_SIslands_CacConfig *cac_tables, in si_init_simplified_leakage_table() argument
2626 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_simplified_leakage_table()
2636 PP_SIslands_CacConfig *cac_tables = NULL; in si_initialize_smc_cac_tables() local
2646 cac_tables = kzalloc(sizeof(PP_SIslands_CacConfig), GFP_KERNEL); in si_initialize_smc_cac_tables()
2647 if (!cac_tables) in si_initialize_smc_cac_tables()
2672 ret = si_init_dte_leakage_table(rdev, cac_tables, in si_initialize_smc_cac_tables()
2676 ret = si_init_simplified_leakage_table(rdev, cac_tables, in si_initialize_smc_cac_tables()
2683 cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); in si_initialize_smc_cac_tables()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c2672 PP_SIslands_CacConfig *cac_tables, in si_init_dte_leakage_table() argument
2704 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_dte_leakage_table()
2712 PP_SIslands_CacConfig *cac_tables, in si_init_simplified_leakage_table() argument
2740 cac_tables->cac_lkge_lut[i][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES-1-j] = in si_init_simplified_leakage_table()
2750 PP_SIslands_CacConfig *cac_tables = NULL; in si_initialize_smc_cac_tables() local
2760 cac_tables = kzalloc(sizeof(PP_SIslands_CacConfig), GFP_KERNEL); in si_initialize_smc_cac_tables()
2761 if (!cac_tables) in si_initialize_smc_cac_tables()
2786 ret = si_init_dte_leakage_table(adev, cac_tables, in si_initialize_smc_cac_tables()
2790 ret = si_init_simplified_leakage_table(adev, cac_tables, in si_initialize_smc_cac_tables()
2797 cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size); in si_initialize_smc_cac_tables()
[all …]