Lines Matching refs:csdev
133 struct coresight_device *csdev; member
193 static int stm_enable(struct coresight_device *csdev, in stm_enable() argument
197 struct stm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in stm_enable()
256 static void stm_disable(struct coresight_device *csdev, in stm_disable() argument
259 struct stm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in stm_disable()
281 static int stm_trace_id(struct coresight_device *csdev) in stm_trace_id() argument
283 struct stm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in stm_trace_id()
339 if (!drvdata || !drvdata->csdev) in stm_generic_link()
342 return coresight_enable(drvdata->csdev); in stm_generic_link()
350 if (!drvdata || !drvdata->csdev) in stm_generic_unlink()
353 coresight_disable(drvdata->csdev); in stm_generic_unlink()
869 drvdata->csdev = coresight_register(&desc); in stm_probe()
870 if (IS_ERR(drvdata->csdev)) { in stm_probe()
871 ret = PTR_ERR(drvdata->csdev); in stm_probe()