Home
last modified time | relevance | path

Searched refs:hw_ps (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu10_hwmgr.c89 static struct smu10_power_state *cast_smu10_ps(struct pp_hw_power_state *hw_ps) in cast_smu10_ps() argument
91 if (SMU10_Magic != hw_ps->magic) in cast_smu10_ps()
94 return (struct smu10_power_state *)hw_ps; in cast_smu10_ps()
98 const struct pp_hw_power_state *hw_ps) in cast_const_smu10_ps() argument
100 if (SMU10_Magic != hw_ps->magic) in cast_const_smu10_ps()
103 return (struct smu10_power_state *)hw_ps; in cast_const_smu10_ps()
742 struct pp_hw_power_state *hw_ps) in smu10_dpm_patch_boot_state() argument
749 struct pp_hw_power_state *hw_ps, in smu10_dpm_get_pp_table_entry_callback() argument
753 struct smu10_power_state *smu10_ps = cast_smu10_ps(hw_ps); in smu10_dpm_get_pp_table_entry_callback()
Dprocesspptables.h35 struct pp_hw_power_state *hw_ps,
Dsmu8_hwmgr.c51 static struct smu8_power_state *cast_smu8_power_state(struct pp_hw_power_state *hw_ps) in cast_smu8_power_state() argument
53 if (smu8_magic != hw_ps->magic) in cast_smu8_power_state()
56 return (struct smu8_power_state *)hw_ps; in cast_smu8_power_state()
60 const struct pp_hw_power_state *hw_ps) in cast_const_smu8_power_state() argument
62 if (smu8_magic != hw_ps->magic) in cast_const_smu8_power_state()
65 return (struct smu8_power_state *)hw_ps; in cast_const_smu8_power_state()
1320 struct pp_hw_power_state *hw_ps) in smu8_dpm_patch_boot_state() argument
1323 struct smu8_power_state *smu8_ps = cast_smu8_power_state(hw_ps); in smu8_dpm_patch_boot_state()
1335 struct pp_hw_power_state *hw_ps, in smu8_dpm_get_pp_table_entry_callback() argument
1339 struct smu8_power_state *smu8_ps = cast_smu8_power_state(hw_ps); in smu8_dpm_get_pp_table_entry_callback()
Dsmu7_hwmgr.c113 struct pp_hw_power_state *hw_ps) in cast_phw_smu7_power_state() argument
115 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_phw_smu7_power_state()
119 return (struct smu7_power_state *)hw_ps; in cast_phw_smu7_power_state()
123 const struct pp_hw_power_state *hw_ps) in cast_const_phw_smu7_power_state() argument
125 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_const_phw_smu7_power_state()
129 return (const struct smu7_power_state *)hw_ps; in cast_const_phw_smu7_power_state()
3059 struct pp_hw_power_state *hw_ps) in smu7_dpm_patch_boot_state() argument
3062 struct smu7_power_state *ps = (struct smu7_power_state *)hw_ps; in smu7_dpm_patch_boot_state()
Dvega10_hwmgr.c94 struct pp_hw_power_state *hw_ps) in cast_phw_vega10_power_state() argument
96 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_phw_vega10_power_state()
100 return (struct vega10_power_state *)hw_ps; in cast_phw_vega10_power_state()
104 const struct pp_hw_power_state *hw_ps) in cast_const_phw_vega10_power_state() argument
106 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_const_phw_vega10_power_state()
110 return (const struct vega10_power_state *)hw_ps; in cast_const_phw_vega10_power_state()
3125 struct pp_hw_power_state *hw_ps) in vega10_patch_boot_state() argument
Dvega12_hwmgr.c994 struct pp_hw_power_state *hw_ps) in vega12_patch_boot_state() argument
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/inc/
Dhwmgr.h255 struct pp_hw_power_state *hw_ps);