Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c403 int max_entry, i; in vegam_update_bif_smc_table() local
405 max_entry = (SMU75_MAX_LEVELS_LINK < pcie_table->count) ? in vegam_update_bif_smc_table()
409 for (i = 0; i < max_entry; i++) in vegam_update_bif_smc_table()
881 uint32_t i, max_entry; in vegam_populate_all_graphic_levels() local
922 max_entry = pcie_entry_cnt - 1; in vegam_populate_all_graphic_levels()
925 (uint8_t) ((i < max_entry) ? i : max_entry); in vegam_populate_all_graphic_levels()
Dpolaris10_smumgr.c994 uint32_t i, max_entry; in polaris10_populate_all_graphic_levels() local
1029 max_entry = pcie_entry_cnt - 1; in polaris10_populate_all_graphic_levels()
1032 (uint8_t) ((i < max_entry) ? i : max_entry); in polaris10_populate_all_graphic_levels()
2253 int max_entry, i; in polaris10_update_bif_smc_table() local
2255 max_entry = (SMU74_MAX_LEVELS_LINK < pcie_table->count) ? in polaris10_update_bif_smc_table()
2259 for (i = 0; i < max_entry; i++) in polaris10_update_bif_smc_table()
Dfiji_smumgr.c1017 uint32_t i, max_entry; in fiji_populate_all_graphic_levels() local
1051 max_entry = pcie_entry_cnt - 1; in fiji_populate_all_graphic_levels()
1054 (uint8_t) ((i < max_entry) ? i : max_entry); in fiji_populate_all_graphic_levels()
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()
/kernel/linux/linux-5.10/net/netfilter/
Dx_tables.c567 unsigned int i, max_uflow, max_entry; in xt_check_table_hooks() local
572 max_entry = 0; in xt_check_table_hooks()
592 if (max_entry > info->hook_entry[i]) { in xt_check_table_hooks()
596 if (max_entry == info->hook_entry[i]) { in xt_check_table_hooks()
601 max_entry = info->hook_entry[i]; in xt_check_table_hooks()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c580 uint32_t i, max_entry; in smu7_setup_default_pcie_table() local
609 max_entry = (tmp < pcie_table->count) ? tmp : pcie_table->count; in smu7_setup_default_pcie_table()
610 for (i = 1; i < max_entry; i++) { in smu7_setup_default_pcie_table()
617 data->dpm_table.pcie_speed_table.count = max_entry - 1; in smu7_setup_default_pcie_table()