Lines Matching full:th
31 static int intel_th_pci_activate(struct intel_th *th) in intel_th_pci_activate() argument
33 struct pci_dev *pdev = to_pci_dev(th->dev); in intel_th_pci_activate()
37 if (!INTEL_TH_CAP(th, tscu_enable)) in intel_th_pci_activate()
52 static void intel_th_pci_deactivate(struct intel_th *th) in intel_th_pci_deactivate() argument
54 struct pci_dev *pdev = to_pci_dev(th->dev); in intel_th_pci_deactivate()
58 if (!INTEL_TH_CAP(th, tscu_enable)) in intel_th_pci_deactivate()
80 struct intel_th *th; in intel_th_pci_probe() local
102 th = intel_th_alloc(&pdev->dev, drvdata, resource, r); in intel_th_pci_probe()
103 if (IS_ERR(th)) { in intel_th_pci_probe()
104 err = PTR_ERR(th); in intel_th_pci_probe()
108 th->activate = intel_th_pci_activate; in intel_th_pci_probe()
109 th->deactivate = intel_th_pci_deactivate; in intel_th_pci_probe()
122 struct intel_th *th = pci_get_drvdata(pdev); in intel_th_pci_remove() local
124 intel_th_free(th); in intel_th_pci_remove()