/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 448 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 …]
|
D | rvu_npc_hash.h | 184 } mem_table; member
|
D | rvu_debugfs.c | 3002 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/ |
D | inventory.c | 306 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/ |
D | vega20_hwmgr.c | 610 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 …]
|
D | vega12_hwmgr.c | 670 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 …]
|
D | vega10_hwmgr.c | 1360 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 …]
|
D | vega10_hwmgr.h | 149 struct vega10_single_dpm_table mem_table; member
|
D | vega12_hwmgr.h | 127 struct vega12_single_dpm_table mem_table; member
|
D | vega20_hwmgr.h | 180 struct vega20_single_dpm_table mem_table; member
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.h | 62 struct arcturus_single_dpm_table mem_table; member
|
D | smu_v11_0.c | 1838 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()
|
D | arcturus_ppt.c | 535 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()
|
D | navi10_ppt.c | 1705 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()
|
D | sienna_cichlid_ppt.c | 1480 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/ |
D | aldebaran_ppt.h | 62 struct aldebaran_single_dpm_table mem_table; member
|
D | aldebaran_ppt.c | 510 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()
|
D | smu_v13_0_6_ppt.c | 595 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()
|
D | smu_v13_0.c | 1697 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()
|
D | smu_v13_0_7_ppt.c | 1835 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()
|
D | smu_v13_0_0_ppt.c | 1860 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()
|