Lines Matching refs:ps
53 hwmgr->ps = kcalloc(table_entries, size, GFP_KERNEL); in psm_init_power_state_table()
54 if (hwmgr->ps == NULL) in psm_init_power_state_table()
59 kfree(hwmgr->ps); in psm_init_power_state_table()
60 hwmgr->ps = NULL; in psm_init_power_state_table()
67 kfree(hwmgr->ps); in psm_init_power_state_table()
69 hwmgr->ps = NULL; in psm_init_power_state_table()
73 state = hwmgr->ps; in psm_init_power_state_table()
99 if (!hwmgr->ps) in psm_fini_power_state_table()
104 kfree(hwmgr->ps); in psm_fini_power_state_table()
106 hwmgr->ps = NULL; in psm_fini_power_state_table()
120 state = hwmgr->ps; in psm_get_ui_state()
141 state = hwmgr->ps; in psm_get_state_by_classification()
161 state = hwmgr->ps; in psm_set_states()
178 if (!hwmgr->ps) in psm_set_boot_states()
193 if (!hwmgr->ps) in psm_set_performance_states()
210 if (!hwmgr->ps) in psm_set_user_performance_state()
214 *state = hwmgr->ps; in psm_set_user_performance_state()
272 if (hwmgr->ps) in psm_adjust_power_state_dynamic()