Lines Matching refs:csdev
83 struct coresight_device *csdev; member
134 static int etb_enable(struct coresight_device *csdev, u32 mode) in etb_enable() argument
138 struct etb_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etb_enable()
253 static void etb_disable(struct coresight_device *csdev) in etb_disable() argument
255 struct etb_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etb_disable()
268 static void *etb_alloc_buffer(struct coresight_device *csdev, int cpu, in etb_alloc_buffer() argument
296 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer() argument
318 static unsigned long etb_reset_buffer(struct coresight_device *csdev, in etb_reset_buffer() argument
348 static void etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer() argument
360 struct etb_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etb_update_buffer()
693 drvdata->csdev = coresight_register(&desc); in etb_probe()
694 if (IS_ERR(drvdata->csdev)) in etb_probe()
695 return PTR_ERR(drvdata->csdev); in etb_probe()
707 coresight_unregister(drvdata->csdev); in etb_probe()