Lines Matching refs:swap_val
7627 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
7633 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_get_gpio_port()
7635 return gpio_port ^ (swap_val && swap_override); in bnx2x_get_gpio_port()
8974 u32 swap_val, swap_override; in bnx2x_8727_hw_reset() local
8981 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8727_hw_reset()
8983 port = (swap_val && swap_override) ^ 1; in bnx2x_8727_hw_reset()
12270 u32 swap_val, swap_override; in bnx2x_8073_common_init_phy() local
12271 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8073_common_init_phy()
12273 port ^= (swap_val && swap_override); in bnx2x_8073_common_init_phy()
12487 u32 swap_val, swap_override; in bnx2x_8727_common_init_phy() local
12491 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8727_common_init_phy()
12505 port ^= (swap_val && swap_override); in bnx2x_8727_common_init_phy()
12975 u32 offset, aeu_mask, swap_val, swap_override, sync_offset; in bnx2x_init_mod_abs_int() local
13007 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_init_mod_abs_int()
13009 gpio_port ^= (swap_val && swap_override); in bnx2x_init_mod_abs_int()