Lines Matching refs:swap_override
7786 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
7793 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_get_gpio_port()
7794 return gpio_port ^ (swap_val && swap_override); in bnx2x_get_gpio_port()
9239 u32 swap_val, swap_override; in bnx2x_8727_hw_reset() local
9246 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8727_hw_reset()
9247 port = (swap_val && swap_override) ^ 1; in bnx2x_8727_hw_reset()
13075 u32 swap_val, swap_override; in bnx2x_8073_common_init_phy() local
13077 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8073_common_init_phy()
13078 port ^= (swap_val && swap_override); in bnx2x_8073_common_init_phy()
13292 u32 swap_val, swap_override; in bnx2x_8727_common_init_phy() local
13297 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8727_common_init_phy()
13309 port ^= (swap_val && swap_override); in bnx2x_8727_common_init_phy()
13885 u32 offset, aeu_mask, swap_val, swap_override, sync_offset; in bnx2x_init_mod_abs_int() local
13918 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_init_mod_abs_int()
13919 gpio_port ^= (swap_val && swap_override); in bnx2x_init_mod_abs_int()