Lines Matching refs:cm_ops

141 	ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl);  in boot_acl_show()
222 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store()
283 tb->cm_ops->get_boot_acl && in domain_attr_is_visible()
284 tb->cm_ops->set_boot_acl) in domain_attr_is_visible()
389 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb()
400 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb()
421 if (WARN_ON(!tb->cm_ops)) in tb_domain_add()
438 if (tb->cm_ops->driver_ready) { in tb_domain_add()
439 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add()
449 if (tb->cm_ops->start) { in tb_domain_add()
450 ret = tb->cm_ops->start(tb); in tb_domain_add()
489 if (tb->cm_ops->stop) in tb_domain_remove()
490 tb->cm_ops->stop(tb); in tb_domain_remove()
515 if (tb->cm_ops->suspend_noirq) in tb_domain_suspend_noirq()
516 ret = tb->cm_ops->suspend_noirq(tb); in tb_domain_suspend_noirq()
537 if (tb->cm_ops->resume_noirq) in tb_domain_resume_noirq()
538 ret = tb->cm_ops->resume_noirq(tb); in tb_domain_resume_noirq()
546 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0; in tb_domain_suspend()
554 if (tb->cm_ops->freeze_noirq) in tb_domain_freeze_noirq()
555 ret = tb->cm_ops->freeze_noirq(tb); in tb_domain_freeze_noirq()
569 if (tb->cm_ops->thaw_noirq) in tb_domain_thaw_noirq()
570 ret = tb->cm_ops->thaw_noirq(tb); in tb_domain_thaw_noirq()
578 if (tb->cm_ops->complete) in tb_domain_complete()
579 tb->cm_ops->complete(tb); in tb_domain_complete()
584 if (tb->cm_ops->runtime_suspend) { in tb_domain_runtime_suspend()
585 int ret = tb->cm_ops->runtime_suspend(tb); in tb_domain_runtime_suspend()
596 if (tb->cm_ops->runtime_resume) { in tb_domain_runtime_resume()
597 int ret = tb->cm_ops->runtime_resume(tb); in tb_domain_runtime_resume()
617 if (!tb->cm_ops->approve_switch) in tb_domain_approve_switch()
625 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch()
644 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key) in tb_domain_approve_switch_key()
652 ret = tb->cm_ops->add_switch_key(tb, sw); in tb_domain_approve_switch_key()
656 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch_key()
681 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key) in tb_domain_challenge_switch_key()
690 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
725 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_challenge_switch_key()
746 if (!tb->cm_ops->disconnect_pcie_paths) in tb_domain_disconnect_pcie_paths()
749 return tb->cm_ops->disconnect_pcie_paths(tb); in tb_domain_disconnect_pcie_paths()
766 if (!tb->cm_ops->approve_xdomain_paths) in tb_domain_approve_xdomain_paths()
769 return tb->cm_ops->approve_xdomain_paths(tb, xd); in tb_domain_approve_xdomain_paths()
786 if (!tb->cm_ops->disconnect_xdomain_paths) in tb_domain_disconnect_xdomain_paths()
789 return tb->cm_ops->disconnect_xdomain_paths(tb, xd); in tb_domain_disconnect_xdomain_paths()