Lines Matching refs:cm_ops

138 	ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl);
217 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl);
246 deauthorization = !!tb->cm_ops->disapprove_switch;
291 tb->cm_ops->get_boot_acl &&
292 tb->cm_ops->set_boot_acl)
339 if (!tb->cm_ops->handle_event) {
352 tb->cm_ops->handle_event(tb, type, buf, size);
365 * managers are expected to call this and then fill in @cm_ops
438 if (WARN_ON(!tb->cm_ops))
448 if (tb->cm_ops->driver_ready) {
449 ret = tb->cm_ops->driver_ready(tb);
462 if (tb->cm_ops->start) {
463 ret = tb->cm_ops->start(tb);
501 if (tb->cm_ops->stop)
502 tb->cm_ops->stop(tb);
527 if (tb->cm_ops->suspend_noirq)
528 ret = tb->cm_ops->suspend_noirq(tb);
549 if (tb->cm_ops->resume_noirq)
550 ret = tb->cm_ops->resume_noirq(tb);
558 return tb->cm_ops->suspend ? tb->cm_ops->suspend(tb) : 0;
566 if (tb->cm_ops->freeze_noirq)
567 ret = tb->cm_ops->freeze_noirq(tb);
581 if (tb->cm_ops->thaw_noirq)
582 ret = tb->cm_ops->thaw_noirq(tb);
590 if (tb->cm_ops->complete)
591 tb->cm_ops->complete(tb);
596 if (tb->cm_ops->runtime_suspend) {
597 int ret = tb->cm_ops->runtime_suspend(tb);
608 if (tb->cm_ops->runtime_resume) {
609 int ret = tb->cm_ops->runtime_resume(tb);
627 if (!tb->cm_ops->disapprove_switch)
630 return tb->cm_ops->disapprove_switch(tb, sw);
646 if (!tb->cm_ops->approve_switch)
654 return tb->cm_ops->approve_switch(tb, sw);
673 if (!tb->cm_ops->approve_switch || !tb->cm_ops->add_switch_key)
681 ret = tb->cm_ops->add_switch_key(tb, sw);
685 return tb->cm_ops->approve_switch(tb, sw);
710 if (!tb->cm_ops->approve_switch || !tb->cm_ops->challenge_switch_key)
719 ret = tb->cm_ops->challenge_switch_key(tb, sw, challenge, response);
754 return tb->cm_ops->approve_switch(tb, sw);
775 if (!tb->cm_ops->disconnect_pcie_paths)
778 return tb->cm_ops->disconnect_pcie_paths(tb);
801 if (!tb->cm_ops->approve_xdomain_paths)
804 return tb->cm_ops->approve_xdomain_paths(tb, xd, transmit_path,
828 if (!tb->cm_ops->disconnect_xdomain_paths)
831 return tb->cm_ops->disconnect_xdomain_paths(tb, xd, transmit_path,