Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c448 hash &= table->mem_table.hash_mask; in rvu_exact_calculate_hash()
449 hash += table->mem_table.hash_offset; in rvu_exact_calculate_hash()
472 depth = table->mem_table.depth; in rvu_npc_exact_alloc_mem_table_entry()
476 for (i = 0; i < table->mem_table.ways; i++) { in rvu_npc_exact_alloc_mem_table_entry()
477 if (test_bit(hash + i * depth, table->mem_table.bmap)) in rvu_npc_exact_alloc_mem_table_entry()
480 set_bit(hash + i * depth, table->mem_table.bmap); in rvu_npc_exact_alloc_mem_table_entry()
493 bitmap_weight(table->mem_table.bmap, table->mem_table.depth)); in rvu_npc_exact_alloc_mem_table_entry()
677 rvu->hw->table->mem_table.hash_mask = (depth - 1); in rvu_exact_config_result_ctrl()
681 rvu->hw->table->mem_table.hash_offset = 0; in rvu_exact_config_result_ctrl()
710 rvu->hw->table->mem_table.mask = mask; in rvu_exact_config_table_mask()
[all …]
Drvu_npc_hash.h184 } mem_table; member
Drvu_debugfs.c3002 for (i = 0; i < table->mem_table.ways; i++) { in rvu_dbg_npc_exact_show_entries()
3010 for (i = 0; i < table->mem_table.ways; i++) in rvu_dbg_npc_exact_show_entries()
3016 for (i = 0; i < table->mem_table.depth; i++) { in rvu_dbg_npc_exact_show_entries()
3018 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries()
3033 for (j = 0; j < table->mem_table.ways; j++) { in rvu_dbg_npc_exact_show_entries()
3090 seq_printf(s, "Ways : %d\n", table->mem_table.ways); in rvu_dbg_npc_exact_show_info()
3091 seq_printf(s, "Depth : %d\n", table->mem_table.depth); in rvu_dbg_npc_exact_show_info()
3092 seq_printf(s, "Mask : 0x%llx\n", table->mem_table.mask); in rvu_dbg_npc_exact_show_info()
3093 seq_printf(s, "Hash Mask : 0x%x\n", table->mem_table.hash_mask); in rvu_dbg_npc_exact_show_info()
3094 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset); in rvu_dbg_npc_exact_show_info()
/Linux-v6.6/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.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.c610 dpm_table = &(data->dpm_table.mem_table); in vega20_setup_memclk_dpm_table()
662 dpm_table = &(data->dpm_table.mem_table); in vega20_setup_default_dpm_tables()
1067 data->dpm_table.mem_table.dpm_levels[data->dpm_table.mem_table.count - 2].value; in vega20_od8_set_feature_capabilities()
1516 &(data->dpm_table.mem_table); in vega20_get_mclk_od()
1518 &(data->golden_dpm_table.mem_table); in vega20_get_mclk_od()
1535 &(data->golden_dpm_table.mem_table); in vega20_set_mclk_od()
1561 struct vega20_single_dpm_table *mem_table = &(data->dpm_table.mem_table); in vega20_populate_umdpstate_clocks() local
1564 mem_table->count > VEGA20_UMD_PSTATE_MCLK_LEVEL) { in vega20_populate_umdpstate_clocks()
1566 hwmgr->pstate_mclk = mem_table->dpm_levels[VEGA20_UMD_PSTATE_MCLK_LEVEL].value; in vega20_populate_umdpstate_clocks()
1569 hwmgr->pstate_mclk = mem_table->dpm_levels[0].value; in vega20_populate_umdpstate_clocks()
[all …]
Dvega12_hwmgr.c670 dpm_table = &(data->dpm_table.mem_table); in vega12_setup_default_dpm_tables()
1032 struct vega12_single_dpm_table *mem_dpm_table = &(data->dpm_table.mem_table); in vega12_populate_umdpstate_clocks()
1166 min_freq = data->dpm_table.mem_table.dpm_state.soft_min_level; in vega12_upload_dpm_min_level()
1174 min_freq = data->dpm_table.mem_table.dpm_state.hard_min_level; in vega12_upload_dpm_min_level()
1258 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1657 soft_level = vega12_find_highest_dpm_level(&(data->dpm_table.mem_table)); in vega12_force_dpm_highest()
1659 data->dpm_table.mem_table.dpm_state.soft_min_level = in vega12_force_dpm_highest()
1660 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1661 data->dpm_table.mem_table.dpm_levels[soft_level].value; in vega12_force_dpm_highest()
1686 soft_level = vega12_find_lowest_dpm_level(&(data->dpm_table.mem_table)); in vega12_force_dpm_lowest()
[all …]
Dvega10_hwmgr.c1360 data->dpm_table.mem_table.count = 0; in vega10_setup_default_dpm_tables()
1361 dpm_table = &(data->dpm_table.mem_table); in vega10_setup_default_dpm_tables()
1872 &(data->dpm_table.mem_table); in vega10_populate_all_memory_levels()
3420 struct vega10_single_dpm_table *mclk_table = &(data->dpm_table.mem_table); in vega10_find_dpm_states_clocks_in_dpm_table()
3475 for (count = 0; count < dpm_table->mem_table.count; count++) in vega10_populate_and_upload_sclk_mclk_dpm_levels()
3476 dpm_table->mem_table.dpm_levels[count].value = odn_clk_table->entries[count].clk; in vega10_populate_and_upload_sclk_mclk_dpm_levels()
3559 &(data->dpm_table.mem_table), in vega10_trim_dpm_states()
3636 data->dpm_table.mem_table.dpm_state.soft_min_level) { in vega10_upload_dpm_bootup_level()
3650 data->dpm_table.mem_table.dpm_state.soft_min_level = in vega10_upload_dpm_bootup_level()
3693 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.h127 struct vega12_single_dpm_table mem_table; member
Dvega20_hwmgr.h180 struct vega20_single_dpm_table mem_table; member
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.h62 struct arcturus_single_dpm_table mem_table; member
Dsmu_v11_0.c1838 struct smu_11_0_dpm_table *mem_table = in smu_v11_0_set_performance_level() local
1853 mclk_min = mclk_max = mem_table->max; in smu_v11_0_set_performance_level()
1858 mclk_min = mclk_max = mem_table->min; in smu_v11_0_set_performance_level()
1864 mclk_min = mem_table->min; in smu_v11_0_set_performance_level()
1865 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.c1705 struct smu_11_0_dpm_table *mem_table = in navi10_populate_umd_state_clk() local
1763 pstate_table->uclk_pstate.min = mem_table->min; in navi10_populate_umd_state_clk()
1764 pstate_table->uclk_pstate.peak = mem_table->max; in navi10_populate_umd_state_clk()
1770 mem_table->max > NAVI10_UMD_PSTATE_PROFILING_MEMCLK && in navi10_populate_umd_state_clk()
Dsienna_cichlid_ppt.c1480 struct smu_11_0_dpm_table *mem_table = in sienna_cichlid_populate_umd_state_clk() local
1491 pstate_table->uclk_pstate.min = mem_table->min; in sienna_cichlid_populate_umd_state_clk()
1492 pstate_table->uclk_pstate.peak = mem_table->max; in sienna_cichlid_populate_umd_state_clk()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.h62 struct aldebaran_single_dpm_table mem_table; member
Daldebaran_ppt.c510 struct smu_13_0_dpm_table *mem_table = in aldebaran_populate_umd_state_clk() local
522 pstate_table->uclk_pstate.min = mem_table->min; in aldebaran_populate_umd_state_clk()
523 pstate_table->uclk_pstate.peak = mem_table->max; in aldebaran_populate_umd_state_clk()
524 pstate_table->uclk_pstate.curr.min = mem_table->min; in aldebaran_populate_umd_state_clk()
525 pstate_table->uclk_pstate.curr.max = mem_table->max; in aldebaran_populate_umd_state_clk()
533 mem_table->count > ALDEBARAN_UMD_PSTATE_MCLK_LEVEL && in aldebaran_populate_umd_state_clk()
538 mem_table->dpm_levels[ALDEBARAN_UMD_PSTATE_MCLK_LEVEL].value; in aldebaran_populate_umd_state_clk()
Dsmu_v13_0_6_ppt.c595 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_6_populate_umd_state_clk() local
606 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_6_populate_umd_state_clk()
607 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_6_populate_umd_state_clk()
608 pstate_table->uclk_pstate.curr.min = mem_table->min; in smu_v13_0_6_populate_umd_state_clk()
609 pstate_table->uclk_pstate.curr.max = mem_table->max; in smu_v13_0_6_populate_umd_state_clk()
617 mem_table->count > SMU_13_0_6_UMD_PSTATE_MCLK_LEVEL && in smu_v13_0_6_populate_umd_state_clk()
622 mem_table->dpm_levels[SMU_13_0_6_UMD_PSTATE_MCLK_LEVEL].value; in smu_v13_0_6_populate_umd_state_clk()
Dsmu_v13_0.c1697 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_set_performance_level() local
1721 mclk_min = mclk_max = mem_table->max; in smu_v13_0_set_performance_level()
1729 mclk_min = mclk_max = mem_table->min; in smu_v13_0_set_performance_level()
1738 mclk_min = mem_table->min; in smu_v13_0_set_performance_level()
1739 mclk_max = mem_table->max; in smu_v13_0_set_performance_level()
Dsmu_v13_0_7_ppt.c1835 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_7_populate_umd_state_clk() local
1859 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_7_populate_umd_state_clk()
1860 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_7_populate_umd_state_clk()
1879 pstate_table->uclk_pstate.standard = mem_table->max; in smu_v13_0_7_populate_umd_state_clk()
Dsmu_v13_0_0_ppt.c1860 struct smu_13_0_dpm_table *mem_table = in smu_v13_0_0_populate_umd_state_clk() local
1884 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_0_populate_umd_state_clk()
1885 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_0_populate_umd_state_clk()
1904 pstate_table->uclk_pstate.standard = mem_table->max; in smu_v13_0_0_populate_umd_state_clk()