Lines Matching refs:swap_override
7772 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
7779 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_get_gpio_port()
7780 return gpio_port ^ (swap_val && swap_override); in bnx2x_get_gpio_port()
9225 u32 swap_val, swap_override; in bnx2x_8727_hw_reset() local
9232 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8727_hw_reset()
9233 port = (swap_val && swap_override) ^ 1; in bnx2x_8727_hw_reset()
13204 u32 swap_val, swap_override; in bnx2x_8073_common_init_phy() local
13206 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8073_common_init_phy()
13207 port ^= (swap_val && swap_override); in bnx2x_8073_common_init_phy()
13421 u32 swap_val, swap_override; in bnx2x_8727_common_init_phy() local
13426 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8727_common_init_phy()
13438 port ^= (swap_val && swap_override); in bnx2x_8727_common_init_phy()
14016 u32 offset, aeu_mask, swap_val, swap_override, sync_offset; in bnx2x_init_mod_abs_int() local
14049 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_init_mod_abs_int()
14050 gpio_port ^= (swap_val && swap_override); in bnx2x_init_mod_abs_int()