Lines Matching refs:num_gpes
576 static u32 num_gpes; variable
597 for (i = 0; i < num_gpes; i++) in delete_gpe_attr_array()
614 if (gpe_number < num_gpes) in gpe_count()
617 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + in gpe_count()
629 all_counters[num_gpes + event_number].count++; in fixed_event_count()
631 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + in fixed_event_count()
656 if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS) in get_status()
659 if (index < num_gpes) { in get_status()
668 status = acpi_get_event_status(index - num_gpes, ret); in get_status()
685 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI].count = in counter_show()
687 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT].count = in counter_show()
689 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE].count = in counter_show()
694 if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS) in counter_show()
743 if (index == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI) { in counter_set()
764 if (index < num_gpes) { in counter_set()
782 } else if (index < num_gpes + ACPI_NUM_FIXED_EVENTS) { in counter_set()
783 int event = index - num_gpes; in counter_set()
860 num_gpes = acpi_current_gpe_count; in acpi_irq_stats_init()
861 num_counters = num_gpes + ACPI_NUM_FIXED_EVENTS + NUM_COUNTERS_EXTRA; in acpi_irq_stats_init()
886 if (i < num_gpes) in acpi_irq_stats_init()
888 else if (i == num_gpes + ACPI_EVENT_PMTIMER) in acpi_irq_stats_init()
890 else if (i == num_gpes + ACPI_EVENT_GLOBAL) in acpi_irq_stats_init()
892 else if (i == num_gpes + ACPI_EVENT_POWER_BUTTON) in acpi_irq_stats_init()
894 else if (i == num_gpes + ACPI_EVENT_SLEEP_BUTTON) in acpi_irq_stats_init()
896 else if (i == num_gpes + ACPI_EVENT_RTC) in acpi_irq_stats_init()
898 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE) in acpi_irq_stats_init()
900 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI) in acpi_irq_stats_init()
902 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT) in acpi_irq_stats_init()
904 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_ERROR) in acpi_irq_stats_init()