Lines Matching refs:tb
959 struct tb *tb = pci_get_drvdata(pdev); in __nhi_suspend_noirq() local
960 struct tb_nhi *nhi = tb->nhi; in __nhi_suspend_noirq()
963 ret = tb_domain_suspend_noirq(tb); in __nhi_suspend_noirq()
968 ret = nhi->ops->suspend_noirq(tb->nhi, wakeup); in __nhi_suspend_noirq()
984 struct tb *tb = pci_get_drvdata(pdev); in nhi_freeze_noirq() local
986 return tb_domain_freeze_noirq(tb); in nhi_freeze_noirq()
992 struct tb *tb = pci_get_drvdata(pdev); in nhi_thaw_noirq() local
994 return tb_domain_thaw_noirq(tb); in nhi_thaw_noirq()
1039 struct tb *tb = pci_get_drvdata(pdev); in nhi_resume_noirq() local
1040 struct tb_nhi *nhi = tb->nhi; in nhi_resume_noirq()
1056 nhi_enable_int_throttling(tb->nhi); in nhi_resume_noirq()
1059 return tb_domain_resume_noirq(tb); in nhi_resume_noirq()
1065 struct tb *tb = pci_get_drvdata(pdev); in nhi_suspend() local
1067 return tb_domain_suspend(tb); in nhi_suspend()
1073 struct tb *tb = pci_get_drvdata(pdev); in nhi_complete() local
1083 tb_domain_complete(tb); in nhi_complete()
1089 struct tb *tb = pci_get_drvdata(pdev); in nhi_runtime_suspend() local
1090 struct tb_nhi *nhi = tb->nhi; in nhi_runtime_suspend()
1093 ret = tb_domain_runtime_suspend(tb); in nhi_runtime_suspend()
1098 ret = nhi->ops->runtime_suspend(tb->nhi); in nhi_runtime_suspend()
1108 struct tb *tb = pci_get_drvdata(pdev); in nhi_runtime_resume() local
1109 struct tb_nhi *nhi = tb->nhi; in nhi_runtime_resume()
1119 return tb_domain_runtime_resume(tb); in nhi_runtime_resume()
1227 static struct tb *nhi_select_cm(struct tb_nhi *nhi) in nhi_select_cm()
1229 struct tb *tb; in nhi_select_cm() local
1243 tb = icm_probe(nhi); in nhi_select_cm()
1244 if (!tb) in nhi_select_cm()
1245 tb = tb_probe(nhi); in nhi_select_cm()
1247 return tb; in nhi_select_cm()
1253 struct tb *tb; in nhi_probe() local
1317 tb = nhi_select_cm(nhi); in nhi_probe()
1318 if (!tb) { in nhi_probe()
1326 res = tb_domain_add(tb); in nhi_probe()
1332 tb_domain_put(tb); in nhi_probe()
1336 pci_set_drvdata(pdev, tb); in nhi_probe()
1350 struct tb *tb = pci_get_drvdata(pdev); in nhi_remove() local
1351 struct tb_nhi *nhi = tb->nhi; in nhi_remove()
1357 tb_domain_remove(tb); in nhi_remove()