FreeBSD kernel IXGBE device code
if_bypass.c File Reference
#include "ixgbe.h"
Include dependency graph for if_bypass.c:

Go to the source code of this file.

Functions

static void ixgbe_bypass_mutex_enter (struct ixgbe_softc *sc)
 
static void ixgbe_bypass_mutex_clear (struct ixgbe_softc *sc)
 
static void ixgbe_bypass_wd_mutex_enter (struct ixgbe_softc *sc)
 
static void ixgbe_bypass_wd_mutex_clear (struct ixgbe_softc *sc)
 
static void ixgbe_get_bypass_time (u32 *year, u32 *sec)
 
static int ixgbe_bp_version (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_set_state (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_timeout (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_main_on (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_main_off (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_aux_on (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_aux_off (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_wd_set (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_wd_reset (SYSCTL_HANDLER_ARGS)
 
static int ixgbe_bp_log (SYSCTL_HANDLER_ARGS)
 
void ixgbe_bypass_init (struct ixgbe_softc *sc)
 

Function Documentation

◆ ixgbe_bp_aux_off()

static int ixgbe_bp_aux_off ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_aux_on()

static int ixgbe_bp_aux_on ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_log()

◆ ixgbe_bp_main_off()

static int ixgbe_bp_main_off ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_main_on()

static int ixgbe_bp_main_on ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_set_state()

static int ixgbe_bp_set_state ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_timeout()

static int ixgbe_bp_timeout ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_version()

static int ixgbe_bp_version ( SYSCTL_HANDLER_ARGS  )
static

◆ ixgbe_bp_wd_reset()

◆ ixgbe_bp_wd_set()

◆ ixgbe_bypass_init()

◆ ixgbe_bypass_mutex_clear()

static void ixgbe_bypass_mutex_clear ( struct ixgbe_softc sc)
static

◆ ixgbe_bypass_mutex_enter()

static void ixgbe_bypass_mutex_enter ( struct ixgbe_softc sc)
static

◆ ixgbe_bypass_wd_mutex_clear()

static void ixgbe_bypass_wd_mutex_clear ( struct ixgbe_softc sc)
static

Definition at line 85 of file if_bypass.c.

References ixgbe_softc::bypass, ixgbe_bp_data::high, and usec_delay.

Referenced by ixgbe_bp_wd_reset().

Here is the caller graph for this function:

◆ ixgbe_bypass_wd_mutex_enter()

static void ixgbe_bypass_wd_mutex_enter ( struct ixgbe_softc sc)
static

Definition at line 74 of file if_bypass.c.

References ixgbe_softc::bypass, ixgbe_bp_data::high, and usec_delay.

Referenced by ixgbe_bp_wd_reset().

Here is the caller graph for this function:

◆ ixgbe_get_bypass_time()

static void ixgbe_get_bypass_time ( u32 year,
u32 sec 
)
static

Definition at line 96 of file if_bypass.c.

References SEC_THIS_YEAR.

Referenced by ixgbe_bp_log(), ixgbe_bp_wd_reset(), and ixgbe_bypass_init().

Here is the caller graph for this function: