Lines Matching refs:all_counters
575 static struct event_counter *all_counters; variable
589 struct event_counter *tmp = all_counters; in delete_gpe_attr_array()
591 all_counters = NULL; in delete_gpe_attr_array()
611 if (!all_counters) in gpe_count()
615 all_counters[gpe_number].count++; in gpe_count()
617 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + in gpe_count()
625 if (!all_counters) in fixed_event_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()
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()
691 size = sprintf(buf, "%8u", all_counters[index].count); in counter_show()
746 all_counters[i].count = 0; in counter_set()
779 all_counters[index].count = tmp; in counter_set()
794 all_counters[index].count = tmp; in counter_set()
798 all_counters[index].count = strtoul(buf, NULL, 0); in counter_set()
857 if (all_counters) in acpi_irq_stats_init()
868 all_counters = kcalloc(num_counters, sizeof(struct event_counter), in acpi_irq_stats_init()
870 if (all_counters == NULL) in acpi_irq_stats_init()