/linux-4.4.14/drivers/cpuidle/ |
D | cpuidle-cps.c | 102 .state_count = STATE_COUNT, 126 cps_driver.state_count = STATE_CLOCK_GATED + 1; in cps_cpuidle_init() 128 cps_driver.state_count = STATE_NC_WAIT + 1; in cps_cpuidle_init() 130 cps_driver.state_count = STATE_WAIT + 1; in cps_cpuidle_init() 133 if (cps_driver.state_count < STATE_COUNT) { in cps_cpuidle_init() 135 switch (cps_driver.state_count - 1) { in cps_cpuidle_init() 153 for (i = STATE_NC_WAIT; i < cps_driver.state_count; i++) in cps_cpuidle_init()
|
D | cpuidle-mvebu-v7.c | 68 .state_count = 3, 83 .state_count = 2, 97 .state_count = 2,
|
D | cpuidle-pseries.c | 216 drv->state_count = 0; in pseries_cpuidle_driver_init() 223 drv->states[drv->state_count] = /* structure copy */ in pseries_cpuidle_driver_init() 226 drv->state_count += 1; in pseries_cpuidle_driver_init()
|
D | cpuidle-exynos.c | 92 .state_count = 2, 111 .state_count = 2,
|
D | cpuidle-powernv.c | 150 drv->state_count = 0; in powernv_cpuidle_driver_init() 157 drv->states[drv->state_count] = /* structure copy */ in powernv_cpuidle_driver_init() 160 drv->state_count += 1; in powernv_cpuidle_driver_init()
|
D | cpuidle-big_little.c | 74 .state_count = 2, 95 .state_count = 2,
|
D | driver.c | 172 for (i = drv->state_count - 1; i >= 0 ; i--) { in __cpuidle_driver_init() 227 if (!drv || !drv->state_count) in __cpuidle_register_driver()
|
D | cpuidle-zynq.c | 59 .state_count = ZYNQ_MAX_STATES,
|
D | cpuidle-at91.c | 48 .state_count = AT91_MAX_STATES,
|
D | cpuidle-calxeda.c | 69 .state_count = 2,
|
D | cpuidle-clps711x.c | 39 .state_count = 1,
|
D | cpuidle-kirkwood.c | 52 .state_count = KIRKWOOD_MAX_STATES,
|
D | cpuidle-ux500.c | 109 .state_count = 2,
|
D | coupled.c | 200 for (i = drv->state_count - 1; i >= 0; i--) { in cpuidle_coupled_state_verify() 204 drv->safe_state_index >= drv->state_count)) in cpuidle_coupled_state_verify()
|
D | dt_idle_states.c | 212 drv->state_count = state_idx; in dt_init_idle_driver()
|
D | cpuidle.c | 68 for (i = drv->state_count - 1; i >= 0; i--) in cpuidle_play_dead() 84 for (i = 0; i < drv->state_count; i++) { in find_deepest_state()
|
D | sysfs.c | 404 for (i = 0; i < drv->state_count; i++) { in cpuidle_add_state_sysfs() 439 for (i = 0; i < drv->state_count; i++) in cpuidle_remove_state_sysfs()
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | fsm.c | 30 kzalloc(sizeof(FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL); in FsmNew() 35 if ((fnlist[i].state >= fsm->state_count) || (fnlist[i].event >= fsm->event_count)) { in FsmNew() 37 i, (long)fnlist[i].state, (long)fsm->state_count, in FsmNew() 40 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + in FsmNew() 56 if ((fi->state >= fi->fsm->state_count) || (event >= fi->fsm->event_count)) { in FsmEvent() 58 (long)fi->state, (long)fi->fsm->state_count, event, (long)fi->fsm->event_count); in FsmEvent() 61 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in FsmEvent()
|
D | fsm.h | 25 int state_count, event_count; member
|
D | isdnl1.c | 759 l1fsm_s.state_count = L1S_STATE_COUNT; in Isdnl1New() 767 l1fsm_b.state_count = L1B_STATE_COUNT; in Isdnl1New() 777 l1fsm_u.state_count = L1U_STATE_COUNT; in Isdnl1New()
|
D | st5481_d.c | 751 l1fsm.state_count = L1_STATE_COUNT; in st5481_d_init() 759 dout_fsm.state_count = DOUT_STATE_COUNT; in st5481_d_init()
|
D | tei.c | 454 teifsm.state_count = TEI_STATE_COUNT; in TeiNew()
|
D | isdnl3.c | 585 l3fsm.state_count = L3_STATE_COUNT; in Isdnl3New()
|
D | hisax_isac.c | 873 l1fsm.state_count = L1_STATE_COUNT; in hisax_isac_init()
|
D | hisax.h | 172 int state_count, event_count; member
|
D | callc.c | 840 callcfsm.state_count = STATE_COUNT; in CallcNew()
|
D | isdnl2.c | 1828 l2fsm.state_count = L2_STATE_COUNT; in Isdnl2New()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | fsm.c | 35 fsm->jumpmatrix = kzalloc(sizeof(FSMFNPTR) * fsm->state_count * in mISDN_FsmNew() 39 if ((fnlist[i].state >= fsm->state_count) || in mISDN_FsmNew() 43 i, (long)fnlist[i].state, (long)fsm->state_count, in mISDN_FsmNew() 46 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + in mISDN_FsmNew() 63 if ((fi->state >= fi->fsm->state_count) || in mISDN_FsmEvent() 67 (long)fi->state, (long)fi->fsm->state_count, event, in mISDN_FsmEvent() 71 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in mISDN_FsmEvent()
|
D | fsm.h | 33 int state_count, event_count; member
|
D | layer1.c | 413 l1fsm_s.state_count = L1S_STATE_COUNT; in l1_init()
|
D | tei.c | 1391 teifsmu.state_count = TEI_STATE_COUNT; in TEIInit() 1396 teifsmn.state_count = TEI_STATE_COUNT; in TEIInit() 1401 deactfsm.state_count = DEACT_STATE_COUNT; in TEIInit()
|
D | layer2.c | 2252 l2fsm.state_count = L2_STATE_COUNT; in Isdnl2_Init()
|
/linux-4.4.14/security/apparmor/ |
D | match.c | 102 size_t i, state_count, trans_count; in verify_dfa() local 112 state_count = dfa->tables[YYTD_ID_BASE]->td_lolen; in verify_dfa() 116 if (state_count != dfa->tables[YYTD_ID_ACCEPT]->td_lolen) in verify_dfa() 122 if (state_count != dfa->tables[YYTD_ID_ACCEPT2]->td_lolen) in verify_dfa() 125 if (state_count != dfa->tables[YYTD_ID_DEF]->td_lolen) in verify_dfa() 139 for (i = 0; i < state_count; i++) { in verify_dfa() 140 if (DEFAULT_TABLE(dfa)[i] >= state_count) in verify_dfa() 150 if (NEXT_TABLE(dfa)[i] >= state_count) in verify_dfa() 152 if (CHECK_TABLE(dfa)[i] >= state_count) in verify_dfa()
|
/linux-4.4.14/drivers/cpufreq/ |
D | ia64-acpi-cpufreq.c | 91 for (i = 0; i < data->acpi_data.state_count; i++) { in extract_clock() 239 if (data->acpi_data.state_count <= 1) { in acpi_cpufreq_cpu_init() 258 (data->acpi_data.state_count + 1), in acpi_cpufreq_cpu_init() 267 for (i=0; i<data->acpi_data.state_count; i++) { in acpi_cpufreq_cpu_init() 276 for (i = 0; i <= data->acpi_data.state_count; i++) in acpi_cpufreq_cpu_init() 278 if (i < data->acpi_data.state_count) { in acpi_cpufreq_cpu_init() 297 for (i = 0; i < data->acpi_data.state_count; i++) in acpi_cpufreq_cpu_init()
|
D | acpi-cpufreq.c | 213 for (i = 0; i < perf->state_count; i++) { in extract_io() 504 for (i = 0; i < (perf->state_count-1); i++) { in acpi_cpufreq_guess_freq() 512 perf->state = perf->state_count-1; in acpi_cpufreq_guess_freq() 727 if (perf->state_count <= 1) { in acpi_cpufreq_cpu_init() 769 (perf->state_count+1), GFP_KERNEL); in acpi_cpufreq_cpu_init() 777 for (i = 0; i < perf->state_count; i++) { in acpi_cpufreq_cpu_init() 793 for (i = 0; i < perf->state_count; i++) { in acpi_cpufreq_cpu_init() 834 for (i = 0; i < perf->state_count; i++) in acpi_cpufreq_cpu_init()
|
D | powernow-k8.c | 721 if (!data->acpi_data.state_count) in powernow_k8_acpi_pst_values() 745 if (data->acpi_data.state_count <= 1) { in powernow_k8_cpu_init_acpi() 762 * (data->acpi_data.state_count + 1)), GFP_KERNEL); in powernow_k8_cpu_init_acpi() 769 data->numps = data->acpi_data.state_count; in powernow_k8_cpu_init_acpi() 776 powernow_table[data->acpi_data.state_count].frequency = in powernow_k8_cpu_init_acpi() 802 data->acpi_data.state_count = 0; in powernow_k8_cpu_init_acpi() 812 for (i = 0; i < data->acpi_data.state_count; i++) { in fill_powernow_table_fidvid() 865 if (data->acpi_data.state_count) in powernow_k8_cpu_exit_acpi() 874 for (i = 0; i < data->acpi_data.state_count; i++) { in get_transition_latency()
|
D | powernow-k7.c | 338 number_scales = acpi_processor_perf->state_count; in powernow_acpi_init()
|
/linux-4.4.14/drivers/acpi/ |
D | processor_throttling.c | 256 if (target_state >= p_throttling->state_count) { in acpi_processor_throttling_notifier() 259 target_state = p_throttling->state_count - 1; in acpi_processor_throttling_notifier() 330 if (throttling_limit >= pr->throttling.state_count) { in acpi_processor_tstate_has_changed() 392 if (!pr->throttling.state_count) { in acpi_processor_reevaluate_tstate() 535 pr->throttling.state_count = tss->package.count; in acpi_processor_get_throttling_states() 544 for (i = 0; i < pr->throttling.state_count; i++) { in acpi_processor_get_throttling_states() 681 duty_mask = pr->throttling.state_count - 1; in acpi_processor_get_throttling_fadt() 698 state = pr->throttling.state_count - duty_value; in acpi_processor_get_throttling_fadt() 838 for (i = 0; i < pr->throttling.state_count; i++) { in acpi_get_throttling_state() 853 if (state >= 0 && state <= pr->throttling.state_count) { in acpi_get_throttling_value() [all …]
|
D | processor_perflib.c | 97 if (ppc >= pr->performance->state_count) in acpi_processor_ppc_notifier() 196 if (!pr || !pr->performance || !pr->performance->state_count) in acpi_processor_get_bios_limit() 348 pr->performance->state_count = pss->package.count; in acpi_processor_get_performance_states() 357 for (i = 0; i < pr->performance->state_count; i++) { in acpi_processor_get_performance_states() 418 pr->performance->state_count = last_invalid; in acpi_processor_get_performance_states()
|
D | processor_thermal.c | 193 max_state += (pr->throttling.state_count -1); in acpi_processor_max_state()
|
D | processor_idle.c | 960 drv->state_count = count; in acpi_processor_setup_cpuidle_states()
|
/linux-4.4.14/drivers/soc/qcom/ |
D | spm.c | 215 int state_count = 1; in qcom_cpuidle_init() local 239 idle_fns[state_count] = match_id->data; in qcom_cpuidle_init() 245 state_count++; in qcom_cpuidle_init() 248 if (state_count == 1) in qcom_cpuidle_init() 251 fns = devm_kcalloc(get_cpu_device(cpu), state_count, sizeof(*fns), in qcom_cpuidle_init() 256 for (i = 1; i < state_count; i++) in qcom_cpuidle_init()
|
/linux-4.4.14/arch/arm/mach-tegra/ |
D | cpuidle-tegra30.c | 46 .state_count = 2, 48 .state_count = 1,
|
D | cpuidle-tegra114.c | 73 .state_count = TEGRA114_MAX_STATES,
|
D | cpuidle-tegra20.c | 68 .state_count = TEGRA20_MAX_STATES,
|
/linux-4.4.14/drivers/cpuidle/governors/ |
D | ladder.c | 85 if (last_idx < drv->state_count - 1 && in ladder_select_state() 142 for (i = CPUIDLE_DRIVER_STATE_START; i < drv->state_count; i++) { in ladder_enable_device() 152 if (i < drv->state_count - 1) in ladder_enable_device()
|
D | menu.c | 342 for (i = CPUIDLE_DRIVER_STATE_START; i < drv->state_count; i++) { in menu_select()
|
/linux-4.4.14/drivers/xen/ |
D | xen-acpi-processor.c | 151 dst_states = kcalloc(_pr->performance->state_count, in xen_copy_pss_data() 156 dst_perf->state_count = _pr->performance->state_count; in xen_copy_pss_data() 157 for (i = 0; i < _pr->performance->state_count; i++) { in xen_copy_pss_data() 255 for (i = 0; i < perf->state_count; i++) { in push_pxx_to_hypervisor()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | cpuidle-imx5.c | 30 .state_count = 1,
|
D | cpuidle-imx6sl.c | 48 .state_count = 2,
|
D | cpuidle-imx6q.c | 61 .state_count = 2,
|
D | cpuidle-imx6sx.c | 87 .state_count = 3,
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
D | cpuidle.c | 55 .state_count = 1,
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | cpuidle34xx.c | 315 .state_count = ARRAY_SIZE(omap3_idle_data), 378 .state_count = ARRAY_SIZE(omap3_idle_data),
|
D | cpuidle44xx.c | 219 .state_count = ARRAY_SIZE(omap4_idle_data),
|
/linux-4.4.14/arch/sh/kernel/cpu/shmobile/ |
D | cpuidle.c | 86 .state_count = 3,
|
/linux-4.4.14/arch/arm/mach-davinci/ |
D | cpuidle.c | 71 .state_count = DAVINCI_CPUIDLE_MAX_STATES,
|
/linux-4.4.14/include/acpi/ |
D | processor.h | 109 unsigned int state_count; member 154 unsigned int state_count; member
|
D | acpi_bus.h | 306 int state_count; member
|
/linux-4.4.14/include/linux/ |
D | cpuidle.h | 118 int state_count; member
|
/linux-4.4.14/drivers/idle/ |
D | intel_idle.c | 1096 drv->state_count = 1; in intel_idle_cpuidle_driver_init() 1135 drv->states[drv->state_count] = /* structure copy */ in intel_idle_cpuidle_driver_init() 1138 drv->state_count += 1; in intel_idle_cpuidle_driver_init()
|
/linux-4.4.14/include/xen/interface/ |
D | platform.h | 408 uint32_t state_count; /* total available performance states */ member
|
/linux-4.4.14/arch/x86/kernel/ |
D | apm_32.c | 386 .state_count = 2,
|