Lines Matching refs:all_counters
581 static struct event_counter *all_counters; variable
595 struct event_counter *tmp = all_counters; in delete_gpe_attr_array()
597 all_counters = NULL; in delete_gpe_attr_array()
615 if (!all_counters) in gpe_count()
619 all_counters[gpe_number].count++; in gpe_count()
621 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + in gpe_count()
627 if (!all_counters) in fixed_event_count()
631 all_counters[num_gpes + event_number].count++; in fixed_event_count()
633 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + in fixed_event_count()
684 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI].count = in counter_show()
686 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI_NOT].count = in counter_show()
688 all_counters[num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_GPE].count = in counter_show()
690 size = sprintf(buf, "%8u", all_counters[index].count); in counter_show()
745 all_counters[i].count = 0; in counter_set()
777 all_counters[index].count = tmp; in counter_set()
792 all_counters[index].count = tmp; in counter_set()
796 all_counters[index].count = strtoul(buf, NULL, 0); in counter_set()
861 if (all_counters) in acpi_irq_stats_init()
871 all_counters = kcalloc(num_counters, sizeof(*all_counters), GFP_KERNEL); in acpi_irq_stats_init()
872 if (all_counters == NULL) in acpi_irq_stats_init()