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()
1452 struct intel_th_device *thdev = file->private_data; in intel_th_msc_open() local
1453 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open()
1668 static void intel_th_msc_wait_empty(struct intel_th_device *thdev) in intel_th_msc_wait_empty() argument
1670 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty()
1717 intel_th_trace_switch(msc->thdev); in msc_win_switch()
1751 intel_th_msc_deactivate(msc->thdev); in msc_work()
1754 static irqreturn_t intel_th_msc_interrupt(struct intel_th_device *thdev) in intel_th_msc_interrupt() argument
1756 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt()
2118 static int intel_th_msc_probe(struct intel_th_device *thdev) in intel_th_msc_probe() argument
2120 struct device *dev = &thdev->dev; in intel_th_msc_probe()
2126 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_msc_probe()
2138 res = intel_th_device_get_resource(thdev, IORESOURCE_IRQ, 1); in intel_th_msc_probe()
2142 if (INTEL_TH_CAP(to_intel_th(thdev), multi_is_broken)) in intel_th_msc_probe()
2145 msc->index = thdev->id; in intel_th_msc_probe()
2147 msc->thdev = thdev; in intel_th_msc_probe()
2161 static void intel_th_msc_remove(struct intel_th_device *thdev) in intel_th_msc_remove() argument
2163 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove()
2166 intel_th_msc_deactivate(thdev); in intel_th_msc_remove()