Lines Matching refs:thdev

468 static void intel_th_gth_disable(struct intel_th_device *thdev,  in intel_th_gth_disable()  argument
471 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_disable()
499 dev_dbg(&thdev->dev, "timeout waiting for GTH[%d] PLE\n", in intel_th_gth_disable()
524 static void intel_th_gth_enable(struct intel_th_device *thdev, in intel_th_gth_enable() argument
527 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_enable()
528 struct intel_th *th = to_intel_th(thdev); in intel_th_gth_enable()
566 static int intel_th_gth_assign(struct intel_th_device *thdev, in intel_th_gth_assign() argument
569 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_assign()
572 if (thdev->host_mode) in intel_th_gth_assign()
605 static void intel_th_gth_unassign(struct intel_th_device *thdev, in intel_th_gth_unassign() argument
608 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_unassign()
611 if (thdev->host_mode) in intel_th_gth_unassign()
622 intel_th_gth_set_output(struct intel_th_device *thdev, unsigned int master) in intel_th_gth_set_output() argument
624 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_set_output()
644 static int intel_th_gth_probe(struct intel_th_device *thdev) in intel_th_gth_probe() argument
646 struct device *dev = &thdev->dev; in intel_th_gth_probe()
653 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_gth_probe()
677 if (thdev->host_mode) in intel_th_gth_probe()
685 thdev->host_mode = true; in intel_th_gth_probe()
719 static void intel_th_gth_remove(struct intel_th_device *thdev) in intel_th_gth_remove() argument
721 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_remove()