Lines Matching refs:thdev
35 #define msc_dev(x) (&(x)->thdev->dev)
110 struct intel_th_device *thdev; member
512 msc->thdev->output.multiblock = msc->mode == MSC_MODE_MULTI; in msc_configure()
513 intel_th_trace_enable(msc->thdev); in msc_configure()
534 intel_th_trace_disable(msc->thdev); in msc_disable()
569 static int intel_th_msc_activate(struct intel_th_device *thdev) in intel_th_msc_activate() argument
571 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate()
592 static void intel_th_msc_deactivate(struct intel_th_device *thdev) in intel_th_msc_deactivate() argument
594 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate()
1030 struct intel_th_device *thdev = file->private_data; in intel_th_msc_open() local
1031 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open()
1448 static int intel_th_msc_probe(struct intel_th_device *thdev) in intel_th_msc_probe() argument
1450 struct device *dev = &thdev->dev; in intel_th_msc_probe()
1456 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_msc_probe()
1468 msc->index = thdev->id; in intel_th_msc_probe()
1470 msc->thdev = thdev; in intel_th_msc_probe()
1486 static void intel_th_msc_remove(struct intel_th_device *thdev) in intel_th_msc_remove() argument
1488 sysfs_remove_group(&thdev->dev.kobj, &msc_output_group); in intel_th_msc_remove()