Lines Matching refs:cm_ops
140 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show()
221 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store()
250 deauthorization = !!tb->cm_ops->disapprove_switch; in deauthorization_show()
299 tb->cm_ops->get_boot_acl && in domain_attr_is_visible()
300 tb->cm_ops->set_boot_acl) in domain_attr_is_visible()
347 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb()
360 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb()
446 if (WARN_ON(!tb->cm_ops)) in tb_domain_add()
456 if (tb->cm_ops->driver_ready) { in tb_domain_add()
457 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add()
470 if (tb->cm_ops->start) { in tb_domain_add()
471 ret = tb->cm_ops->start(tb); in tb_domain_add()
509 if (tb->cm_ops->stop) in tb_domain_remove()
510 tb->cm_ops->stop(tb); in tb_domain_remove()
535 if (tb->cm_ops->suspend_noirq) in tb_domain_suspend_noirq()
536 ret = tb->cm_ops->suspend_noirq(tb); in tb_domain_suspend_noirq()
557 if (tb->cm_ops->resume_noirq) in tb_domain_resume_noirq()
558 ret = tb->cm_ops->resume_noirq(tb); in tb_domain_resume_noirq()
566 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0; in tb_domain_suspend()
574 if (tb->cm_ops->freeze_noirq) in tb_domain_freeze_noirq()
575 ret = tb->cm_ops->freeze_noirq(tb); in tb_domain_freeze_noirq()
589 if (tb->cm_ops->thaw_noirq) in tb_domain_thaw_noirq()
590 ret = tb->cm_ops->thaw_noirq(tb); in tb_domain_thaw_noirq()
598 if (tb->cm_ops->complete) in tb_domain_complete()
599 tb->cm_ops->complete(tb); in tb_domain_complete()
604 if (tb->cm_ops->runtime_suspend) { in tb_domain_runtime_suspend()
605 int ret = tb->cm_ops->runtime_suspend(tb); in tb_domain_runtime_suspend()
616 if (tb->cm_ops->runtime_resume) { in tb_domain_runtime_resume()
617 int ret = tb->cm_ops->runtime_resume(tb); in tb_domain_runtime_resume()
635 if (!tb->cm_ops->disapprove_switch) in tb_domain_disapprove_switch()
638 return tb->cm_ops->disapprove_switch(tb, sw); in tb_domain_disapprove_switch()
654 if (!tb->cm_ops->approve_switch) in tb_domain_approve_switch()
662 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch()
681 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key) in tb_domain_approve_switch_key()
689 ret = tb->cm_ops->add_switch_key(tb, sw); in tb_domain_approve_switch_key()
693 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch_key()
718 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key) in tb_domain_challenge_switch_key()
727 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
762 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_challenge_switch_key()
783 if (!tb->cm_ops->disconnect_pcie_paths) in tb_domain_disconnect_pcie_paths()
786 return tb->cm_ops->disconnect_pcie_paths(tb); in tb_domain_disconnect_pcie_paths()
809 if (!tb->cm_ops->approve_xdomain_paths) in tb_domain_approve_xdomain_paths()
812 return tb->cm_ops->approve_xdomain_paths(tb, xd, transmit_path, in tb_domain_approve_xdomain_paths()
836 if (!tb->cm_ops->disconnect_xdomain_paths) in tb_domain_disconnect_xdomain_paths()
839 return tb->cm_ops->disconnect_xdomain_paths(tb, xd, transmit_path, in tb_domain_disconnect_xdomain_paths()