Lines Matching refs:cm_ops

142 	ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl);  in boot_acl_show()
223 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store()
269 tb->cm_ops->get_boot_acl && in domain_attr_is_visible()
270 tb->cm_ops->set_boot_acl) in domain_attr_is_visible()
375 if (!tb->cm_ops->handle_event) { in tb_domain_event_cb()
386 tb->cm_ops->handle_event(tb, type, buf, size); in tb_domain_event_cb()
407 if (WARN_ON(!tb->cm_ops)) in tb_domain_add()
424 if (tb->cm_ops->driver_ready) { in tb_domain_add()
425 ret = tb->cm_ops->driver_ready(tb); in tb_domain_add()
435 if (tb->cm_ops->start) { in tb_domain_add()
436 ret = tb->cm_ops->start(tb); in tb_domain_add()
473 if (tb->cm_ops->stop) in tb_domain_remove()
474 tb->cm_ops->stop(tb); in tb_domain_remove()
499 if (tb->cm_ops->suspend_noirq) in tb_domain_suspend_noirq()
500 ret = tb->cm_ops->suspend_noirq(tb); in tb_domain_suspend_noirq()
521 if (tb->cm_ops->resume_noirq) in tb_domain_resume_noirq()
522 ret = tb->cm_ops->resume_noirq(tb); in tb_domain_resume_noirq()
530 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0; in tb_domain_suspend()
535 if (tb->cm_ops->complete) in tb_domain_complete()
536 tb->cm_ops->complete(tb); in tb_domain_complete()
541 if (tb->cm_ops->runtime_suspend) { in tb_domain_runtime_suspend()
542 int ret = tb->cm_ops->runtime_suspend(tb); in tb_domain_runtime_suspend()
553 if (tb->cm_ops->runtime_resume) { in tb_domain_runtime_resume()
554 int ret = tb->cm_ops->runtime_resume(tb); in tb_domain_runtime_resume()
574 if (!tb->cm_ops->approve_switch) in tb_domain_approve_switch()
582 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch()
601 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key) in tb_domain_approve_switch_key()
609 ret = tb->cm_ops->add_switch_key(tb, sw); in tb_domain_approve_switch_key()
613 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_approve_switch_key()
638 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key) in tb_domain_challenge_switch_key()
647 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response); in tb_domain_challenge_switch_key()
683 return tb->cm_ops->approve_switch(tb, sw); in tb_domain_challenge_switch_key()
704 if (!tb->cm_ops->disconnect_pcie_paths) in tb_domain_disconnect_pcie_paths()
707 return tb->cm_ops->disconnect_pcie_paths(tb); in tb_domain_disconnect_pcie_paths()
724 if (!tb->cm_ops->approve_xdomain_paths) in tb_domain_approve_xdomain_paths()
727 return tb->cm_ops->approve_xdomain_paths(tb, xd); in tb_domain_approve_xdomain_paths()
744 if (!tb->cm_ops->disconnect_xdomain_paths) in tb_domain_disconnect_xdomain_paths()
747 return tb->cm_ops->disconnect_xdomain_paths(tb, xd); in tb_domain_disconnect_xdomain_paths()