Lines Matching refs:csdev

66 static int etm4_cpu_id(struct coresight_device *csdev)  in etm4_cpu_id()  argument
68 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_cpu_id()
73 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id() argument
75 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_trace_id()
229 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf() argument
233 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_enable_perf()
251 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs() argument
253 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_enable_sysfs()
278 static int etm4_enable(struct coresight_device *csdev, in etm4_enable() argument
283 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_enable()
293 ret = etm4_enable_sysfs(csdev); in etm4_enable()
296 ret = etm4_enable_perf(csdev, event); in etm4_enable()
336 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf() argument
341 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_disable_perf()
361 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs() argument
363 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_disable_sysfs()
386 static void etm4_disable(struct coresight_device *csdev, in etm4_disable() argument
390 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_disable()
403 etm4_disable_sysfs(csdev); in etm4_disable()
406 etm4_disable_perf(csdev, event); in etm4_disable()
908 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_online_cpu()
1017 drvdata->csdev = coresight_register(&desc); in etm4_probe()
1018 if (IS_ERR(drvdata->csdev)) { in etm4_probe()
1019 ret = PTR_ERR(drvdata->csdev); in etm4_probe()
1023 ret = etm_perf_symlink(drvdata->csdev, true); in etm4_probe()
1025 coresight_unregister(drvdata->csdev); in etm4_probe()
1034 coresight_enable(drvdata->csdev); in etm4_probe()