Searched refs:cs_data (Results 1 – 2 of 2) sorted by relevance
954 cpupm_wakeup_cstate_data(cma_c_state_t *cs_data, hrtime_t end) in cpupm_wakeup_cstate_data() argument956 cs_data->cs_idle_exit = end; in cpupm_wakeup_cstate_data()967 cpupm_next_cstate(cma_c_state_t *cs_data, cpu_acpi_cstate_t *cstates, in cpupm_next_cstate() argument975 duration = cs_data->cs_idle_exit - cs_data->cs_idle_enter; in cpupm_next_cstate()977 cs_data->cs_idle += duration; in cpupm_next_cstate()978 cs_data->cs_idle_enter = start; in cpupm_next_cstate()980 smpl_cnt = ++cs_data->cs_cnt; in cpupm_next_cstate()981 cs_data->cs_smpl_len = start - cs_data->cs_smpl_start; in cpupm_next_cstate()982 scalehrtime(&cs_data->cs_smpl_len); in cpupm_next_cstate()983 if (cs_data->cs_smpl_len > cpupm_cs_sample_interval) { in cpupm_next_cstate()[all …]
53 extern uint32_t cpupm_next_cstate(cma_c_state_t *cs_data,557 cma_c_state_t *cs_data; in cpu_acpi_idle() local569 cs_data = mach_state->ms_cstate.cma_state.cstate; in cpu_acpi_idle()582 cs_indx = cpupm_next_cstate(cs_data, cstates, cpu_max_cstates, start); in cpu_acpi_idle()617 cpupm_wakeup_cstate_data(cs_data, end); in cpu_acpi_idle()