Lines Matching refs:thdev
29 #define msc_dev(x) (&(x)->thdev->dev)
104 struct intel_th_device *thdev; member
517 msc->thdev->output.multiblock = msc->mode == MSC_MODE_MULTI; in msc_configure()
518 intel_th_trace_enable(msc->thdev); in msc_configure()
539 intel_th_trace_disable(msc->thdev); in msc_disable()
574 static int intel_th_msc_activate(struct intel_th_device *thdev) in intel_th_msc_activate() argument
576 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate()
596 static void intel_th_msc_deactivate(struct intel_th_device *thdev) in intel_th_msc_deactivate() argument
598 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate()
1037 struct intel_th_device *thdev = file->private_data; in intel_th_msc_open() local
1038 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open()
1453 static int intel_th_msc_probe(struct intel_th_device *thdev) in intel_th_msc_probe() argument
1455 struct device *dev = &thdev->dev; in intel_th_msc_probe()
1461 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_msc_probe()
1473 msc->index = thdev->id; in intel_th_msc_probe()
1475 msc->thdev = thdev; in intel_th_msc_probe()
1487 static void intel_th_msc_remove(struct intel_th_device *thdev) in intel_th_msc_remove() argument
1489 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove()
1492 intel_th_msc_deactivate(thdev); in intel_th_msc_remove()