Lines Matching defs:thdev
528 * @thdev: GTH device
535 static void intel_th_gth_disable(struct intel_th_device *thdev,
538 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
567 static void intel_th_gth_prepare(struct intel_th_device *thdev,
570 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
584 * @thdev: GTH device
590 static void intel_th_gth_enable(struct intel_th_device *thdev,
593 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
594 struct intel_th *th = to_intel_th(thdev);
619 * @thdev: GTH device
625 static void intel_th_gth_switch(struct intel_th_device *thdev,
628 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
642 dev_dbg(&thdev->dev, "timeout waiting for CTS Trigger\n");
653 * @thdev: GTH device
662 static int intel_th_gth_assign(struct intel_th_device *thdev,
665 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
668 if (thdev->host_mode)
698 * @thdev: GTH device
701 static void intel_th_gth_unassign(struct intel_th_device *thdev,
704 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
708 if (thdev->host_mode)
722 intel_th_gth_set_output(struct intel_th_device *thdev, unsigned int master)
724 struct gth_device *gth = dev_get_drvdata(&thdev->dev);
744 static int intel_th_gth_probe(struct intel_th_device *thdev)
746 struct device *dev = &thdev->dev;
753 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0);
777 if (thdev->host_mode)
785 thdev->host_mode = true;
819 static void intel_th_gth_remove(struct intel_th_device *thdev)
821 struct gth_device *gth = dev_get_drvdata(&thdev->dev);