Lines Matching refs:thdev

31 #define msc_dev(x) (&(x)->thdev->dev)
132 struct intel_th_device *thdev; member
800 msc->thdev->output.multiblock = msc->mode == MSC_MODE_MULTI; in msc_configure()
801 intel_th_trace_enable(msc->thdev); in msc_configure()
830 intel_th_trace_disable(msc->thdev); in msc_disable()
866 static int intel_th_msc_activate(struct intel_th_device *thdev) in intel_th_msc_activate() argument
868 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate()
888 static void intel_th_msc_deactivate(struct intel_th_device *thdev) in intel_th_msc_deactivate() argument
890 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate()
1460 struct intel_th_device *thdev = file->private_data; in intel_th_msc_open() local
1461 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open()
1676 static void intel_th_msc_wait_empty(struct intel_th_device *thdev) in intel_th_msc_wait_empty() argument
1678 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty()
1725 intel_th_trace_switch(msc->thdev); in msc_win_switch()
1759 intel_th_msc_deactivate(msc->thdev); in msc_work()
1762 static irqreturn_t intel_th_msc_interrupt(struct intel_th_device *thdev) in intel_th_msc_interrupt() argument
1764 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt()
2126 static int intel_th_msc_probe(struct intel_th_device *thdev) in intel_th_msc_probe() argument
2128 struct device *dev = &thdev->dev; in intel_th_msc_probe()
2134 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_msc_probe()
2146 res = intel_th_device_get_resource(thdev, IORESOURCE_IRQ, 1); in intel_th_msc_probe()
2150 if (INTEL_TH_CAP(to_intel_th(thdev), multi_is_broken)) in intel_th_msc_probe()
2153 msc->index = thdev->id; in intel_th_msc_probe()
2155 msc->thdev = thdev; in intel_th_msc_probe()
2169 static void intel_th_msc_remove(struct intel_th_device *thdev) in intel_th_msc_remove() argument
2171 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove()
2174 intel_th_msc_deactivate(thdev); in intel_th_msc_remove()