Home
last modified time | relevance | path

Searched refs:mem_table (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c410 hash &= table->mem_table.hash_mask; in rvu_exact_calculate_hash()
411 hash += table->mem_table.hash_offset; in rvu_exact_calculate_hash()
434 depth = table->mem_table.depth; in rvu_npc_exact_alloc_mem_table_entry()
438 for (i = 0; i < table->mem_table.ways; i++) { in rvu_npc_exact_alloc_mem_table_entry()
439 if (test_bit(hash + i * depth, table->mem_table.bmap)) in rvu_npc_exact_alloc_mem_table_entry()
442 set_bit(hash + i * depth, table->mem_table.bmap); in rvu_npc_exact_alloc_mem_table_entry()
455 bitmap_weight(table->mem_table.bmap, table->mem_table.depth)); in rvu_npc_exact_alloc_mem_table_entry()
639 rvu->hw->table->mem_table.hash_mask = (depth - 1); in rvu_exact_config_result_ctrl()
643 rvu->hw->table->mem_table.hash_offset = 0; in rvu_exact_config_result_ctrl()
672 rvu->hw->table->mem_table.mask = mask; in rvu_exact_config_table_mask()
[all …]
Drvu_npc_hash.h178 } mem_table; member
Drvu_debugfs.c2974 for (i = 0; i < table->mem_table.ways; i++) { in rvu_dbg_npc_exact_show_entries()
2982 for (i = 0; i < table->mem_table.ways; i++) in rvu_dbg_npc_exact_show_entries()
2988 for (i = 0; i < table->mem_table.depth; i++) { in rvu_dbg_npc_exact_show_entries()
2990 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries()
3005 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries()
3062 seq_printf(s, "Ways : %d\n", table->mem_table.ways); in rvu_dbg_npc_exact_show_info()
3063 seq_printf(s, "Depth : %d\n", table->mem_table.depth); in rvu_dbg_npc_exact_show_info()
3064 seq_printf(s, "Mask : 0x%llx\n", table->mem_table.mask); in rvu_dbg_npc_exact_show_info()
3065 seq_printf(s, "Hash Mask : 0x%x\n", table->mem_table.hash_mask); in rvu_dbg_npc_exact_show_info()
3066 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset); in rvu_dbg_npc_exact_show_info()
/Linux-v6.1/arch/parisc/kernel/
Dinventory.c306 struct pdc_pat_pd_addr_map_entry mem_table[PAT_MAX_RANGES+1]; in pat_memconfig() local
316 status = pdc_pat_pd_get_addr_map(&actual_len, mem_table, length, 0L); in pat_memconfig()
345 mtbl_ptr = mem_table; in pat_memconfig()
400 struct pdc_memory_table mem_table[MAX_PHYSMEM_RANGES]; in sprockets_memconfig() local
407 status = pdc_mem_mem_table(&r_addr,mem_table, in sprockets_memconfig()
430 mtbl_ptr = mem_table; in sprockets_memconfig()
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c671 dpm_table = &(data->dpm_table.mem_table); in vega12_setup_default_dpm_tables()
1145 min_freq = data->dpm_table.mem_table.dpm_state.soft_min_level; in vega12_upload_dpm_min_level()
1153 min_freq = data->dpm_table.mem_table.dpm_state.hard_min_level; in vega12_upload_dpm_min_level()
1237 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1636 soft_level = vega12_find_highest_dpm_level(&(data->dpm_table.mem_table)); in vega12_force_dpm_highest()
1638 data->dpm_table.mem_table.dpm_state.soft_min_level = in vega12_force_dpm_highest()
1639 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1640 data->dpm_table.mem_table.dpm_levels[soft_level].value; in vega12_force_dpm_highest()
1665 soft_level = vega12_find_lowest_dpm_level(&(data->dpm_table.mem_table)); in vega12_force_dpm_lowest()
1667 data->dpm_table.mem_table.dpm_state.soft_min_level = in vega12_force_dpm_lowest()
[all …]
Dvega20_hwmgr.c611 dpm_table = &(data->dpm_table.mem_table); in vega20_setup_memclk_dpm_table()
663 dpm_table = &(data->dpm_table.mem_table); in vega20_setup_default_dpm_tables()
1068 data->dpm_table.mem_table.dpm_levels[data->dpm_table.mem_table.count - 2].value; in vega20_od8_set_feature_capabilities()
1517 &(data->dpm_table.mem_table); in vega20_get_mclk_od()
1519 &(data->golden_dpm_table.mem_table); in vega20_get_mclk_od()
1536 &(data->golden_dpm_table.mem_table); in vega20_set_mclk_od()
1563 struct vega20_single_dpm_table *mem_table = &(data->dpm_table.mem_table); in vega20_populate_umdpstate_clocks() local
1566 hwmgr->pstate_mclk = mem_table->dpm_levels[0].value; in vega20_populate_umdpstate_clocks()
1569 mem_table->count > VEGA20_UMD_PSTATE_MCLK_LEVEL) { in vega20_populate_umdpstate_clocks()
1571 hwmgr->pstate_mclk = mem_table->dpm_levels[VEGA20_UMD_PSTATE_MCLK_LEVEL].value; in vega20_populate_umdpstate_clocks()
[all …]
Dvega10_hwmgr.c1361 data->dpm_table.mem_table.count = 0; in vega10_setup_default_dpm_tables()
1362 dpm_table = &(data->dpm_table.mem_table); in vega10_setup_default_dpm_tables()
1876 &(data->dpm_table.mem_table); in vega10_populate_all_memory_levels()
3398 struct vega10_single_dpm_table *mclk_table = &(data->dpm_table.mem_table); in vega10_find_dpm_states_clocks_in_dpm_table()
3453 for (count = 0; count < dpm_table->mem_table.count; count++) in vega10_populate_and_upload_sclk_mclk_dpm_levels()
3454 dpm_table->mem_table.dpm_levels[count].value = odn_clk_table->entries[count].clk; in vega10_populate_and_upload_sclk_mclk_dpm_levels()
3537 &(data->dpm_table.mem_table), in vega10_trim_dpm_states()
3614 data->dpm_table.mem_table.dpm_state.soft_min_level) { in vega10_upload_dpm_bootup_level()
3628 data->dpm_table.mem_table.dpm_state.soft_min_level = in vega10_upload_dpm_bootup_level()
3671 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
[all …]
Dvega10_hwmgr.h149 struct vega10_single_dpm_table mem_table; member
Dvega12_hwmgr.h128 struct vega12_single_dpm_table mem_table; member
Dvega20_hwmgr.h180 struct vega20_single_dpm_table mem_table; member
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.h62 struct aldebaran_single_dpm_table mem_table; member
Daldebaran_ppt.c511 struct smu_13_0_dpm_table *mem_table = in aldebaran_populate_umd_state_clk() local
523 pstate_table->uclk_pstate.min = mem_table->min; in aldebaran_populate_umd_state_clk()
524 pstate_table->uclk_pstate.peak = mem_table->max; in aldebaran_populate_umd_state_clk()
525 pstate_table->uclk_pstate.curr.min = mem_table->min; in aldebaran_populate_umd_state_clk()
526 pstate_table->uclk_pstate.curr.max = mem_table->max; in aldebaran_populate_umd_state_clk()
534 mem_table->count > ALDEBARAN_UMD_PSTATE_MCLK_LEVEL && in aldebaran_populate_umd_state_clk()
539 mem_table->dpm_levels[ALDEBARAN_UMD_PSTATE_MCLK_LEVEL].value; in aldebaran_populate_umd_state_clk()
Dsmu_v13_0_7_ppt.c1314 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_7_populate_umd_state_clk() local
1330 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_7_populate_umd_state_clk()
1331 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_7_populate_umd_state_clk()
1350 pstate_table->uclk_pstate.standard = mem_table->min; in smu_v13_0_7_populate_umd_state_clk()
Dsmu_v13_0.c1705 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_set_performance_level() local
1729 mclk_min = mclk_max = mem_table->max; in smu_v13_0_set_performance_level()
1737 mclk_min = mclk_max = mem_table->min; in smu_v13_0_set_performance_level()
1746 mclk_min = mem_table->min; in smu_v13_0_set_performance_level()
1747 mclk_max = mem_table->max; in smu_v13_0_set_performance_level()
Dsmu_v13_0_0_ppt.c1272 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_0_populate_umd_state_clk() local
1288 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_0_populate_umd_state_clk()
1289 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_0_populate_umd_state_clk()
1308 pstate_table->uclk_pstate.standard = mem_table->min; in smu_v13_0_0_populate_umd_state_clk()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.h62 struct arcturus_single_dpm_table mem_table; member
Dsmu_v11_0.c1854 struct smu_11_0_dpm_table *mem_table = in smu_v11_0_set_performance_level() local
1869 mclk_min = mclk_max = mem_table->max; in smu_v11_0_set_performance_level()
1874 mclk_min = mclk_max = mem_table->min; in smu_v11_0_set_performance_level()
1880 mclk_min = mem_table->min; in smu_v11_0_set_performance_level()
1881 mclk_max = mem_table->max; in smu_v11_0_set_performance_level()
Darcturus_ppt.c535 struct smu_11_0_dpm_table *mem_table = in arcturus_populate_umd_state_clk() local
545 pstate_table->uclk_pstate.min = mem_table->min; in arcturus_populate_umd_state_clk()
546 pstate_table->uclk_pstate.peak = mem_table->max; in arcturus_populate_umd_state_clk()
552 mem_table->count > ARCTURUS_UMD_PSTATE_MCLK_LEVEL && in arcturus_populate_umd_state_clk()
557 mem_table->dpm_levels[ARCTURUS_UMD_PSTATE_MCLK_LEVEL].value; in arcturus_populate_umd_state_clk()
Dnavi10_ppt.c1698 struct smu_11_0_dpm_table *mem_table = in navi10_populate_umd_state_clk() local
1756 pstate_table->uclk_pstate.min = mem_table->min; in navi10_populate_umd_state_clk()
1757 pstate_table->uclk_pstate.peak = mem_table->max; in navi10_populate_umd_state_clk()
1763 mem_table->max > NAVI10_UMD_PSTATE_PROFILING_MEMCLK && in navi10_populate_umd_state_clk()
Dsienna_cichlid_ppt.c1470 struct smu_11_0_dpm_table *mem_table = in sienna_cichlid_populate_umd_state_clk() local
1481 pstate_table->uclk_pstate.min = mem_table->min; in sienna_cichlid_populate_umd_state_clk()
1482 pstate_table->uclk_pstate.peak = mem_table->max; in sienna_cichlid_populate_umd_state_clk()