Home
last modified time | relevance | path

Searched refs:max_entry (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c402 int max_entry, i; in vegam_update_bif_smc_table() local
404 max_entry = (SMU75_MAX_LEVELS_LINK < pcie_table->count) ? in vegam_update_bif_smc_table()
408 for (i = 0; i < max_entry; i++) in vegam_update_bif_smc_table()
880 uint32_t i, max_entry; in vegam_populate_all_graphic_levels() local
921 max_entry = pcie_entry_cnt - 1; in vegam_populate_all_graphic_levels()
924 (uint8_t) ((i < max_entry) ? i : max_entry); in vegam_populate_all_graphic_levels()
H A Dfiji_smumgr.c1016 uint32_t i, max_entry; in fiji_populate_all_graphic_levels() local
1050 max_entry = pcie_entry_cnt - 1; in fiji_populate_all_graphic_levels()
1053 (uint8_t) ((i < max_entry) ? i : max_entry); in fiji_populate_all_graphic_levels()
H A Dtonga_smumgr.c702 uint32_t i, max_entry; in tonga_populate_all_graphic_levels() local
739 max_entry = pcie_entry_count - 1; /* for indexing, we need to decrement by 1.*/ in tonga_populate_all_graphic_levels()
742 (uint8_t) ((i < max_entry) ? i : max_entry); in tonga_populate_all_graphic_levels()
/linux/net/netfilter/
H A Dx_tables.c587 unsigned int i, max_uflow, max_entry; in xt_check_table_hooks() local
592 max_entry = 0; in xt_check_table_hooks()
612 if (max_entry > info->hook_entry[i]) { in xt_check_table_hooks()
616 if (max_entry == info->hook_entry[i]) { in xt_check_table_hooks()
621 max_entry = info->hook_entry[i]; in xt_check_table_hooks()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c642 uint32_t i, max_entry; in smu7_setup_default_pcie_table() local
667 /* max_entry is used to make sure we reserve one PCIE level in smu7_setup_default_pcie_table()
671 max_entry = (tmp < pcie_table->count) ? tmp : pcie_table->count; in smu7_setup_default_pcie_table()
672 for (i = 1; i < max_entry; i++) { in smu7_setup_default_pcie_table()
679 data->dpm_table.pcie_speed_table.count = max_entry - 1; in smu7_setup_default_pcie_table()