Home
last modified time | relevance | path

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

/openbmc/qemu/hw/core/
H A Dnuma.c212 uint64_t max_entry, temp_base, bitmap_copy; in parse_numa_hmat_lb() local
282 max_entry = node->latency; in parse_numa_hmat_lb()
284 while (QEMU_IS_ALIGNED(max_entry, 10)) { in parse_numa_hmat_lb()
285 max_entry /= 10; in parse_numa_hmat_lb()
291 max_entry = node->latency / hmat_lb->base; in parse_numa_hmat_lb()
292 max_entry = MAX(hmat_lb->range_bitmap, max_entry); in parse_numa_hmat_lb()
298 if (max_entry >= UINT16_MAX) { in parse_numa_hmat_lb()
306 hmat_lb->range_bitmap = max_entry; in parse_numa_hmat_lb()
355 max_entry = node->bandwidth / temp_base; in parse_numa_hmat_lb()
364 max_entry >= UINT16_MAX) { in parse_numa_hmat_lb()
/openbmc/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 Dpolaris10_smumgr.c1052 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 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()
/openbmc/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()
/openbmc/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
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()