Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dprocesspptables.h35 struct pp_hw_power_state *hw_ps,
H A Dsmu10_hwmgr.c84 static struct smu10_power_state *cast_smu10_ps(struct pp_hw_power_state *hw_ps) in cast_smu10_ps() argument
86 if (SMU10_Magic != hw_ps->magic) in cast_smu10_ps()
89 return (struct smu10_power_state *)hw_ps; in cast_smu10_ps()
93 const struct pp_hw_power_state *hw_ps) in cast_const_smu10_ps() argument
95 if (SMU10_Magic != hw_ps->magic) in cast_const_smu10_ps()
98 return (struct smu10_power_state *)hw_ps; in cast_const_smu10_ps()
884 struct pp_hw_power_state *hw_ps) in smu10_dpm_patch_boot_state() argument
891 struct pp_hw_power_state *hw_ps, in smu10_dpm_get_pp_table_entry_callback() argument
895 struct smu10_power_state *smu10_ps = cast_smu10_ps(hw_ps); in smu10_dpm_get_pp_table_entry_callback()
H A 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()
1372 struct pp_hw_power_state *hw_ps) in smu8_dpm_patch_boot_state() argument
1375 struct smu8_power_state *smu8_ps = cast_smu8_power_state(hw_ps); in smu8_dpm_patch_boot_state()
1387 struct pp_hw_power_state *hw_ps, in smu8_dpm_get_pp_table_entry_callback() argument
1391 struct smu8_power_state *smu8_ps = cast_smu8_power_state(hw_ps); in smu8_dpm_get_pp_table_entry_callback()
H A Dsmu7_hwmgr.c178 struct pp_hw_power_state *hw_ps) in cast_phw_smu7_power_state() argument
180 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_phw_smu7_power_state()
184 return (struct smu7_power_state *)hw_ps; in cast_phw_smu7_power_state()
188 const struct pp_hw_power_state *hw_ps) in cast_const_phw_smu7_power_state() argument
190 PP_ASSERT_WITH_CODE((PhwVIslands_Magic == hw_ps->magic), in cast_const_phw_smu7_power_state()
194 return (const struct smu7_power_state *)hw_ps; in cast_const_phw_smu7_power_state()
3532 struct pp_hw_power_state *hw_ps) in smu7_dpm_patch_boot_state() argument
3535 struct smu7_power_state *ps = (struct smu7_power_state *)hw_ps; in smu7_dpm_patch_boot_state()
H A Dvega10_hwmgr.c96 struct pp_hw_power_state *hw_ps) in cast_phw_vega10_power_state() argument
98 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_phw_vega10_power_state()
102 return (struct vega10_power_state *)hw_ps; in cast_phw_vega10_power_state()
106 const struct pp_hw_power_state *hw_ps) in cast_const_phw_vega10_power_state() argument
108 PP_ASSERT_WITH_CODE((PhwVega10_Magic == hw_ps->magic), in cast_const_phw_vega10_power_state()
112 return (const struct vega10_power_state *)hw_ps; in cast_const_phw_vega10_power_state()
3271 struct pp_hw_power_state *hw_ps) in vega10_patch_boot_state() argument
H A Dvega12_hwmgr.c1115 struct pp_hw_power_state *hw_ps) in vega12_patch_boot_state() argument
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c642 struct rkvdec_sps_pps_packet *hw_ps; in assemble_hw_pps() local
653 hw_ps = &priv_tbl->param_set[pps->pic_parameter_set_id]; in assemble_hw_pps()
654 memset(hw_ps, 0, sizeof(*hw_ps)); in assemble_hw_pps()
656 #define WRITE_PPS(value, field) set_ps_field(hw_ps->info, field, value) in assemble_hw_pps()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h255 struct pp_hw_power_state *hw_ps);