Lines Matching refs:hwmgr_func

35 		if ((hw) == NULL || (hw)->hwmgr_func == NULL)	\
43 if (NULL != hwmgr->hwmgr_func->asic_setup) in phm_setup_asic()
44 return hwmgr->hwmgr_func->asic_setup(hwmgr); in phm_setup_asic()
53 if (NULL != hwmgr->hwmgr_func->power_off_asic) in phm_power_down_asic()
54 return hwmgr->hwmgr_func->power_off_asic(hwmgr); in phm_power_down_asic()
70 if (NULL != hwmgr->hwmgr_func->power_state_set) in phm_set_power_state()
71 return hwmgr->hwmgr_func->power_state_set(hwmgr, &states); in phm_set_power_state()
88 if (NULL != hwmgr->hwmgr_func->dynamic_state_management_enable) in phm_enable_dynamic_state_management()
89 ret = hwmgr->hwmgr_func->dynamic_state_management_enable(hwmgr); in phm_enable_dynamic_state_management()
105 if (hwmgr->hwmgr_func->dynamic_state_management_disable) in phm_disable_dynamic_state_management()
106 ret = hwmgr->hwmgr_func->dynamic_state_management_disable(hwmgr); in phm_disable_dynamic_state_management()
117 if (hwmgr->hwmgr_func->force_dpm_level != NULL) in phm_force_dpm_levels()
118 ret = hwmgr->hwmgr_func->force_dpm_level(hwmgr, level); in phm_force_dpm_levels()
129 if (hwmgr->hwmgr_func->apply_state_adjust_rules != NULL) in phm_apply_state_adjust_rules()
130 return hwmgr->hwmgr_func->apply_state_adjust_rules( in phm_apply_state_adjust_rules()
141 if (hwmgr->hwmgr_func->apply_clocks_adjust_rules != NULL) in phm_apply_clock_adjust_rules()
142 return hwmgr->hwmgr_func->apply_clocks_adjust_rules(hwmgr); in phm_apply_clock_adjust_rules()
150 if (hwmgr->hwmgr_func->powerdown_uvd != NULL) in phm_powerdown_uvd()
151 return hwmgr->hwmgr_func->powerdown_uvd(hwmgr); in phm_powerdown_uvd()
159 if (NULL != hwmgr->hwmgr_func->enable_clock_power_gating) in phm_enable_clock_power_gatings()
160 return hwmgr->hwmgr_func->enable_clock_power_gating(hwmgr); in phm_enable_clock_power_gatings()
169 if (NULL != hwmgr->hwmgr_func->disable_clock_power_gating) in phm_disable_clock_power_gatings()
170 return hwmgr->hwmgr_func->disable_clock_power_gating(hwmgr); in phm_disable_clock_power_gatings()
179 if (NULL != hwmgr->hwmgr_func->pre_display_config_changed) in phm_pre_display_configuration_changed()
180 hwmgr->hwmgr_func->pre_display_config_changed(hwmgr); in phm_pre_display_configuration_changed()
190 if (NULL != hwmgr->hwmgr_func->display_config_changed) in phm_display_configuration_changed()
191 hwmgr->hwmgr_func->display_config_changed(hwmgr); in phm_display_configuration_changed()
200 if (NULL != hwmgr->hwmgr_func->notify_smc_display_config_after_ps_adjustment) in phm_notify_smc_display_config_after_ps_adjustment()
201 hwmgr->hwmgr_func->notify_smc_display_config_after_ps_adjustment(hwmgr); in phm_notify_smc_display_config_after_ps_adjustment()
210 if (hwmgr->hwmgr_func->stop_thermal_controller == NULL) in phm_stop_thermal_controller()
213 return hwmgr->hwmgr_func->stop_thermal_controller(hwmgr); in phm_stop_thermal_controller()
220 if (hwmgr->hwmgr_func->register_irq_handlers != NULL) in phm_register_irq_handlers()
221 return hwmgr->hwmgr_func->register_irq_handlers(hwmgr); in phm_register_irq_handlers()
238 if (hwmgr->hwmgr_func->get_thermal_temperature_range) in phm_start_thermal_controller()
239 hwmgr->hwmgr_func->get_thermal_temperature_range( in phm_start_thermal_controller()
244 && hwmgr->hwmgr_func->start_thermal_controller != NULL) in phm_start_thermal_controller()
245 ret = hwmgr->hwmgr_func->start_thermal_controller(hwmgr, &range); in phm_start_thermal_controller()
258 if (hwmgr->hwmgr_func->check_smc_update_required_for_display_configuration == NULL) in phm_check_smc_update_required_for_display_configuration()
261 return hwmgr->hwmgr_func->check_smc_update_required_for_display_configuration(hwmgr); in phm_check_smc_update_required_for_display_configuration()
272 if (hwmgr->hwmgr_func->check_states_equal == NULL) in phm_check_states_equal()
275 return hwmgr->hwmgr_func->check_states_equal(hwmgr, pstate1, pstate2, equal); in phm_check_states_equal()
289 if (NULL != hwmgr->hwmgr_func->set_deep_sleep_dcefclk) in phm_store_dal_configuration_data()
290 hwmgr->hwmgr_func->set_deep_sleep_dcefclk(hwmgr, display_config->min_dcef_deep_sleep_set_clk); in phm_store_dal_configuration_data()
297 if (NULL != hwmgr->hwmgr_func->set_active_display_count) in phm_store_dal_configuration_data()
298 hwmgr->hwmgr_func->set_active_display_count(hwmgr, number_of_active_display); in phm_store_dal_configuration_data()
300 if (hwmgr->hwmgr_func->store_cc6_data == NULL) in phm_store_dal_configuration_data()
305 if (hwmgr->hwmgr_func->store_cc6_data) in phm_store_dal_configuration_data()
306 hwmgr->hwmgr_func->store_cc6_data(hwmgr, in phm_store_dal_configuration_data()
320 if (info == NULL || hwmgr->hwmgr_func->get_dal_power_level == NULL) in phm_get_dal_power_level()
322 return hwmgr->hwmgr_func->get_dal_power_level(hwmgr, info); in phm_get_dal_power_level()
329 if (hwmgr->hwmgr_func->set_cpu_power_state != NULL) in phm_set_cpu_power_state()
330 return hwmgr->hwmgr_func->set_cpu_power_state(hwmgr); in phm_set_cpu_power_state()
341 if (hwmgr->hwmgr_func->get_performance_level == NULL) in phm_get_performance_level()
344 return hwmgr->hwmgr_func->get_performance_level(hwmgr, state, designation, index, level); in phm_get_performance_level()
395 if (hwmgr->hwmgr_func->get_current_shallow_sleep_clocks == NULL) in phm_get_current_shallow_sleep_clocks()
398 return hwmgr->hwmgr_func->get_current_shallow_sleep_clocks(hwmgr, state, clock_info); in phm_get_current_shallow_sleep_clocks()
406 if (hwmgr->hwmgr_func->get_clock_by_type == NULL) in phm_get_clock_by_type()
409 return hwmgr->hwmgr_func->get_clock_by_type(hwmgr, type, clocks); in phm_get_clock_by_type()
419 if (hwmgr->hwmgr_func->get_clock_by_type_with_latency == NULL) in phm_get_clock_by_type_with_latency()
422 return hwmgr->hwmgr_func->get_clock_by_type_with_latency(hwmgr, type, clocks); in phm_get_clock_by_type_with_latency()
432 if (hwmgr->hwmgr_func->get_clock_by_type_with_voltage == NULL) in phm_get_clock_by_type_with_voltage()
435 return hwmgr->hwmgr_func->get_clock_by_type_with_voltage(hwmgr, type, clocks); in phm_get_clock_by_type_with_voltage()
444 if (!hwmgr->hwmgr_func->set_watermarks_for_clocks_ranges) in phm_set_watermarks_for_clocks_ranges()
447 return hwmgr->hwmgr_func->set_watermarks_for_clocks_ranges(hwmgr, in phm_set_watermarks_for_clocks_ranges()
456 if (!hwmgr->hwmgr_func->display_clock_voltage_request) in phm_display_clock_voltage_request()
459 return hwmgr->hwmgr_func->display_clock_voltage_request(hwmgr, clock); in phm_display_clock_voltage_request()
466 if (hwmgr->hwmgr_func->get_max_high_clocks == NULL) in phm_get_max_high_clocks()
469 return hwmgr->hwmgr_func->get_max_high_clocks(hwmgr, clocks); in phm_get_max_high_clocks()
476 if (hwmgr->hwmgr_func->disable_smc_firmware_ctf == NULL) in phm_disable_smc_firmware_ctf()
479 return hwmgr->hwmgr_func->disable_smc_firmware_ctf(hwmgr); in phm_disable_smc_firmware_ctf()