Home
last modified time | relevance | path

Searched refs:smu_tables (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega10_smumgr.c46 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_from_smc()
48 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_from_smc()
52 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc()
56 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega10_copy_table_from_smc()
60 priv->smu_tables.entry[table_id].table_id, in vega10_copy_table_from_smc()
66 memcpy(table, priv->smu_tables.entry[table_id].table, in vega10_copy_table_from_smc()
67 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc()
86 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_to_smc()
88 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_to_smc()
91 memcpy(priv->smu_tables.entry[table_id].table, table, in vega10_copy_table_to_smc()
[all …]
Dvega12_smumgr.c49 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_from_smc()
51 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_from_smc()
55 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc()
60 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega12_copy_table_from_smc()
74 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc()
75 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc()
94 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_to_smc()
96 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_to_smc()
99 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc()
100 priv->smu_tables.entry[table_id].size); in vega12_copy_table_to_smc()
[all …]
Dvega20_smumgr.c173 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_from_smc()
175 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_from_smc()
180 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_from_smc()
186 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in vega20_copy_table_from_smc()
198 memcpy(table, priv->smu_tables.entry[table_id].table, in vega20_copy_table_from_smc()
199 priv->smu_tables.entry[table_id].size); in vega20_copy_table_from_smc()
219 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_to_smc()
221 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_to_smc()
224 memcpy(priv->smu_tables.entry[table_id].table, table, in vega20_copy_table_to_smc()
225 priv->smu_tables.entry[table_id].size); in vega20_copy_table_to_smc()
[all …]
Dsmu10_smumgr.c125 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_from_smc()
127 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_from_smc()
131 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_from_smc()
135 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr), in smu10_copy_table_from_smc()
139 priv->smu_tables.entry[table_id].table_id, in smu10_copy_table_from_smc()
145 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, in smu10_copy_table_from_smc()
146 priv->smu_tables.entry[table_id].size); in smu10_copy_table_from_smc()
160 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_to_smc()
162 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_to_smc()
165 memcpy(priv->smu_tables.entry[table_id].table, table, in smu10_copy_table_to_smc()
[all …]
Dsmu10_smumgr.h46 struct smu_table_array smu_tables; member
Dvega10_smumgr.h42 struct smu_table_array smu_tables; member
Dvega12_smumgr.h43 struct smu_table_array smu_tables; member
Dvega20_smumgr.h42 struct smu_table_array smu_tables; member