Lines Matching refs:cm_ops
138 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show()
217 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store()
246 deauthorization = !!tb->cm_ops->disapprove_switch; in deauthorization_show()
291 tb->cm_ops->get_boot_acl && in domain_attr_is_visible()
292 tb->cm_ops->set_boot_acl) in domain_attr_is_visible()
339 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb()
352 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb()
438 if (WARN_ON(!tb->cm_ops)) in tb_domain_add()
448 if (tb->cm_ops->driver_ready) { in tb_domain_add()
449 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add()
462 if (tb->cm_ops->start) { in tb_domain_add()
463 ret = tb->cm_ops->start(tb); in tb_domain_add()
501 if (tb->cm_ops->stop) in tb_domain_remove()
502 tb->cm_ops->stop(tb); in tb_domain_remove()
527 if (tb->cm_ops->suspend_noirq) in tb_domain_suspend_noirq()
528 ret = tb->cm_ops->suspend_noirq(tb); in tb_domain_suspend_noirq()
549 if (tb->cm_ops->resume_noirq) in tb_domain_resume_noirq()
550 ret = tb->cm_ops->resume_noirq(tb); in tb_domain_resume_noirq()
558 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0; in tb_domain_suspend()
566 if (tb->cm_ops->freeze_noirq) in tb_domain_freeze_noirq()
567 ret = tb->cm_ops->freeze_noirq(tb); in tb_domain_freeze_noirq()
581 if (tb->cm_ops->thaw_noirq) in tb_domain_thaw_noirq()
582 ret = tb->cm_ops->thaw_noirq(tb); in tb_domain_thaw_noirq()
590 if (tb->cm_ops->complete) in tb_domain_complete()
591 tb->cm_ops->complete(tb); in tb_domain_complete()
596 if (tb->cm_ops->runtime_suspend) { in tb_domain_runtime_suspend()
597 int ret = tb->cm_ops->runtime_suspend(tb); in tb_domain_runtime_suspend()
608 if (tb->cm_ops->runtime_resume) { in tb_domain_runtime_resume()
609 int ret = tb->cm_ops->runtime_resume(tb); in tb_domain_runtime_resume()
627 if (!tb->cm_ops->disapprove_switch) in tb_domain_disapprove_switch()
630 return tb->cm_ops->disapprove_switch(tb, sw); in tb_domain_disapprove_switch()
646 if (!tb->cm_ops->approve_switch) in tb_domain_approve_switch()
654 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch()
673 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key) in tb_domain_approve_switch_key()
681 ret = tb->cm_ops->add_switch_key(tb, sw); in tb_domain_approve_switch_key()
685 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch_key()
710 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key) in tb_domain_challenge_switch_key()
719 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
754 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_challenge_switch_key()
775 if (!tb->cm_ops->disconnect_pcie_paths) in tb_domain_disconnect_pcie_paths()
778 return tb->cm_ops->disconnect_pcie_paths(tb); in tb_domain_disconnect_pcie_paths()
801 if (!tb->cm_ops->approve_xdomain_paths) in tb_domain_approve_xdomain_paths()
804 return tb->cm_ops->approve_xdomain_paths(tb, xd, transmit_path, in tb_domain_approve_xdomain_paths()
828 if (!tb->cm_ops->disconnect_xdomain_paths) in tb_domain_disconnect_xdomain_paths()
831 return tb->cm_ops->disconnect_xdomain_paths(tb, xd, transmit_path, in tb_domain_disconnect_xdomain_paths()