Searched refs:pmu_dev (Results 1 – 3 of 3) sorted by relevance
141 struct xgene_pmu_dev *pmu_dev; member697 pmu_dev->max_counters); in get_next_avail_cntr()698 if (cntr == pmu_dev->max_counters) in get_next_avail_cntr()871 pmu_dev->max_counters); in xgene_perf_pmu_enable()1099 xgene_pmu = pmu_dev->parent; in xgene_init_perf()1101 pmu_dev->max_counters = 1; in xgene_init_perf()1106 pmu_dev->pmu = (struct pmu) { in xgene_init_perf()1138 ctx->pmu_dev = pmu; in xgene_pmu_dev_add()1253 _xgene_pmu_isr(irq, ctx->pmu_dev); in xgene_pmu_isr()1258 _xgene_pmu_isr(irq, ctx->pmu_dev); in xgene_pmu_isr()[all …]
94 pmu_dev="/sys/bus/event_source/devices/cs_etm/sinks/$2"97 if ! [ -f $pmu_dev ]; then98 echo "PMU doesn't support $pmu_dev"
732 struct device *pmu_dev = etm_pmu.dev; in etm_perf_symlink() local741 ret = sysfs_create_link(&pmu_dev->kobj, &cs_dev->kobj, entry); in etm_perf_symlink()746 sysfs_remove_link(&pmu_dev->kobj, entry); in etm_perf_symlink()770 struct device *pmu_dev = etm_pmu.dev; in etm_perf_add_symlink_group() local795 ret = sysfs_add_file_to_group(&pmu_dev->kobj, in etm_perf_add_symlink_group()827 struct device *pmu_dev = etm_pmu.dev; in etm_perf_del_symlink_group() local829 sysfs_remove_file_from_group(&pmu_dev->kobj, in etm_perf_del_symlink_group()