Lines Matching refs:thdev

31 #define msc_dev(x) (&(x)->thdev->dev)
132 struct intel_th_device *thdev; member
802 msc->thdev->output.multiblock = msc->mode == MSC_MODE_MULTI; in msc_configure()
803 intel_th_trace_enable(msc->thdev); in msc_configure()
832 intel_th_trace_disable(msc->thdev); in msc_disable()
868 static int intel_th_msc_activate(struct intel_th_device *thdev) in intel_th_msc_activate() argument
870 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate()
890 static void intel_th_msc_deactivate(struct intel_th_device *thdev) in intel_th_msc_deactivate() argument
892 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate()
1468 struct intel_th_device *thdev = file->private_data; in intel_th_msc_open() local
1469 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open()
1683 static void intel_th_msc_wait_empty(struct intel_th_device *thdev) in intel_th_msc_wait_empty() argument
1685 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty()
1732 intel_th_trace_switch(msc->thdev); in msc_win_switch()
1766 intel_th_msc_deactivate(msc->thdev); in msc_work()
1769 static irqreturn_t intel_th_msc_interrupt(struct intel_th_device *thdev) in intel_th_msc_interrupt() argument
1771 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt()
2133 static int intel_th_msc_probe(struct intel_th_device *thdev) in intel_th_msc_probe() argument
2135 struct device *dev = &thdev->dev; in intel_th_msc_probe()
2141 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_msc_probe()
2153 res = intel_th_device_get_resource(thdev, IORESOURCE_IRQ, 1); in intel_th_msc_probe()
2157 if (INTEL_TH_CAP(to_intel_th(thdev), multi_is_broken)) in intel_th_msc_probe()
2160 msc->index = thdev->id; in intel_th_msc_probe()
2162 msc->thdev = thdev; in intel_th_msc_probe()
2176 static void intel_th_msc_remove(struct intel_th_device *thdev) in intel_th_msc_remove() argument
2178 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove()
2181 intel_th_msc_deactivate(thdev); in intel_th_msc_remove()