Lines Matching refs:bypass
44 * Mutex support for the bypass feature. Using a dual lock
51 while (atomic_cas_uint(&sc->bypass.low, 0, 1) != 0)
53 while (atomic_cas_uint(&sc->bypass.high, 0, 1) != 0)
64 while (atomic_cas_uint(&sc->bypass.high, 1, 0) != 1)
66 while (atomic_cas_uint(&sc->bypass.low, 1, 0) != 1)
79 while (atomic_cas_uint(&sc->bypass.high, 0, 1) != 0)
90 while (atomic_cas_uint(&sc->bypass.high, 1, 0) != 1)
152 * Show/Set the Bypass State:
154 * 2 = BYPASS
212 * 2 - go to Bypass operation
568 * ixgbe_bp_log - Display the bypass log
591 while (atomic_cas_uint(&sc->bypass.log, 0, 1) != 0)
672 const char *action_str[] = {"ignore", "normal", "bypass",
719 while (atomic_cas_uint(&sc->bypass.log, 1, 0) != 1)
726 while (atomic_cas_uint(&sc->bypass.log, 1, 0) != 1)
732 * ixgbe_bypass_init - Set up infrastructure for the bypass feature
735 * only enabled for the first port of a bypass adapter.
774 * `sysctl dev.ix.0.bypass` will not show the log.
777 CTLTYPE_INT, "bypass_log", SYSCTL_DESCR("Bypass Log"),
780 /* All other setting are hung from the 'bypass' node */
782 CTLTYPE_NODE, "bypass", SYSCTL_DESCR("Bypass"),
786 CTLTYPE_INT, "version", SYSCTL_DESCR("Bypass Version"),
790 CTLTYPE_INT, "state", SYSCTL_DESCR("Bypass State"),
794 CTLTYPE_INT, "timeout", SYSCTL_DESCR("Bypass Timeout"),
798 CTLTYPE_INT, "main_on", SYSCTL_DESCR("Bypass Main On"),
802 CTLTYPE_INT, "main_off", SYSCTL_DESCR("Bypass Main Off"),
806 CTLTYPE_INT, "aux_on", SYSCTL_DESCR("Bypass Aux On"),
810 CTLTYPE_INT, "aux_off", SYSCTL_DESCR("Bypass Aux Off"),
818 CTLTYPE_INT, "wd_reset", SYSCTL_DESCR("Bypass WD Reset"),