Lines Matching refs:cm_ops

141 	ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl);
222 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl);
283 tb->cm_ops->get_boot_acl &&
284 tb->cm_ops->set_boot_acl)
332 * managers are expected to call this and then fill in @cm_ops
389 if (!tb->cm_ops->handle_event) {
400 tb->cm_ops->handle_event(tb, type, buf, size);
421 if (WARN_ON(!tb->cm_ops))
438 if (tb->cm_ops->driver_ready) {
439 ret = tb->cm_ops->driver_ready(tb);
449 if (tb->cm_ops->start) {
450 ret = tb->cm_ops->start(tb);
489 if (tb->cm_ops->stop)
490 tb->cm_ops->stop(tb);
515 if (tb->cm_ops->suspend_noirq)
516 ret = tb->cm_ops->suspend_noirq(tb);
537 if (tb->cm_ops->resume_noirq)
538 ret = tb->cm_ops->resume_noirq(tb);
546 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0;
554 if (tb->cm_ops->freeze_noirq)
555 ret = tb->cm_ops->freeze_noirq(tb);
569 if (tb->cm_ops->thaw_noirq)
570 ret = tb->cm_ops->thaw_noirq(tb);
578 if (tb->cm_ops->complete)
579 tb->cm_ops->complete(tb);
584 if (tb->cm_ops->runtime_suspend) {
585 int ret = tb->cm_ops->runtime_suspend(tb);
596 if (tb->cm_ops->runtime_resume) {
597 int ret = tb->cm_ops->runtime_resume(tb);
617 if (!tb->cm_ops->approve_switch)
625 return tb->cm_ops->approve_switch(tb, sw);
644 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key)
652 ret = tb->cm_ops->add_switch_key(tb, sw);
656 return tb->cm_ops->approve_switch(tb, sw);
681 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key)
690 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response);
725 return tb->cm_ops->approve_switch(tb, sw);
746 if (!tb->cm_ops->disconnect_pcie_paths)
749 return tb->cm_ops->disconnect_pcie_paths(tb);
766 if (!tb->cm_ops->approve_xdomain_paths)
769 return tb->cm_ops->approve_xdomain_paths(tb, xd);
786 if (!tb->cm_ops->disconnect_xdomain_paths)
789 return tb->cm_ops->disconnect_xdomain_paths(tb, xd);