FreeBSD kernel IXGBE device code
|
Go to the source code of this file.
Macros | |
#define | SEC_PER_DAY (60 * 60 * 24) |
#define | SEC_PER_YEAR (SEC_PER_DAY * 365) |
#define | SEC_PER_LYEAR (SEC_PER_DAY * 366) |
#define | LEAP_YR(y) ((y % 400 == 0) || ((y % 4 == 0) && (y % 100 != 0))) |
#define | SEC_THIS_YEAR(y) (LEAP_YR(y) ? SEC_PER_LYEAR : SEC_PER_YEAR) |
Functions | |
void | ixgbe_bypass_init (struct ixgbe_softc *) |
#define LEAP_YR | ( | y | ) | ((y % 400 == 0) || ((y % 4 == 0) && (y % 100 != 0))) |
Definition at line 46 of file ixgbe_bypass.h.
#define SEC_PER_DAY (60 * 60 * 24) |
Definition at line 43 of file ixgbe_bypass.h.
#define SEC_PER_LYEAR (SEC_PER_DAY * 366) |
Definition at line 45 of file ixgbe_bypass.h.
#define SEC_PER_YEAR (SEC_PER_DAY * 365) |
Definition at line 44 of file ixgbe_bypass.h.
#define SEC_THIS_YEAR | ( | y | ) | (LEAP_YR(y) ? SEC_PER_LYEAR : SEC_PER_YEAR) |
Definition at line 47 of file ixgbe_bypass.h.
void ixgbe_bypass_init | ( | struct ixgbe_softc * | sc | ) |
Definition at line 714 of file if_bypass.c.
References BYPASS_CTL1_OFFTRST, BYPASS_CTL1_OFFTRST_M, BYPASS_CTL1_TIME_M, BYPASS_CTL1_VALID, BYPASS_CTL1_VALID_M, BYPASS_PAGE_CTL1, ixgbe_mac_operations::bypass_set, ixgbe_softc::dev, ixgbe_softc::feat_cap, ixgbe_softc::feat_en, ixgbe_softc::hw, ixgbe_bp_aux_off(), ixgbe_bp_aux_on(), ixgbe_bp_log(), ixgbe_bp_main_off(), ixgbe_bp_main_on(), ixgbe_bp_set_state(), ixgbe_bp_timeout(), ixgbe_bp_version(), ixgbe_bp_wd_reset(), ixgbe_bp_wd_set(), ixgbe_bypass_mutex_clear(), ixgbe_bypass_mutex_enter(), IXGBE_FEATURE_BYPASS, ixgbe_get_bypass_time(), ixgbe_hw::mac, and ixgbe_mac_info::ops.
Referenced by ixgbe_if_attach_post().