Lines Matching refs:swap_val
4438 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
4444 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); 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
5453 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); 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
5546 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); 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
7823 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); 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
8042 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8727_common_init_phy()
8056 port ^= (swap_val && swap_override); in bnx2x_8727_common_init_phy()