Lines Matching refs:tb

967 	struct tb *tb = pci_get_drvdata(pdev);  in __nhi_suspend_noirq()  local
968 struct tb_nhi *nhi = tb->nhi; in __nhi_suspend_noirq()
971 ret = tb_domain_suspend_noirq(tb); in __nhi_suspend_noirq()
976 ret = nhi->ops->suspend_noirq(tb->nhi, wakeup); in __nhi_suspend_noirq()
992 struct tb *tb = pci_get_drvdata(pdev); in nhi_freeze_noirq() local
994 return tb_domain_freeze_noirq(tb); in nhi_freeze_noirq()
1000 struct tb *tb = pci_get_drvdata(pdev); in nhi_thaw_noirq() local
1002 return tb_domain_thaw_noirq(tb); in nhi_thaw_noirq()
1047 struct tb *tb = pci_get_drvdata(pdev); in nhi_resume_noirq() local
1048 struct tb_nhi *nhi = tb->nhi; in nhi_resume_noirq()
1064 nhi_enable_int_throttling(tb->nhi); in nhi_resume_noirq()
1067 return tb_domain_resume_noirq(tb); in nhi_resume_noirq()
1073 struct tb *tb = pci_get_drvdata(pdev); in nhi_suspend() local
1075 return tb_domain_suspend(tb); in nhi_suspend()
1081 struct tb *tb = pci_get_drvdata(pdev); in nhi_complete() local
1091 tb_domain_complete(tb); in nhi_complete()
1097 struct tb *tb = pci_get_drvdata(pdev); in nhi_runtime_suspend() local
1098 struct tb_nhi *nhi = tb->nhi; in nhi_runtime_suspend()
1101 ret = tb_domain_runtime_suspend(tb); in nhi_runtime_suspend()
1106 ret = nhi->ops->runtime_suspend(tb->nhi); in nhi_runtime_suspend()
1116 struct tb *tb = pci_get_drvdata(pdev); in nhi_runtime_resume() local
1117 struct tb_nhi *nhi = tb->nhi; in nhi_runtime_resume()
1127 return tb_domain_runtime_resume(tb); in nhi_runtime_resume()
1308 static struct tb *nhi_select_cm(struct tb_nhi *nhi) in nhi_select_cm()
1310 struct tb *tb; in nhi_select_cm() local
1324 tb = icm_probe(nhi); in nhi_select_cm()
1325 if (!tb) in nhi_select_cm()
1326 tb = tb_probe(nhi); in nhi_select_cm()
1328 return tb; in nhi_select_cm()
1335 struct tb *tb; in nhi_probe() local
1395 tb = nhi_select_cm(nhi); in nhi_probe()
1396 if (!tb) in nhi_probe()
1402 res = tb_domain_add(tb, reset); in nhi_probe()
1408 tb_domain_put(tb); in nhi_probe()
1412 pci_set_drvdata(pdev, tb); in nhi_probe()
1426 struct tb *tb = pci_get_drvdata(pdev); in nhi_remove() local
1427 struct tb_nhi *nhi = tb->nhi; in nhi_remove()
1433 tb_domain_remove(tb); in nhi_remove()