Searched refs:state_count (Results 1 - 25 of 44) sorted by relevance
12
/drivers/cpuidle/ |
H A D | cpuidle-cps.c | 105 .state_count = STATE_COUNT, 129 cps_driver.state_count = STATE_CLOCK_GATED + 1; 131 cps_driver.state_count = STATE_NC_WAIT + 1; 133 cps_driver.state_count = STATE_WAIT + 1; 136 if (cps_driver.state_count < STATE_COUNT) { 138 switch (cps_driver.state_count - 1) { 156 for (i = STATE_NC_WAIT; i < cps_driver.state_count; i++)
|
H A D | cpuidle-mvebu-v7.c | 70 .state_count = 3, 86 .state_count = 2, 101 .state_count = 2,
|
H A D | cpuidle-at91.c | 50 .state_count = AT91_MAX_STATES,
|
H A D | cpuidle-calxeda.c | 65 .state_count = 2,
|
H A D | cpuidle-clps711x.c | 39 .state_count = 1,
|
H A D | cpuidle-zynq.c | 61 .state_count = ZYNQ_MAX_STATES,
|
H A D | cpuidle-powernv.c | 144 drv->state_count = 0; 151 drv->states[drv->state_count] = /* structure copy */ 154 drv->state_count += 1;
|
H A D | cpuidle-pseries.c | 213 drv->state_count = 0; 220 drv->states[drv->state_count] = /* structure copy */ 223 drv->state_count += 1;
|
H A D | cpuidle-big_little.c | 75 .state_count = 2, 97 .state_count = 2,
|
H A D | cpuidle-exynos.c | 55 .state_count = 2,
|
H A D | cpuidle-kirkwood.c | 54 .state_count = KIRKWOOD_MAX_STATES,
|
H A D | cpuidle-ux500.c | 111 .state_count = 2,
|
H A D | cpuidle.c | 61 for (i = drv->state_count - 1; i >= CPUIDLE_DRIVER_STATE_START; i--) 94 for (i = CPUIDLE_DRIVER_STATE_START; i < drv->state_count; i++) { 300 if (!dev->state_count) 301 dev->state_count = drv->state_count;
|
H A D | driver.c | 173 for (i = drv->state_count - 1; i >= 0 ; i--) { 229 if (!drv || !drv->state_count)
|
H A D | dt_idle_states.c | 204 drv->state_count = state_idx;
|
/drivers/isdn/hisax/ |
H A D | fsm.c | 30 kzalloc(sizeof(FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL); 35 if ((fnlist[i].state >= fsm->state_count) || (fnlist[i].event >= fsm->event_count)) { 37 i, (long)fnlist[i].state, (long)fsm->state_count, 40 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + 56 if ((fi->state >= fi->fsm->state_count) || (event >= fi->fsm->event_count)) { 58 (long)fi->state, (long)fi->fsm->state_count, event, (long)fi->fsm->event_count); 61 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state];
|
H A D | fsm.h | 25 int state_count, event_count; member in struct:Fsm
|
/drivers/isdn/mISDN/ |
H A D | fsm.h | 33 int state_count, event_count; member in struct:Fsm
|
H A D | fsm.c | 35 fsm->jumpmatrix = kzalloc(sizeof(FSMFNPTR) * fsm->state_count * 39 if ((fnlist[i].state >= fsm->state_count) || 43 i, (long)fnlist[i].state, (long)fsm->state_count, 46 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + 63 if ((fi->state >= fi->fsm->state_count) || 67 (long)fi->state, (long)fi->fsm->state_count, event, 71 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state];
|
/drivers/cpufreq/ |
H A D | ia64-acpi-cpufreq.c | 92 for (i = 0; i < data->acpi_data.state_count; i++) { 239 if (data->acpi_data.state_count <= 1) { 258 (data->acpi_data.state_count + 1), 267 for (i=0; i<data->acpi_data.state_count; i++) { 276 for (i = 0; i <= data->acpi_data.state_count; i++) 278 if (i < data->acpi_data.state_count) { 297 for (i = 0; i < data->acpi_data.state_count; i++)
|
H A D | powernow-k8.c | 728 if (!data->acpi_data.state_count) 752 if (data->acpi_data.state_count <= 1) { 769 * (data->acpi_data.state_count + 1)), GFP_KERNEL); 776 data->numps = data->acpi_data.state_count; 783 powernow_table[data->acpi_data.state_count].frequency = 807 /* data->acpi_data.state_count informs us at ->exit() 809 data->acpi_data.state_count = 0; 819 for (i = 0; i < data->acpi_data.state_count; i++) { 872 if (data->acpi_data.state_count) 882 for (i = 0; i < data->acpi_data.state_count; [all...] |
H A D | acpi-cpufreq.c | 207 for (i = 0; i < perf->state_count; i++) { 493 for (i = 0; i < (perf->state_count-1); i++) { 501 perf->state = perf->state_count-1; 715 if (perf->state_count <= 1) { 757 (perf->state_count+1), GFP_KERNEL); 765 for (i = 0; i < perf->state_count; i++) { 781 for (i = 0; i < perf->state_count; i++) { 822 for (i = 0; i < perf->state_count; i++)
|
/drivers/acpi/ |
H A D | processor_throttling.c | 260 if (target_state >= p_throttling->state_count) { 263 target_state = p_throttling->state_count - 1; 334 if (throttling_limit >= pr->throttling.state_count) { 396 if (!pr->throttling.state_count) { 539 pr->throttling.state_count = tss->package.count; 548 for (i = 0; i < pr->throttling.state_count; i++) { 685 duty_mask = pr->throttling.state_count - 1; 702 state = pr->throttling.state_count - duty_value; 842 for (i = 0; i < pr->throttling.state_count; i++) { 857 if (state >= 0 && state <= pr->throttling.state_count) { [all...] |
H A D | processor_perflib.c | 101 if (ppc >= pr->performance->state_count) 200 if (!pr || !pr->performance || !pr->performance->state_count) 352 pr->performance->state_count = pss->package.count; 361 for (i = 0; i < pr->performance->state_count; i++) { 422 pr->performance->state_count = last_invalid;
|
/drivers/cpuidle/governors/ |
H A D | ladder.c | 90 if (last_idx < drv->state_count - 1 && 147 for (i = CPUIDLE_DRIVER_STATE_START; i < drv->state_count; i++) { 157 if (i < drv->state_count - 1)
|
Completed in 210 milliseconds
12