Searched refs:state_count (Results 1 - 22 of 22) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/
H A Dprocessor_throttling.c66 duty_mask = pr->throttling.state_count - 1;
83 state = pr->throttling.state_count - duty_value;
107 if ((state < 0) || (state > (pr->throttling.state_count - 1)))
120 duty_value = pr->throttling.state_count - state;
125 duty_mask = pr->throttling.state_count - 1;
210 pr->throttling.state_count = 1 << acpi_gbl_FADT.duty_width;
218 step = (1000 / pr->throttling.state_count);
220 for (i = 0; i < pr->throttling.state_count; i++) {
226 pr->throttling.state_count));
269 if (!(pr->throttling.state_count >
[all...]
H A Dprocessor_thermal.c245 if (tx == (pr->throttling.state_count - 1))
373 if ((tx < 0) || (tx > (pr->throttling.state_count - 1))) {
H A Dprocessor_perflib.c86 if (ppc >= pr->performance->state_count)
248 pr->performance->state_count = pss->package.count;
257 for (i = 0; i < pr->performance->state_count; i++) {
415 pr->performance->state_count, pr->performance->state);
418 for (i = 0; i < pr->performance->state_count; i++)
H A Dprocessor_core.c667 printk(" %d throttling states", pr->throttling.state_count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dfsm.c29 kzalloc(sizeof (FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL);
34 if ((fnlist[i].state>=fsm->state_count) || (fnlist[i].event>=fsm->event_count)) {
36 i,(long)fnlist[i].state,(long)fsm->state_count,
39 fsm->jumpmatrix[fsm->state_count * fnlist[i].event +
55 if ((fi->state>=fi->fsm->state_count) || (event >= fi->fsm->event_count)) {
57 (long)fi->state,(long)fi->fsm->state_count,event,(long)fi->fsm->event_count);
60 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state];
H A Dfsm.h25 int state_count, event_count; member in struct:Fsm
H A Dst5481_d.c691 l1fsm.state_count = L1_STATE_COUNT;
699 dout_fsm.state_count = DOUT_STATE_COUNT;
H A Disdnl1.c764 l1fsm_s.state_count = L1S_STATE_COUNT;
772 l1fsm_b.state_count = L1B_STATE_COUNT;
782 l1fsm_u.state_count = L1U_STATE_COUNT;
H A Disdnl3.c586 l3fsm.state_count = L3_STATE_COUNT;
H A Dtei.c455 teifsm.state_count = TEI_STATE_COUNT;
H A Dhisax.h162 int state_count, event_count; member in struct:Fsm
H A Dhisax_isac.c872 l1fsm.state_count = L1_STATE_COUNT;
H A Dcallc.c842 callcfsm.state_count = STATE_COUNT;
H A Disdnl2.c1835 l2fsm.state_count = L2_STATE_COUNT;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/cpufreq/
H A Dacpi-cpufreq.c94 for (i = 0; i < data->acpi_data.state_count; i++) {
291 if (data->acpi_data.state_count <= 1) {
310 (data->acpi_data.state_count + 1),
319 for (i=0; i<data->acpi_data.state_count; i++) {
331 for (i = 0; i <= data->acpi_data.state_count; i++)
334 if (i < data->acpi_data.state_count) {
353 for (i = 0; i < data->acpi_data.state_count; i++)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/cpu/cpufreq/
H A Dacpi-cpufreq.c95 for (i=0; i<perf->state_count; i++) {
489 for (i=0; i<(perf->state_count-1); i++) {
497 perf->state = perf->state_count-1;
620 if (perf->state_count <= 1) {
652 (perf->state_count+1), GFP_KERNEL);
660 for (i=0; i<perf->state_count; i++) {
670 for (i=0; i<perf->state_count; i++) {
712 for (i = 0; i < perf->state_count; i++)
H A Dspeedstep-centrino.c452 if (p->state_count <= 1) {
466 for (i=0; i<p->state_count; i++) {
498 (p->state_count + 1), GFP_KERNEL);
504 for (i=0; i<p->state_count; i++) {
510 centrino_model[cpu]->op_points[p->state_count].frequency = CPUFREQ_TABLE_END;
514 for (i=0; i<p->state_count; i++) {
H A Dpowernow-k8.c762 if (!data->acpi_data.state_count || (cpu_family == CPU_HW_PSTATE))
784 if (data->acpi_data.state_count <= 1) {
799 * (data->acpi_data.state_count + 1)), GFP_KERNEL);
812 powernow_table[data->acpi_data.state_count].frequency = CPUFREQ_TABLE_END;
813 powernow_table[data->acpi_data.state_count].index = 0;
817 data->numps = data->acpi_data.state_count;
833 /* data->acpi_data.state_count informs us at ->exit() whether ACPI was used */
834 data->acpi_data.state_count = 0;
843 for (i = 0; i < data->acpi_data.state_count; i++) {
885 for (i = 0; i < data->acpi_data.state_count;
[all...]
H A Dpowernow-k7.c328 number_scales = acpi_processor_perf->state_count;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/acpi/
H A Dprocessor.h119 unsigned int state_count; member in struct:acpi_processor_performance
138 int state_count; member in struct:acpi_processor_throttling
H A Dacpi_bus.h255 int state_count; member in struct:acpi_device_perf
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dtrident.c3583 int i, state_count = 0; local
3593 for (i = 0; (i < ALI_CHANNELS) && (state_count != 4); i++) {
3597 num = ali_multi_channels_5_1[state_count];
3603 state_count--;
3604 for (; state_count >= 0; state_count--) {
3605 kfree(state->other_states[state_count]);
3606 num = ali_multi_channels_5_1[state_count];
3613 num = ali_multi_channels_5_1[state_count];
3615 state_count
[all...]

Completed in 137 milliseconds