Searched refs:arc_pmu (Results 1 – 1 of 1) sorted by relevance
192 struct arc_pmu { struct258 static struct arc_pmu *arc_pmu; variable668 arc_pmu->attr[j].attr.attr.name = arc_pmu->raw_entry[j].name; in arc_pmu_add_raw_event_attr()672 arc_pmu->attrs[j] = &(arc_pmu->attr[j].attr.attr); in arc_pmu_add_raw_event_attr()677 arc_pmu->attr = devm_kmalloc_array(dev, arc_pmu->n_events + 1, in arc_pmu_raw_alloc()679 if (!arc_pmu->attr) in arc_pmu_raw_alloc()682 arc_pmu->attrs = devm_kmalloc_array(dev, arc_pmu->n_events + 1, in arc_pmu_raw_alloc()684 if (!arc_pmu->attrs) in arc_pmu_raw_alloc()687 arc_pmu->raw_entry = devm_kmalloc_array(dev, arc_pmu->n_events, in arc_pmu_raw_alloc()752 arc_pmu = devm_kzalloc(&pdev->dev, sizeof(struct arc_pmu), GFP_KERNEL); in arc_pmu_device_probe()[all …]