Lines Matching refs:swap_override
4438 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
4445 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_get_gpio_port()
4446 return gpio_port ^ (swap_val && swap_override); in bnx2x_get_gpio_port()
5369 u32 swap_val, swap_override, aeu_gpio_mask, offset; in bnx2x_8726_config_init() local
5454 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8726_config_init()
5459 aeu_gpio_mask = (swap_val && swap_override) ? in bnx2x_8726_config_init()
5464 aeu_gpio_mask = (swap_val && swap_override) ? in bnx2x_8726_config_init()
5539 u32 swap_val, swap_override; in bnx2x_8727_hw_reset() local
5547 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8727_hw_reset()
5548 port = (swap_val && swap_override) ^ 1; in bnx2x_8727_hw_reset()
7822 u32 swap_val, swap_override; in bnx2x_8073_common_init_phy() local
7824 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8073_common_init_phy()
7825 port ^= (swap_val && swap_override); in bnx2x_8073_common_init_phy()
8038 u32 swap_val, swap_override; in bnx2x_8727_common_init_phy() local
8043 swap_override = REG_RD(bp, NIG_REG_STRAP_OVERRIDE); in bnx2x_8727_common_init_phy()
8056 port ^= (swap_val && swap_override); in bnx2x_8727_common_init_phy()