| /OK3568_Linux_fs/u-boot/arch/x86/lib/ |
| H A D | sfi.c | 25 struct table_info { struct 33 static void *get_entry_start(struct table_info *tab) in get_entry_start() argument 44 static void finish_table(struct table_info *tab, const char *sig, void *entry) in finish_table() 61 static int sfi_write_system_header(struct table_info *tab) in sfi_write_system_header() 76 static int sfi_write_cpus(struct table_info *tab) in sfi_write_cpus() 104 static int sfi_write_apic(struct table_info *tab) in sfi_write_apic() 118 static int sfi_write_xsdt(struct table_info *tab) in sfi_write_xsdt() 136 struct table_info table; in write_sfi_table()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega10_hwmgr.c | 197 struct phm_ppt_v2_information *table_info = in vega10_set_features_platform_caps() local 286 if (table_info->tdp_table->usClockStretchAmount && in vega10_set_features_platform_caps() 307 struct phm_ppt_v2_information *table_info = in vega10_odn_initial_default_setting() local 325 vddc_lookup_table = table_info->vddc_lookup_table; in vega10_odn_initial_default_setting() 332 dep_table[0] = table_info->vdd_dep_on_sclk; in vega10_odn_initial_default_setting() 333 dep_table[1] = table_info->vdd_dep_on_mclk; in vega10_odn_initial_default_setting() 334 dep_table[2] = table_info->vdd_dep_on_socclk; in vega10_odn_initial_default_setting() 522 struct phm_ppt_v2_information *table_info = in vega10_get_socclk_for_voltage_evv() local 530 for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) { in vega10_get_socclk_for_voltage_evv() 531 voltage_id = table_info->vdd_dep_on_socclk->entries[entry_id].vddInd; in vega10_get_socclk_for_voltage_evv() [all …]
|
| H A D | smu7_hwmgr.c | 257 struct phm_ppt_v1_information *table_info = in smu7_construct_voltage_tables() local 272 table_info->vdd_dep_on_mclk); in smu7_construct_voltage_tables() 292 table_info->vdd_dep_on_mclk); in smu7_construct_voltage_tables() 304 table_info->vddgfx_lookup_table); in smu7_construct_voltage_tables() 323 table_info->vddc_lookup_table); in smu7_construct_voltage_tables() 576 struct phm_ppt_v1_information *table_info = in smu7_setup_default_pcie_table() local 587 if (table_info != NULL) in smu7_setup_default_pcie_table() 588 pcie_table = table_info->pcie_table; in smu7_setup_default_pcie_table() 808 struct phm_ppt_v1_information *table_info = in smu7_setup_dpm_tables_v1() local 815 if (table_info == NULL) in smu7_setup_dpm_tables_v1() [all …]
|
| H A D | smu_helper.c | 466 struct phm_ppt_v1_information *table_info = in phm_get_sclk_for_voltage_evv() local 472 for (entry_id = 0; entry_id < table_info->vdd_dep_on_sclk->count; entry_id++) { in phm_get_sclk_for_voltage_evv() 473 voltage_id = table_info->vdd_dep_on_sclk->entries[entry_id].vddInd; in phm_get_sclk_for_voltage_evv() 478 if (entry_id >= table_info->vdd_dep_on_sclk->count) { in phm_get_sclk_for_voltage_evv() 483 *sclk = table_info->vdd_dep_on_sclk->entries[entry_id].clk; in phm_get_sclk_for_voltage_evv() 536 struct phm_ppt_v1_information *table_info = in phm_apply_dal_min_voltage_request() local 539 table_info->vddc_dep_on_dal_pwrl; in phm_apply_dal_min_voltage_request() 556 vddc_table = table_info->vdd_dep_on_sclk; in phm_apply_dal_min_voltage_request()
|
| H A D | vega10_powertune.c | 1266 struct phm_ppt_v2_information *table_info = in vega10_initialize_power_tune_defaults() local 1268 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_initialize_power_tune_defaults() 1317 struct phm_ppt_v2_information *table_info = in vega10_enable_power_containment() local 1319 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_enable_power_containment()
|
| H A D | smu7_powertune.c | 1123 struct phm_ppt_v1_information *table_info = in smu7_enable_power_containment() local 1131 cac_table = table_info->cac_dtp_table; in smu7_enable_power_containment() 1213 struct phm_ppt_v1_information *table_info = in smu7_power_control_set_level() local 1221 cac_table = table_info->cac_dtp_table; in smu7_power_control_set_level()
|
| H A D | vega10_processpptables.c | 812 struct phm_ppt_v2_information *table_info = in get_pcie_table() local 830 pcie_count = table_info->vdd_dep_on_sclk->count; in get_pcie_table()
|
| H A D | vega12_hwmgr.c | 1799 struct phm_ppt_v2_information *table_info = in vega12_get_dal_power_level() 1802 &table_info->max_clock_voltage_on_ac; in vega12_get_dal_power_level()
|
| H A D | vega20_hwmgr.c | 2792 struct phm_ppt_v2_information *table_info = in vega20_get_dal_power_level() 2795 &table_info->max_clock_voltage_on_ac; in vega20_get_dal_power_level()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | vegam_smumgr.c | 335 struct phm_ppt_v1_information *table_info = in vegam_update_uvd_smc_table() local 339 if (table_info->mm_dep_table->count > 0) in vegam_update_uvd_smc_table() 341 (uint8_t) (table_info->mm_dep_table->count - 1); in vegam_update_uvd_smc_table() 368 struct phm_ppt_v1_information *table_info = in vegam_update_vce_smc_table() local 374 (uint8_t) (table_info->mm_dep_table->count - 1); in vegam_update_vce_smc_table() 400 struct phm_ppt_v1_information *table_info = in vegam_update_bif_smc_table() local 402 struct phm_ppt_v1_pcie_table *pcie_table = table_info->pcie_table; in vegam_update_bif_smc_table() 435 struct phm_ppt_v1_information *table_info = in vegam_initialize_power_tune_defaults() local 438 if (table_info && in vegam_initialize_power_tune_defaults() 439 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in vegam_initialize_power_tune_defaults() [all …]
|
| H A D | fiji_smumgr.c | 471 struct phm_ppt_v1_information *table_info = in fiji_initialize_power_tune_defaults() local 474 if (table_info && in fiji_initialize_power_tune_defaults() 475 table_info->cac_dtp_table->usPowerTuneDataSetID <= POWERTUNE_DEFAULT_SET_MAX && in fiji_initialize_power_tune_defaults() 476 table_info->cac_dtp_table->usPowerTuneDataSetID) in fiji_initialize_power_tune_defaults() 479 [table_info->cac_dtp_table->usPowerTuneDataSetID - 1]; in fiji_initialize_power_tune_defaults() 493 struct phm_ppt_v1_information *table_info = in fiji_populate_bapm_parameters_in_dpm_table() local 495 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in fiji_populate_bapm_parameters_in_dpm_table() 587 struct phm_ppt_v1_information *table_info = in fiji_populate_tdc_limit() local 594 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in fiji_populate_tdc_limit() 673 struct phm_ppt_v1_information *table_info = in fiji_populate_bapm_vddc_base_leakage_sidd() local [all …]
|
| H A D | polaris10_smumgr.c | 431 struct phm_ppt_v1_information *table_info = in polaris10_populate_bapm_parameters_in_dpm_table() local 433 struct phm_cac_tdp_table *cac_dtp_table = table_info->cac_dtp_table; in polaris10_populate_bapm_parameters_in_dpm_table() 490 struct phm_ppt_v1_information *table_info = in polaris10_populate_tdc_limit() local 494 tdc_limit = (uint16_t)(table_info->cac_dtp_table->usTDC * 128); in polaris10_populate_tdc_limit() 570 struct phm_ppt_v1_information *table_info = in polaris10_populate_bapm_vddc_base_leakage_sidd() local 574 struct phm_cac_tdp_table *cac_table = table_info->cac_dtp_table; in polaris10_populate_bapm_vddc_base_leakage_sidd() 705 struct phm_ppt_v1_information *table_info = in polaris10_populate_cac_table() local 708 table_info->vddc_lookup_table; in polaris10_populate_cac_table() 739 struct phm_ppt_v1_information *table_info = in polaris10_populate_ulv_level() local 745 state->VddcOffset = (uint16_t) table_info->us_ulv_voltage_offset; in polaris10_populate_ulv_level() [all …]
|
| H A D | tonga_smumgr.c | 482 struct phm_ppt_v1_information *table_info = in tonga_populate_ulv_level() local 488 state->VddcOffset = (uint16_t) table_info->us_ulv_voltage_offset; in tonga_populate_ulv_level() 489 state->VddcOffsetVid = (uint8_t)(table_info->us_ulv_voltage_offset * in tonga_populate_ulv_level() 1147 struct phm_ppt_v1_information *table_info = in tonga_populate_mvdd_value() local 1153 for (i = 0; i < table_info->vdd_dep_on_mclk->count; i++) { in tonga_populate_mvdd_value() 1154 if (mclk <= table_info->vdd_dep_on_mclk->entries[i].clk) { in tonga_populate_mvdd_value() 1162 PP_ASSERT_WITH_CODE(i < table_info->vdd_dep_on_mclk->count, in tonga_populate_mvdd_value() 1582 struct phm_ppt_v1_information *table_info = in tonga_populate_clock_stretcher_data_table() local 1585 table_info->vdd_dep_on_sclk; in tonga_populate_clock_stretcher_data_table() 1589 stretch_amount = (uint8_t)table_info->cac_dtp_table->usClockStretchAmount; in tonga_populate_clock_stretcher_data_table() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/aw883xx/ |
| H A D | aw_monitor.c | 233 struct aw_table_info table_info, in aw_monitor_first_get_data_form_table() argument 238 if (table_info.aw_table == NULL) { in aw_monitor_first_get_data_form_table() 243 for (i = 0; i < table_info.table_num; i++) { in aw_monitor_first_get_data_form_table() 244 if (data_trace->sum_val >= table_info.aw_table[i].min_val) { in aw_monitor_first_get_data_form_table() 245 memcpy(&data_trace->aw_table, &table_info.aw_table[i], in aw_monitor_first_get_data_form_table() 254 struct aw_table_info table_info, in aw_monitor_trace_data_from_table() argument 259 if (table_info.aw_table == NULL) { in aw_monitor_trace_data_from_table() 264 for (i = 0; i < table_info.table_num; i++) { in aw_monitor_trace_data_from_table() 265 if (data_trace->sum_val >= table_info.aw_table[i].min_val && in aw_monitor_trace_data_from_table() 266 data_trace->sum_val <= table_info.aw_table[i].max_val) { in aw_monitor_trace_data_from_table() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/include/ |
| H A D | discovery.h | 44 typedef struct table_info struct 50 } table_info; argument 60 table_info table_list[TOTAL_TABLES];
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | image.c | 180 struct table_info { struct 186 static const struct table_info table_info[IH_COUNT] = { argument 615 strncat(msg, table_info[category].desc, in unknown_msg() 635 entry = get_table_entry(table_info[category].table, id); in genimg_get_cat_name() 659 entry = get_table_entry(table_info[category].table, id); in genimg_get_cat_short_name() 671 return table_info[category].count; in genimg_get_cat_count() 676 return table_info[category].desc; in genimg_get_cat_desc()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_discovery.c | 162 struct table_info *info; in amdgpu_discovery_init()
|
| /OK3568_Linux_fs/u-boot/spl/ |
| H A D | u-boot-spl.map | |
| /OK3568_Linux_fs/u-boot/ |
| H A D | u-boot.map | |