Lines Matching refs:cm_ops

139 	ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl);  in boot_acl_show()
218 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store()
247 deauthorization = !!tb->cm_ops->disapprove_switch; in deauthorization_show()
292 tb->cm_ops->get_boot_acl && in domain_attr_is_visible()
293 tb->cm_ops->set_boot_acl) in domain_attr_is_visible()
340 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb()
353 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb()
440 if (WARN_ON(!tb->cm_ops)) in tb_domain_add()
450 if (tb->cm_ops->driver_ready) { in tb_domain_add()
451 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add()
464 if (tb->cm_ops->start) { in tb_domain_add()
465 ret = tb->cm_ops->start(tb, reset); in tb_domain_add()
503 if (tb->cm_ops->stop) in tb_domain_remove()
504 tb->cm_ops->stop(tb); in tb_domain_remove()
511 if (tb->cm_ops->deinit) in tb_domain_remove()
512 tb->cm_ops->deinit(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()
559 if (tb->cm_ops->resume_noirq) in tb_domain_resume_noirq()
560 ret = tb->cm_ops->resume_noirq(tb); in tb_domain_resume_noirq()
568 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0; in tb_domain_suspend()
576 if (tb->cm_ops->freeze_noirq) in tb_domain_freeze_noirq()
577 ret = tb->cm_ops->freeze_noirq(tb); in tb_domain_freeze_noirq()
591 if (tb->cm_ops->thaw_noirq) in tb_domain_thaw_noirq()
592 ret = tb->cm_ops->thaw_noirq(tb); in tb_domain_thaw_noirq()
600 if (tb->cm_ops->complete) in tb_domain_complete()
601 tb->cm_ops->complete(tb); in tb_domain_complete()
606 if (tb->cm_ops->runtime_suspend) { in tb_domain_runtime_suspend()
607 int ret = tb->cm_ops->runtime_suspend(tb); in tb_domain_runtime_suspend()
618 if (tb->cm_ops->runtime_resume) { in tb_domain_runtime_resume()
619 int ret = tb->cm_ops->runtime_resume(tb); in tb_domain_runtime_resume()
637 if (!tb->cm_ops->disapprove_switch) in tb_domain_disapprove_switch()
640 return tb->cm_ops->disapprove_switch(tb, sw); in tb_domain_disapprove_switch()
658 if (!tb->cm_ops->approve_switch) in tb_domain_approve_switch()
666 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch()
685 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key) in tb_domain_approve_switch_key()
693 ret = tb->cm_ops->add_switch_key(tb, sw); in tb_domain_approve_switch_key()
697 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch_key()
720 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key) in tb_domain_challenge_switch_key()
729 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
741 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_challenge_switch_key()
755 if (!tb->cm_ops->disconnect_pcie_paths) in tb_domain_disconnect_pcie_paths()
758 return tb->cm_ops->disconnect_pcie_paths(tb); in tb_domain_disconnect_pcie_paths()
783 if (!tb->cm_ops->approve_xdomain_paths) in tb_domain_approve_xdomain_paths()
786 return tb->cm_ops->approve_xdomain_paths(tb, xd, transmit_path, in tb_domain_approve_xdomain_paths()
812 if (!tb->cm_ops->disconnect_xdomain_paths) in tb_domain_disconnect_xdomain_paths()
815 return tb->cm_ops->disconnect_xdomain_paths(tb, xd, transmit_path, in tb_domain_disconnect_xdomain_paths()