Lines Matching refs:pmu

137 	struct pmu pmu;  member
151 #define to_cci_pmu(c) (container_of(c, struct cci_pmu, pmu))
667 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in pmu_get_event_idx()
685 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in pmu_map_event()
743 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in pmu_read_counter()
759 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in pmu_write_counter()
862 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in hw_perf_event_destroy()
872 static void cci_pmu_enable(struct pmu *pmu) in cci_pmu_enable() argument
874 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); in cci_pmu_enable()
892 static void cci_pmu_disable(struct pmu *pmu) in cci_pmu_disable() argument
894 struct cci_pmu *cci_pmu = to_cci_pmu(pmu); in cci_pmu_disable()
919 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in cci_pmu_start()
953 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in cci_pmu_stop()
976 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in cci_pmu_add()
982 perf_pmu_disable(event->pmu); in cci_pmu_add()
1002 perf_pmu_enable(event->pmu); in cci_pmu_add()
1008 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in cci_pmu_del()
1021 validate_event(struct pmu *cci_pmu, in validate_event()
1033 if (event->pmu != cci_pmu) in validate_event()
1049 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in validate_group()
1060 if (!validate_event(event->pmu, &fake_pmu, leader)) in validate_group()
1064 if (!validate_event(event->pmu, &fake_pmu, sibling)) in validate_group()
1068 if (!validate_event(event->pmu, &fake_pmu, event)) in validate_group()
1122 struct cci_pmu *cci_pmu = to_cci_pmu(event->pmu); in cci_pmu_event_init()
1127 if (event->attr.type != event->pmu->type) in cci_pmu_event_init()
1276 cci_pmu->pmu = (struct pmu) { in cci_pmu_init()
1301 return perf_pmu_register(&cci_pmu->pmu, name, -1); in cci_pmu_init()