Home
last modified time | relevance | path

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

/linux-5.19.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()
65 memcpy(table, priv->smu_tables.entry[table_id].table, in vega10_copy_table_from_smc()
66 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc()
85 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_to_smc()
87 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_to_smc()
90 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()
73 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc()
74 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc()
93 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_to_smc()
95 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_to_smc()
98 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc()
99 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()
197 memcpy(table, priv->smu_tables.entry[table_id].table, in vega20_copy_table_from_smc()
198 priv->smu_tables.entry[table_id].size); in vega20_copy_table_from_smc()
218 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_to_smc()
220 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_to_smc()
223 memcpy(priv->smu_tables.entry[table_id].table, table, in vega20_copy_table_to_smc()
224 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()
144 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, in smu10_copy_table_from_smc()
145 priv->smu_tables.entry[table_id].size); in smu10_copy_table_from_smc()
159 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_to_smc()
161 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_to_smc()
164 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