Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/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()
55 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)); in vega10_copy_table_from_smc()
58 priv->smu_tables.entry[table_id].table_id); in vega10_copy_table_from_smc()
63 memcpy(table, priv->smu_tables.entry[table_id].table, in vega10_copy_table_from_smc()
64 priv->smu_tables.entry[table_id].size); in vega10_copy_table_from_smc()
76 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega10_copy_table_to_smc()
78 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega10_copy_table_to_smc()
81 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)) == 0, in vega12_copy_table_from_smc()
59 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)) == 0, in vega12_copy_table_from_smc()
71 memcpy(table, priv->smu_tables.entry[table_id].table, in vega12_copy_table_from_smc()
72 priv->smu_tables.entry[table_id].size); in vega12_copy_table_from_smc()
90 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega12_copy_table_to_smc()
92 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega12_copy_table_to_smc()
95 memcpy(priv->smu_tables.entry[table_id].table, table, in vega12_copy_table_to_smc()
96 priv->smu_tables.entry[table_id].size); in vega12_copy_table_to_smc()
[all …]
Dvega20_smumgr.c171 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_from_smc()
173 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_from_smc()
178 upper_32_bits(priv->smu_tables.entry[table_id].mc_addr))) == 0, in vega20_copy_table_from_smc()
183 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr))) == 0, in vega20_copy_table_from_smc()
194 memcpy(table, priv->smu_tables.entry[table_id].table, in vega20_copy_table_from_smc()
195 priv->smu_tables.entry[table_id].size); in vega20_copy_table_from_smc()
214 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in vega20_copy_table_to_smc()
216 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in vega20_copy_table_to_smc()
219 memcpy(priv->smu_tables.entry[table_id].table, table, in vega20_copy_table_to_smc()
220 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()
134 lower_32_bits(priv->smu_tables.entry[table_id].mc_addr)); in smu10_copy_table_from_smc()
137 priv->smu_tables.entry[table_id].table_id); in smu10_copy_table_from_smc()
142 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, in smu10_copy_table_from_smc()
143 priv->smu_tables.entry[table_id].size); in smu10_copy_table_from_smc()
156 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].version != 0, in smu10_copy_table_to_smc()
158 PP_ASSERT_WITH_CODE(priv->smu_tables.entry[table_id].size != 0, in smu10_copy_table_to_smc()
161 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