Searched refs:hw_ps (Results 1 – 7 of 7) sorted by relevance
89 static struct smu10_power_state *cast_smu10_ps(struct pp_hw_power_state *hw_ps) in cast_smu10_ps() argument91 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() argument100 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() argument749 struct pp_hw_power_state *hw_ps, in smu10_dpm_get_pp_table_entry_callback() argument753 struct smu10_power_state *smu10_ps = cast_smu10_ps(hw_ps); in smu10_dpm_get_pp_table_entry_callback()
35 struct pp_hw_power_state *hw_ps,
51 static struct smu8_power_state *cast_smu8_power_state(struct pp_hw_power_state *hw_ps) in cast_smu8_power_state() argument53 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() argument62 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() argument1323 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() argument1339 struct smu8_power_state *smu8_ps = cast_smu8_power_state(hw_ps); in smu8_dpm_get_pp_table_entry_callback()
113 struct pp_hw_power_state *hw_ps) in cast_phw_smu7_power_state() argument115 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() argument125 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() argument3062 struct smu7_power_state *ps = (struct smu7_power_state *)hw_ps; in smu7_dpm_patch_boot_state()
94 struct pp_hw_power_state *hw_ps) in cast_phw_vega10_power_state() argument96 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() argument106 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
994 struct pp_hw_power_state *hw_ps) in vega12_patch_boot_state() argument
255 struct pp_hw_power_state *hw_ps);