Lines Matching refs:csdev
48 struct coresight_device *csdev; member
57 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_enable_hw() local
64 rc = coresight_claim_device_unlocked(csdev); in dynamic_funnel_enable_hw()
79 static int funnel_enable(struct coresight_device *csdev, in funnel_enable() argument
84 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_enable()
100 dev_dbg(&csdev->dev, "FUNNEL inport %d enabled\n", in funnel_enable()
109 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_disable_hw() local
119 coresight_disclaim_device_unlocked(csdev); in dynamic_funnel_disable_hw()
124 static void funnel_disable(struct coresight_device *csdev, in funnel_disable() argument
128 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_disable()
141 dev_dbg(&csdev->dev, "FUNNEL inport %d disabled\n", in funnel_disable()
276 drvdata->csdev = coresight_register(&desc); in funnel_probe()
277 if (IS_ERR(drvdata->csdev)) { in funnel_probe()
278 ret = PTR_ERR(drvdata->csdev); in funnel_probe()
296 coresight_unregister(drvdata->csdev); in funnel_remove()