state_count 68 arch/arm/mach-davinci/cpuidle.c .state_count = DAVINCI_CPUIDLE_MAX_STATES, state_count 28 arch/arm/mach-imx/cpuidle-imx5.c .state_count = 1, state_count 53 arch/arm/mach-imx/cpuidle-imx6q.c .state_count = 2, state_count 45 arch/arm/mach-imx/cpuidle-imx6sl.c .state_count = 2, state_count 96 arch/arm/mach-imx/cpuidle-imx6sx.c .state_count = 3, state_count 53 arch/arm/mach-imx/cpuidle-imx7ulp.c .state_count = 3, state_count 312 arch/arm/mach-omap2/cpuidle34xx.c .state_count = ARRAY_SIZE(omap3_idle_data), state_count 375 arch/arm/mach-omap2/cpuidle34xx.c .state_count = ARRAY_SIZE(omap3_idle_data), state_count 253 arch/arm/mach-omap2/cpuidle44xx.c .state_count = ARRAY_SIZE(omap4_idle_data), state_count 279 arch/arm/mach-omap2/cpuidle44xx.c .state_count = ARRAY_SIZE(omap5_idle_data), state_count 51 arch/arm/mach-s3c64xx/cpuidle.c .state_count = 1, state_count 65 arch/arm/mach-tegra/cpuidle-tegra114.c .state_count = TEGRA114_MAX_STATES, state_count 62 arch/arm/mach-tegra/cpuidle-tegra20.c .state_count = TEGRA20_MAX_STATES, state_count 38 arch/arm/mach-tegra/cpuidle-tegra30.c .state_count = 2, state_count 40 arch/arm/mach-tegra/cpuidle-tegra30.c .state_count = 1, state_count 83 arch/sh/kernel/cpu/shmobile/cpuidle.c .state_count = 3, state_count 379 arch/x86/kernel/apm_32.c .state_count = 2, state_count 893 drivers/acpi/processor_idle.c drv->state_count = count; state_count 1123 drivers/acpi/processor_idle.c int i, j, state_count = curr_level->size; state_count 1127 drivers/acpi/processor_idle.c for (j = 0; j < state_count; j++, t++) { state_count 1283 drivers/acpi/processor_idle.c drv->state_count = i; state_count 83 drivers/acpi/processor_perflib.c if (ppc >= pr->performance->state_count || state_count 146 drivers/acpi/processor_perflib.c if (!pr || !pr->performance || !pr->performance->state_count) state_count 317 drivers/acpi/processor_perflib.c pr->performance->state_count = pss->package.count; state_count 327 drivers/acpi/processor_perflib.c for (i = 0; i < pr->performance->state_count; i++) { state_count 388 drivers/acpi/processor_perflib.c pr->performance->state_count = last_invalid; state_count 188 drivers/acpi/processor_thermal.c max_state += (pr->throttling.state_count -1); state_count 243 drivers/acpi/processor_throttling.c if (target_state >= p_throttling->state_count) { state_count 246 drivers/acpi/processor_throttling.c target_state = p_throttling->state_count - 1; state_count 317 drivers/acpi/processor_throttling.c if (throttling_limit >= pr->throttling.state_count) { state_count 379 drivers/acpi/processor_throttling.c if (!pr->throttling.state_count) { state_count 522 drivers/acpi/processor_throttling.c pr->throttling.state_count = tss->package.count; state_count 532 drivers/acpi/processor_throttling.c for (i = 0; i < pr->throttling.state_count; i++) { state_count 678 drivers/acpi/processor_throttling.c duty_mask = pr->throttling.state_count - 1; state_count 695 drivers/acpi/processor_throttling.c state = pr->throttling.state_count - duty_value; state_count 835 drivers/acpi/processor_throttling.c for (i = 0; i < pr->throttling.state_count; i++) { state_count 850 drivers/acpi/processor_throttling.c if (state >= 0 && state <= pr->throttling.state_count) { state_count 937 drivers/acpi/processor_throttling.c pr->throttling.state_count = 1 << acpi_gbl_FADT.duty_width; state_count 945 drivers/acpi/processor_throttling.c step = (1000 / pr->throttling.state_count); state_count 947 drivers/acpi/processor_throttling.c for (i = 0; i < pr->throttling.state_count; i++) { state_count 964 drivers/acpi/processor_throttling.c if ((state < 0) || (state > (pr->throttling.state_count - 1))) state_count 979 drivers/acpi/processor_throttling.c duty_value = pr->throttling.state_count - state; state_count 984 drivers/acpi/processor_throttling.c duty_mask = pr->throttling.state_count - 1; state_count 1036 drivers/acpi/processor_throttling.c if ((state < 0) || (state > (pr->throttling.state_count - 1))) state_count 1083 drivers/acpi/processor_throttling.c if ((state < 0) || (state > (pr->throttling.state_count - 1))) state_count 1231 drivers/acpi/processor_throttling.c pr->throttling.state_count)); state_count 971 drivers/base/power/domain.c genpd->state_idx = genpd->state_count - 1; state_count 1737 drivers/base/power/domain.c unsigned int state_count) state_count 1751 drivers/base/power/domain.c genpd->state_count = 1; state_count 1824 drivers/base/power/domain.c if (genpd->state_count == 0) { state_count 1831 drivers/base/power/domain.c } else if (!gov && genpd->state_count > 1) { state_count 1879 drivers/base/power/domain.c genpd->free_states(genpd->states, genpd->state_count); state_count 2899 drivers/base/power/domain.c for (i = 0; i < genpd->state_count; i++) { state_count 2947 drivers/base/power/domain.c for (i = 0; i < genpd->state_count; i++) { state_count 231 drivers/base/power/domain_governor.c genpd->state_idx = genpd->state_count - 1; state_count 199 drivers/cpufreq/acpi-cpufreq.c for (i = 0; i < perf->state_count; i++) { state_count 501 drivers/cpufreq/acpi-cpufreq.c for (i = 0; i < (perf->state_count-1); i++) { state_count 509 drivers/cpufreq/acpi-cpufreq.c perf->state = perf->state_count-1; state_count 702 drivers/cpufreq/acpi-cpufreq.c if (perf->state_count <= 1) { state_count 749 drivers/cpufreq/acpi-cpufreq.c freq_table = kcalloc(perf->state_count + 1, sizeof(*freq_table), state_count 758 drivers/cpufreq/acpi-cpufreq.c for (i = 0; i < perf->state_count; i++) { state_count 773 drivers/cpufreq/acpi-cpufreq.c for (i = 0; i < perf->state_count; i++) { state_count 808 drivers/cpufreq/acpi-cpufreq.c for (i = 0; i < perf->state_count; i++) state_count 96 drivers/cpufreq/ia64-acpi-cpufreq.c for (i = 0; i < data->acpi_data.state_count; i++) { state_count 225 drivers/cpufreq/ia64-acpi-cpufreq.c if (data->acpi_data.state_count <= 1) { state_count 243 drivers/cpufreq/ia64-acpi-cpufreq.c freq_table = kcalloc(data->acpi_data.state_count + 1, state_count 253 drivers/cpufreq/ia64-acpi-cpufreq.c for (i=0; i<data->acpi_data.state_count; i++) { state_count 262 drivers/cpufreq/ia64-acpi-cpufreq.c for (i = 0; i <= data->acpi_data.state_count; i++) state_count 264 drivers/cpufreq/ia64-acpi-cpufreq.c if (i < data->acpi_data.state_count) { state_count 279 drivers/cpufreq/ia64-acpi-cpufreq.c for (i = 0; i < data->acpi_data.state_count; i++) state_count 433 drivers/cpufreq/intel_pstate.c if (cpu->acpi_perf_data.state_count < 2) state_count 437 drivers/cpufreq/intel_pstate.c for (i = 0; i < cpu->acpi_perf_data.state_count; i++) { state_count 336 drivers/cpufreq/powernow-k7.c number_scales = acpi_processor_perf->state_count; state_count 714 drivers/cpufreq/powernow-k8.c if (!data->acpi_data.state_count) state_count 738 drivers/cpufreq/powernow-k8.c if (data->acpi_data.state_count <= 1) { state_count 755 drivers/cpufreq/powernow-k8.c * (data->acpi_data.state_count + 1)), GFP_KERNEL); state_count 760 drivers/cpufreq/powernow-k8.c data->numps = data->acpi_data.state_count; state_count 767 drivers/cpufreq/powernow-k8.c powernow_table[data->acpi_data.state_count].frequency = state_count 793 drivers/cpufreq/powernow-k8.c data->acpi_data.state_count = 0; state_count 803 drivers/cpufreq/powernow-k8.c for (i = 0; i < data->acpi_data.state_count; i++) { state_count 856 drivers/cpufreq/powernow-k8.c if (data->acpi_data.state_count) state_count 865 drivers/cpufreq/powernow-k8.c for (i = 0; i < data->acpi_data.state_count; i++) { state_count 190 drivers/cpuidle/coupled.c for (i = drv->state_count - 1; i >= 0; i--) { state_count 194 drivers/cpuidle/coupled.c drv->safe_state_index >= drv->state_count)) state_count 48 drivers/cpuidle/cpuidle-at91.c .state_count = AT91_MAX_STATES, state_count 71 drivers/cpuidle/cpuidle-big_little.c .state_count = 2, state_count 92 drivers/cpuidle/cpuidle-big_little.c .state_count = 2, state_count 58 drivers/cpuidle/cpuidle-calxeda.c .state_count = 2, state_count 35 drivers/cpuidle/cpuidle-clps711x.c .state_count = 1, state_count 98 drivers/cpuidle/cpuidle-cps.c .state_count = STATE_COUNT, state_count 122 drivers/cpuidle/cpuidle-cps.c cps_driver.state_count = STATE_CLOCK_GATED + 1; state_count 124 drivers/cpuidle/cpuidle-cps.c cps_driver.state_count = STATE_NC_WAIT + 1; state_count 126 drivers/cpuidle/cpuidle-cps.c cps_driver.state_count = STATE_WAIT + 1; state_count 129 drivers/cpuidle/cpuidle-cps.c if (cps_driver.state_count < STATE_COUNT) { state_count 131 drivers/cpuidle/cpuidle-cps.c switch (cps_driver.state_count - 1) { state_count 149 drivers/cpuidle/cpuidle-cps.c for (i = STATE_NC_WAIT; i < cps_driver.state_count; i++) state_count 89 drivers/cpuidle/cpuidle-exynos.c .state_count = 2, state_count 108 drivers/cpuidle/cpuidle-exynos.c .state_count = 2, state_count 50 drivers/cpuidle/cpuidle-haltpoll.c .state_count = 2, state_count 52 drivers/cpuidle/cpuidle-kirkwood.c .state_count = KIRKWOOD_MAX_STATES, state_count 68 drivers/cpuidle/cpuidle-mvebu-v7.c .state_count = 3, state_count 83 drivers/cpuidle/cpuidle-mvebu-v7.c .state_count = 2, state_count 97 drivers/cpuidle/cpuidle-mvebu-v7.c .state_count = 2, state_count 58 drivers/cpuidle/cpuidle-powernv.c for (i = index + 1; i < drv->state_count; i++) { state_count 196 drivers/cpuidle/cpuidle-powernv.c drv->state_count = 0; state_count 203 drivers/cpuidle/cpuidle-powernv.c drv->states[drv->state_count] = /* structure copy */ state_count 206 drivers/cpuidle/cpuidle-powernv.c drv->state_count += 1; state_count 223 drivers/cpuidle/cpuidle-pseries.c drv->state_count = 0; state_count 230 drivers/cpuidle/cpuidle-pseries.c drv->states[drv->state_count] = /* structure copy */ state_count 233 drivers/cpuidle/cpuidle-pseries.c drv->state_count += 1; state_count 106 drivers/cpuidle/cpuidle-ux500.c .state_count = 2, state_count 48 drivers/cpuidle/cpuidle-zynq.c .state_count = ZYNQ_MAX_STATES, state_count 69 drivers/cpuidle/cpuidle.c for (i = drv->state_count - 1; i >= 0; i--) state_count 85 drivers/cpuidle/cpuidle.c for (i = 1; i < drv->state_count; i++) { state_count 277 drivers/cpuidle/cpuidle.c for (i = entered_state + 1; i < drv->state_count; i++) { state_count 382 drivers/cpuidle/cpuidle.c for (i = 1; i < drv->state_count; i++) { state_count 173 drivers/cpuidle/driver.c for (i = drv->state_count - 1; i >= 0 ; i--) { state_count 198 drivers/cpuidle/driver.c if (!drv || !drv->state_count) state_count 220 drivers/cpuidle/dt_idle_states.c drv->state_count = state_idx; state_count 54 drivers/cpuidle/governors/haltpoll.c if (!drv->state_count || latency_req == 0) { state_count 86 drivers/cpuidle/governors/ladder.c if (last_idx < drv->state_count - 1 && state_count 144 drivers/cpuidle/governors/ladder.c for (i = first_idx; i < drv->state_count; i++) { state_count 154 drivers/cpuidle/governors/ladder.c if (i < drv->state_count - 1) state_count 298 drivers/cpuidle/governors/menu.c if (unlikely(drv->state_count <= 1 || latency_req == 0) || state_count 350 drivers/cpuidle/governors/menu.c for (i = 0; i < drv->state_count; i++) { state_count 153 drivers/cpuidle/governors/teo.c for (i = 0; i < drv->state_count; i++) { state_count 255 drivers/cpuidle/governors/teo.c constraint_idx = drv->state_count; state_count 258 drivers/cpuidle/governors/teo.c for (i = 0; i < drv->state_count; i++) { state_count 469 drivers/cpuidle/sysfs.c for (i = 0; i < drv->state_count; i++) { state_count 508 drivers/cpuidle/sysfs.c for (i = 0; i < drv->state_count; i++) state_count 293 drivers/firmware/psci/psci_checker.c cpu, drv->state_count - 1); state_count 302 drivers/firmware/psci/psci_checker.c for (index = 1; index < drv->state_count; ++index) { state_count 3104 drivers/gpu/drm/i915/i915_irq.c for (i = 0; i < drv->state_count; i++) { state_count 1332 drivers/idle/intel_idle.c drv->state_count = 1; state_count 1370 drivers/idle/intel_idle.c drv->states[drv->state_count] = /* structure copy */ state_count 1373 drivers/idle/intel_idle.c drv->state_count += 1; state_count 27 drivers/isdn/mISDN/fsm.c kzalloc(array3_size(sizeof(FSMFNPTR), fsm->state_count, state_count 34 drivers/isdn/mISDN/fsm.c if ((fnlist[i].state >= fsm->state_count) || state_count 38 drivers/isdn/mISDN/fsm.c i, (long)fnlist[i].state, (long)fsm->state_count, state_count 41 drivers/isdn/mISDN/fsm.c fsm->jumpmatrix[fsm->state_count * fnlist[i].event + state_count 59 drivers/isdn/mISDN/fsm.c if ((fi->state >= fi->fsm->state_count) || state_count 63 drivers/isdn/mISDN/fsm.c (long)fi->state, (long)fi->fsm->state_count, event, state_count 67 drivers/isdn/mISDN/fsm.c r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; state_count 24 drivers/isdn/mISDN/fsm.h int state_count, event_count; state_count 404 drivers/isdn/mISDN/layer1.c l1fsm_s.state_count = L1S_STATE_COUNT; state_count 2241 drivers/isdn/mISDN/layer2.c l2fsm.state_count = L2_STATE_COUNT; state_count 1380 drivers/isdn/mISDN/tei.c teifsmu.state_count = TEI_STATE_COUNT; state_count 1387 drivers/isdn/mISDN/tei.c teifsmn.state_count = TEI_STATE_COUNT; state_count 1394 drivers/isdn/mISDN/tei.c deactfsm.state_count = DEACT_STATE_COUNT; state_count 265 drivers/soc/imx/gpc.c .state_count = 1, state_count 208 drivers/soc/qcom/spm.c int state_count = 1; state_count 235 drivers/soc/qcom/spm.c idle_fns[state_count] = match_id->data; state_count 241 drivers/soc/qcom/spm.c state_count++; state_count 244 drivers/soc/qcom/spm.c if (state_count == 1) state_count 247 drivers/soc/qcom/spm.c fns = devm_kcalloc(get_cpu_device(cpu), state_count, sizeof(*fns), state_count 252 drivers/soc/qcom/spm.c for (i = 1; i < state_count; i++) state_count 144 drivers/xen/xen-acpi-processor.c dst_states = kcalloc(_pr->performance->state_count, state_count 149 drivers/xen/xen-acpi-processor.c dst_perf->state_count = _pr->performance->state_count; state_count 150 drivers/xen/xen-acpi-processor.c for (i = 0; i < _pr->performance->state_count; i++) { state_count 248 drivers/xen/xen-acpi-processor.c for (i = 0; i < perf->state_count; i++) { state_count 299 include/acpi/acpi_bus.h int state_count; state_count 130 include/acpi/processor.h unsigned int state_count; state_count 175 include/acpi/processor.h unsigned int state_count; state_count 119 include/linux/cpuidle.h int state_count; state_count 132 include/linux/pm_domain.h unsigned int state_count); state_count 133 include/linux/pm_domain.h unsigned int state_count; /* number of states */ state_count 417 include/xen/interface/platform.h uint32_t state_count; /* total available performance states */ state_count 146 security/apparmor/match.c size_t state_count, trans_count; state_count 155 security/apparmor/match.c state_count = tables[YYTD_ID_BASE]->td_lolen; state_count 159 security/apparmor/match.c if (state_count != tables[YYTD_ID_ACCEPT]->td_lolen) state_count 165 security/apparmor/match.c if (state_count != tables[YYTD_ID_ACCEPT2]->td_lolen) state_count 168 security/apparmor/match.c if (state_count != tables[YYTD_ID_DEF]->td_lolen) state_count 196 security/apparmor/match.c size_t i, state_count, trans_count; state_count 199 security/apparmor/match.c state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; state_count 201 security/apparmor/match.c for (i = 0; i < state_count; i++) { state_count 203 security/apparmor/match.c (DEFAULT_TABLE(dfa)[i] >= state_count)) state_count 212 security/apparmor/match.c if (NEXT_TABLE(dfa)[i] >= state_count) state_count 214 security/apparmor/match.c if (CHECK_TABLE(dfa)[i] >= state_count) state_count 219 security/apparmor/match.c for (i = 0; i < state_count; i++) {