Searched refs:hwmgr_func (Results 1 - 16 of 16) sorted by relevance

/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dhardwaremanager.c35 if ((hw) == NULL || (hw)->hwmgr_func == NULL) \
43 if (NULL != hwmgr->hwmgr_func->asic_setup)
44 return hwmgr->hwmgr_func->asic_setup(hwmgr);
53 if (NULL != hwmgr->hwmgr_func->power_off_asic)
54 return hwmgr->hwmgr_func->power_off_asic(hwmgr);
70 if (NULL != hwmgr->hwmgr_func->power_state_set)
71 return hwmgr->hwmgr_func->power_state_set(hwmgr, &states);
91 if (NULL != hwmgr->hwmgr_func->dynamic_state_management_enable)
92 ret = hwmgr->hwmgr_func->dynamic_state_management_enable(hwmgr);
111 if (hwmgr->hwmgr_func
[all...]
H A Dpp_psm.c37 if (hwmgr->hwmgr_func->get_num_of_pp_table_entries == NULL)
40 if (hwmgr->hwmgr_func->get_power_state_size == NULL)
43 hwmgr->num_ps = table_entries = hwmgr->hwmgr_func->get_num_of_pp_table_entries(hwmgr);
45 hwmgr->ps_size = size = hwmgr->hwmgr_func->get_power_state_size(hwmgr) +
76 result = hwmgr->hwmgr_func->get_pp_table_entry(hwmgr, i, state);
299 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode)
300 hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, &workload, 0);
H A Dhwmgr.c228 !hwmgr->hwmgr_func->backend_init) {
241 ret = hwmgr->hwmgr_func->backend_init(hwmgr);
270 if (hwmgr->hwmgr_func->backend_fini)
271 hwmgr->hwmgr_func->backend_fini(hwmgr);
290 if (hwmgr->hwmgr_func->backend_fini)
291 hwmgr->hwmgr_func->backend_fini(hwmgr);
H A Dsmu7_thermal.c155 hwmgr->hwmgr_func->set_max_fan_rpm_output(hwmgr,
159 hwmgr->hwmgr_func->set_max_fan_pwm_output(hwmgr,
H A Dvega12_processpptables.c393 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware));
H A Dvega10_processpptables.c1336 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware));
H A Dsmu10_hwmgr.c1671 hwmgr->hwmgr_func = &smu10_hwmgr_funcs;
H A Dprocess_pptables_v1_0.c1408 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware));
H A Dsmu8_hwmgr.c2066 hwmgr->hwmgr_func = &smu8_hwmgr_funcs;
H A Dprocesspptables.c966 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(ps->hardware));
H A Dvega12_hwmgr.c2980 hwmgr->hwmgr_func = &vega12_hwmgr_funcs;
H A Dvega20_hwmgr.c4437 hwmgr->hwmgr_func = &vega20_hwmgr_funcs;
H A Dvega10_hwmgr.c5774 hwmgr->hwmgr_func = &vega10_hwmgr_funcs;
H A Dsmu7_hwmgr.c5819 hwmgr->hwmgr_func = &smu7_hwmgr_funcs;
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/
H A Damd_powerplay.c111 hwmgr->hwmgr_func->read_sensor) {
112 ret = hwmgr->hwmgr_func->read_sensor(hwmgr,
121 ret = hwmgr->hwmgr_func->read_sensor(hwmgr,
205 if (hwmgr->hwmgr_func->notify_cac_buffer_info)
206 r = hwmgr->hwmgr_func->notify_cac_buffer_info(hwmgr,
348 if (hwmgr->hwmgr_func->update_clock_gatings == NULL) {
353 return hwmgr->hwmgr_func->update_clock_gatings(hwmgr, &msg_id);
416 if (hwmgr->hwmgr_func->get_sclk == NULL) {
420 return hwmgr->hwmgr_func->get_sclk(hwmgr, low);
430 if (hwmgr->hwmgr_func
[all...]
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h778 const struct pp_hwmgr_func *hwmgr_func; member in struct:pp_hwmgr

Completed in 391 milliseconds