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

/linux-4.4.14/drivers/acpi/
H A Dsysfs.c484 static u32 num_gpes; variable
505 for (i = 0; i < num_gpes; i++) delete_gpe_attr_array()
522 if (gpe_number < num_gpes) gpe_count()
525 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + gpe_count()
537 all_counters[num_gpes + event_number].count++; fixed_event_count()
539 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + fixed_event_count()
560 if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS) get_status()
563 if (index < num_gpes) { get_status()
571 } else if (index < (num_gpes + ACPI_NUM_FIXED_EVENTS)) get_status()
572 result = acpi_get_event_status(index - num_gpes, status); get_status()
587 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI].count = counter_show()
589 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT].count = counter_show()
591 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE].count = counter_show()
596 if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS) counter_show()
632 if (index == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI) { counter_set()
653 if (index < num_gpes) { counter_set()
667 } else if (index < num_gpes + ACPI_NUM_FIXED_EVENTS) { counter_set()
668 int event = index - num_gpes; counter_set()
699 num_gpes = acpi_current_gpe_count; acpi_irq_stats_init()
700 num_counters = num_gpes + ACPI_NUM_FIXED_EVENTS + NUM_COUNTERS_EXTRA; acpi_irq_stats_init()
725 if (i < num_gpes) acpi_irq_stats_init()
727 else if (i == num_gpes + ACPI_EVENT_PMTIMER) acpi_irq_stats_init()
729 else if (i == num_gpes + ACPI_EVENT_GLOBAL) acpi_irq_stats_init()
731 else if (i == num_gpes + ACPI_EVENT_POWER_BUTTON) acpi_irq_stats_init()
733 else if (i == num_gpes + ACPI_EVENT_SLEEP_BUTTON) acpi_irq_stats_init()
735 else if (i == num_gpes + ACPI_EVENT_RTC) acpi_irq_stats_init()
737 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE) acpi_irq_stats_init()
739 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI) acpi_irq_stats_init()
741 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT) acpi_irq_stats_init()
743 else if (i == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_ERROR) acpi_irq_stats_init()

Completed in 127 milliseconds