/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 403 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()
|
H A D | polaris10_smumgr.c | 994 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()
|
H A D | fiji_smumgr.c | 1017 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()
|
H A D | tonga_smumgr.c | 702 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-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 402 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 D | polaris10_smumgr.c | 1052 uint32_t i, max_entry; in polaris10_populate_all_graphic_levels() local 1110 max_entry = pcie_entry_cnt - 1; in polaris10_populate_all_graphic_levels() 1113 (uint8_t) ((i < max_entry) ? i : max_entry); in polaris10_populate_all_graphic_levels() 2353 int max_entry, i; in polaris10_update_bif_smc_table() local 2355 max_entry = (SMU74_MAX_LEVELS_LINK < pcie_table->count) ? in polaris10_update_bif_smc_table() 2359 for (i = 0; i < max_entry; i++) in polaris10_update_bif_smc_table()
|
H A D | fiji_smumgr.c | 1016 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 D | tonga_smumgr.c | 702 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/ |
H A D | x_tables.c | 567 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-6.6/net/netfilter/ |
H A D | x_tables.c | 587 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_hwmgr.c | 580 uint32_t i, max_entry; in smu7_setup_default_pcie_table() local 605 /* max_entry is used to make sure we reserve one PCIE level in smu7_setup_default_pcie_table() 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_hwmgr.c | 642 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()
|